Commit graph

4344 commits

Author SHA1 Message Date
iobyte
5b10d5c771 trackgen: check type before casting
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8497 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6e6aa61eb3fb338ebc90a9ca27ea0fdabd8e6752
Former-commit-id: 266e477c0a280f0f6c02de3d632113397546086a
2022-09-12 18:49:10 +00:00
iobyte
966d295429 trackgen: make global variable GroupRoot local
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8496 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 653fb615656e65a3da03d4dda8abc36762a43a85
Former-commit-id: 7c604688871e2e23cdad12eb54118acefbea2e33
2022-09-12 17:59:20 +00:00
iobyte
fb1b6f9fa0 trackgen: make global variable Root local
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8495 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f21c3d4bb0b45ed3bd8ca453daaf64f73c25fc12
Former-commit-id: b3385e60b86098e09b3728398ee55b11f2af56f9
2022-09-12 17:25:20 +00:00
iobyte
931e0d2632 trackgen: close output file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8494 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 929bbf264cdcb3754953be5ce3c5e6d633f8770d
Former-commit-id: f46f94dae3f0a25e410b62ef5621fd45e295f395
2022-09-12 17:16:22 +00:00
iobyte
2cb38d2077 trackgen: fix object name and leak
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8493 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8837dfd91c98a15ad9977876c63dd97b51b7898b
Former-commit-id: ba0567f3f6023b940f5c8b91b79958c037e61f4e
2022-09-12 16:27:47 +00:00
iobyte
6340a2f608 trackgen: make global variable TrackRoot local
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8492 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f644368b6b03fc7f40fd3e4309bd327546ea20bb
Former-commit-id: dd4277417276626651889c308a7a5c99c9a4bb2a
2022-09-12 15:07:18 +00:00
iobyte
45a53ebded trackgen: use ssg search path when needed
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8491 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 37d911ef90e3aab82ea195de35861c32eb10ff35
Former-commit-id: bbdccaa41d791478f03c073692c6b66a6d07d80f
2022-09-12 15:00:37 +00:00
iobyte
b89f932996 trackeditor: check for duplicate object colors
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8490 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f1fe6ed4078f7757bbe43d902702efc3db8002af
Former-commit-id: 9f0ae30e0cb4cd659a7a8deb93106f42c9b85e59
2022-09-11 21:29:10 +00:00
iobyte
ea179b7bd3 trackeditor: add environment map check
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8489 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e4a9c25f9e874b47eaae06da2fa7632825613bdd
Former-commit-id: 534fe3091cf00fa5f25f9753e98a9d69b38b05a8
2022-09-11 16:08:37 +00:00
iobyte
59269eddc6 trackeditor: check terrain generation elevation file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8488 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7b3dd563cd452cbcaf721a076af18fcd00de9fc8
Former-commit-id: df79b68d82444d0ca1d7e171a6a8f5abfd28afa9
2022-09-10 23:35:11 +00:00
iobyte
2662f0b618 trackeditor: check if terrain generation relief file is valid
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8487 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 50646ed7de09b5accebae9ec49e117965c3250e6
Former-commit-id: feebf5b537584e134b328cd23b3dbfd35d055993
2022-09-10 20:13:59 +00:00
iobyte
0ba49f52f6 trackeditor: handle alternate side banking style used by some TORCS tracks
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8486 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2d1186ff821ec5b7d200799c4198217d731e8cdb
Former-commit-id: 4db5ccf12803bf0dcf7579147cabb2fca45df7b0
2022-09-10 19:22:30 +00:00
iobyte
155c0cbd50 trackeditor: handle alternate pit style used by some TORCS tracks
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8485 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1439ca3d6d0d780032d74e095032d289322a5e5a
Former-commit-id: 0ac1ab49ed596446aff55ffded0f7b71dda0dd05
2022-09-10 18:57:56 +00:00
iobyte
045eef23de trackeditor: check for missing terrain generation relief file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8484 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7549343f8ccaa6589191fe76c5341e9a60d60084
Former-commit-id: dbf48f0ba98a76787fa5e8fd6f81555c3e635055
2022-09-10 18:42:09 +00:00
iobyte
8eb900d612 trackeditor: fix import export differences from degree to radian to degree conversions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8483 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 52624b6a4606ce6a6196b3c9a23de42c7af42d1b
Former-commit-id: 22bb8d638d8dc60764516707c030ae7b77f352de
2022-09-10 18:10:23 +00:00
iobyte
b65df99736 trackeditor: move checks into CheckDialog
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8481 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ec8014c518d52d4b6ede3985f2fb476b02955d1e
Former-commit-id: 54fb59ca0199c6f814e8bbeae79226fd83812dd7
2022-09-10 02:26:21 +00:00
iobyte
1f7878d3cf trackeditor: check for duplicate object names
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8480 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 03025a4f5412b08f474bcb8cd5140d071685cf54
Former-commit-id: 448193e0388ffe178a4adf4bade123709c370500
2022-09-09 17:49:28 +00:00
iobyte
f8171b282d trackeditor: fix duplicate surface name check
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8479 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a3b1a57a839e8448983ade19e255b0cb6ff702c7
Former-commit-id: 52f23c3013293750e7c7f713c8f73a8a0d49b42c
2022-09-09 17:44:32 +00:00
iobyte
e072c0741c trackeditor: check for duplicate surface names
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8478 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0eda3527cb79cafc20a62472ecb69c519540c0da
Former-commit-id: f561a685f9393ef65166c8d0b84e903d9a3342fd
2022-09-09 17:36:42 +00:00
iobyte
a874729aed trackeditor: check track objects
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8477 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 12b77a09c2201d0bea5097a3408248a9a07013ff
Former-commit-id: 827af8ac83261153f2c11fb283b87e31de996278
2022-09-09 17:16:45 +00:00
iobyte
64017805d4 trackeditor: export elevation map files
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8476 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 999185f1aa7157455028ce377882088ef57736f4
Former-commit-id: 0e2ac52e3a8f738628f692eacfb75b7adc178fd9
2022-09-09 01:19:06 +00:00
iobyte
1a0ecc4132 trackeditor: check more surface textures
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8475 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: abb8302d3beb09febf707d69140f94942e31c694
Former-commit-id: c07a3e9c18c70946d3ee0cc2ac5d3ab57efaa8c4
2022-09-09 00:04:55 +00:00
iobyte
8fa4bc945f trackeditor: remove invalid warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8474 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f482b80b0cd94d4219a6d4380a260760a54e24a0
Former-commit-id: 6cd38b559c17af42cdbdfdb4ed67a1706fc3e0af
2022-09-08 23:08:47 +00:00
iobyte
5ac45ca488 trackeditor: add new files to cmake
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8473 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4f0af73e44a6bfdb16c232f45b23a95ebb54823b
Former-commit-id: 11b7b20597ec0af9bcbe2de6cb813be8cc93bf56
2022-09-08 22:00:35 +00:00
iobyte
3a6689b889 trackeditor: remember last properties dialog tab
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8472 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7a0581a8b1a518c84857a01dbd171f1a5846dc34
Former-commit-id: fe97cb86fc1a379226a3987e8e40e21cd6d82cd9
2022-09-08 17:27:26 +00:00
iobyte
241a4daea1 trackeditor: add properties button
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8471 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bd78a2e58f53891f05c262426ed3b370e1a54db1
Former-commit-id: 6e28cce910a0ba4bcf6a6d739bb13b6aa2ad5d8d
2022-09-08 16:59:50 +00:00
iobyte
fdfdfcc705 trackeditor: improve tooltip loading speed with hash map
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8470 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e4bff82734a75bc8af587d370d7bdcb004ba3c67
Former-commit-id: 9dae945a21cb03b5bae56cc1dd8a66eb8d9bc4af
2022-09-08 16:38:32 +00:00
iobyte
bcec717d40 trackeditor: limit surface texture preview width to 256 pixels
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8469 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fc3a9391151109f54c49b2094d4b789e88c82ba7
Former-commit-id: 0b950df3d78e2c699a893bc0fb3ce7cb6abe9a17
2022-09-08 15:23:14 +00:00
iobyte
8320d522fb trackeditor: fix warning message
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8468 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 81e8d0a7d88da904a8ed8c68512e665accd290b4
Former-commit-id: b695d6f2ea6813e9e297c0dd86e679afb50fcbce
2022-09-08 02:57:04 +00:00
iobyte
9f35d13bb7 trackeditor: add missing quotes to html image url
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8467 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ca1709efedd2fd4bcabd2190a7c1c8370440f0cd
Former-commit-id: 0effe7d7f805414091d92660ef7edc4b9dac6b7b
2022-09-08 02:04:05 +00:00
iobyte
216cda5676 trackeditor: start adding checking
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8466 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e2fcc9abe652b72ee53456e8ab8e001aed9e4e67
Former-commit-id: f5ab38b80caa2952925a2b67667a2228d568f561
2022-09-08 01:13:00 +00:00
iobyte
d68341f5cb trackgen: show segment material in dump file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8463 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d226e937ba03b5162ab8c611cdc4435682db27c9
Former-commit-id: aaeb6cbb919ab033da17c28b7a79e05d33702874
2022-09-06 23:10:44 +00:00
iobyte
f4ed59e038 trackeditor: version 3 Track Lights same as version 4
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8462 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 42b67e49c0300512861abf925839552c6b2439c6
Former-commit-id: b8e8f3c1bd694312f6a0c5969c5dbf7269df6a0d
2022-09-06 21:18:00 +00:00
iobyte
9eef67d992 trackgen: fix crash reading version 3 empty cammera list
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8461 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3a2afd3de2e18e8e629d907e2a30208c15df8573
Former-commit-id: 190d0ec4975e8775d6bc74e21a658d3b132a478b
2022-09-06 21:01:41 +00:00
iobyte
c203d9844e trackeditor: fix version 3 track import and export
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8459 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 78316149b6a12224a3c3b5d73231a427d786a6db
Former-commit-id: 5dc3406f769567cc13c63a904cfaf16504f3e7c3
2022-09-06 15:52:39 +00:00
iobyte
5d031e9d04 trackeditor: fix trackname in 3d description
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8456 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 148cbcfcbdea1492cbce34dabe6cf6d824fd5357
Former-commit-id: a7be4580e9f01bf853b459c3702b27c215c7ff2c
2022-09-06 04:49:55 +00:00
iobyte
b6bf9bac0c trackeditor: fix trackname in comment
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8455 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b2daae9d870e9d822db26e20dc906081f65f15df
Former-commit-id: 1df301c9387f5faa36f030f651bd5a9ac2f7f4dc
2022-09-06 04:27:57 +00:00
iobyte
76c17c2ad2 trackeditor: fix file saving
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8454 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e5bd7f54e182f237678280a59b145cd54e9197af
Former-commit-id: d0808626916a81a546b459d67f37fe06131b7845
2022-09-06 04:15:11 +00:00
iobyte
0aad503a1e trackeditor: set and edit email and copyright
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8453 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: be664fc48edf8789bb9913a0704cea768117d054
Former-commit-id: 329b7931911b2a20bba6c5e1ce9c0892951cd2a6
2022-09-06 03:36:49 +00:00
iobyte
0e9554de31 add copyright and email properties to track xml file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8452 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d71243c1321b31a98019d55b286c8471f3d5f154
Former-commit-id: ec1003e30dbeb5abbb2a81b8863bc2f016756842
2022-09-06 03:07:42 +00:00
beaglejoe
163a23b6f2 Fix trackgen build on old compilers
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8451 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 55b0cba678b1c619302e8886414ce2bfb2ac51cd
Former-commit-id: 5e2d4aa9398697cb6c1d858850ed1827b07675bb
2022-09-05 23:05:15 +00:00
iobyte
a51b2b8a62 trackgen: show object model being placed
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8450 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2e909d65697ebc5e93ff4cc8cf5ef8f1f6754804
Former-commit-id: 3fca835e6445cf2f9b78f65a61ac3086eb8e378f
2022-09-04 16:08:21 +00:00
iobyte
a25bde6017 trackeditor: fix delta panel to run sd2-trackgen
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8449 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d62a4b5cfc4e3d01f8b8411689d76bbb3d0f0d2b
Former-commit-id: ddacadc4665e4242af792cd17a6f1e6c1eb5258c
2022-09-02 17:23:27 +00:00
iobyte
513765cefa trackeditor: don't try to calculate deltas when no track is open
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8448 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 48f2f1fd2caaa5ef5a38f07466af236bcf117514
Former-commit-id: 8b7d19c6089c8dce03fc17c9009c3fe6422f68d9
2022-09-01 20:06:45 +00:00
iobyte
e7fdde304b trackeditor: show more trackgen warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8447 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6f6af9cbf89b382a140c23f325038f1c270d8ddd
Former-commit-id: 16b2402e397ce7ecc9c13ef46161ad2a15bc691b
2022-08-31 19:30:14 +00:00
iobyte
22eb33c765 trackgen: reduce struct size by moving member
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8446 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a201fe8df30d84e49123de15f7efe819fdfa432d
Former-commit-id: 2bbc599bf2c0239d33a29dbce14fb16fffd4438c
2022-08-31 18:46:17 +00:00
iobyte
d3315933b0 trackeditor: show trackgen libpng warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8445 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0a4ac41effde0923585b0622764b4837872417c6
Former-commit-id: bc3be119f1b4dfd4a10ffa2b6bb1f599cb3aebed
2022-08-31 17:01:01 +00:00
iobyte
b58754a5e6 trackeditor: show trackgen ssg warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8444 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9918a966173e8f4fe7ce804c79b8f3063da7e5ec
Former-commit-id: c8ab915d98200840600674f295b4a1fb2b0f00c8
2022-08-31 16:50:47 +00:00
iobyte
b280cb5a79 trackeditor: show trackgen errors
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8443 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 18492d49fbd9b50255744c528559cc0c7da512c9
Former-commit-id: d0f7ba9dab22fa439470720fcf1698ec7562c0f6
2022-08-31 16:37:29 +00:00
beaglejoe
06c6182318 Allow finding plib via CMAKE_PREFIX_PATH on Windows
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8442 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d8fb345a9dff5ce6cb87bf7b8bb08ba5d7821502
Former-commit-id: 048934a1ddd753d8ea5d205985e02e0b8c5cb76d
2022-08-31 16:03:35 +00:00