Commit graph

4254 commits

Author SHA1 Message Date
iobyte
86c6335ecc trackgen: use continue to remove one level of indentation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8399 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0e93e480d543a09b055d87cc1c3d064a917bb11c
Former-commit-id: 460a144a29031c7ca8db36ec442a18d74d2d71ea
2022-08-14 22:48:42 +00:00
iobyte
10f3668ac5 trackgen: remove duplicate empty display list
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8398 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 980f1aca15ddf3e730fb13b262c0aea8d50216e1
Former-commit-id: e48dcfd1ecbf811ef35d8cadc19e17a7d02028e0
2022-08-14 22:43:53 +00:00
iobyte
4048951386 trackgen: fence only has one side
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8397 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5316a5b928ff0f238c52919ef0178fa65857b1d9
Former-commit-id: 899824e0740be70900de075aa9e6455b96cfcbbb
2022-08-14 22:36:19 +00:00
iobyte
05f7a3af74 trackgen: fix pit building detection when pits have pit wall
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8396 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 801e01a5fbb84b81ff68751665f629caf4b79fa5
Former-commit-id: 034bb0847417cf5c85abdd182f3aef7144bd0f93
2022-08-14 22:14:01 +00:00
iobyte
59fe11d69d trackgen: simplify finding last side segment
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8395 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1ed2e731d848903affa23c32713676cc8ec06ed0
Former-commit-id: e2970948dae429d6aee8fc4ffdbaa84c4fce3597
2022-08-14 17:30:44 +00:00
iobyte
7b01404379 trackgen: use bool for startNeeded
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8394 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c01612885bbc52b96a4ebc033b43ee2ee4a33760
Former-commit-id: bfb16fa17ab143c6e698f7c64d54494acec9d4ee
2022-08-14 17:19:47 +00:00
iobyte
9788a37e79 trackgen: reformat easymesh.cpp with clang-format -style=Microsoft
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8393 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: aacadd2d28329ed2456cc54f8d13c0fe658c5354
Former-commit-id: d9f50840c0a68bd7c1af3a83c41d1147ec876a35
2022-08-14 17:10:31 +00:00
iobyte
95089e8086 trackgen: add option to dump track segments to a file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8392 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e640b9f69045625308f9f7f6a81fda72fd56b3b6
Former-commit-id: e6a2316cba8b10a47c49ce02610a98cc06d2638d
2022-08-14 16:14:48 +00:00
iobyte
dc85bcc4fb trackgen: fix png loading warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8391 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: efea67b7f20dae11da5dadc2b8ab2e955075cd8e
Former-commit-id: 4de6232abe067992df93bac3a8a26af23ed72b7e
2022-08-13 18:34:37 +00:00
iobyte
94c41848f5 trackgen: fix relief file texture lookup
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8390 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6bbe92eced098aff95f1d8d0ff1648e3dbc80196
Former-commit-id: b4710aff53fded07a256694f3ba078954cc37728
2022-08-11 21:46:43 +00:00
iobyte
7612f9c262 trackgen: fix linux warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8389 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b1e47264a59dbb8d20ab0e804423c5c0867beaba
Former-commit-id: 85206f9a72d8b62099ec8c739c5435909303b616
2022-08-11 17:10:00 +00:00
iobyte
97ad7af4cd trackeditor: add default surface to new track segments
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8388 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8903b6fbbe7b8a90213df6f318462e1214fa1568
Former-commit-id: fd7f1d424f95c0e86f2d56ac1d26506fb863ee0d
2022-08-11 15:21:03 +00:00
iobyte
e7a25fd00e trackgen: fix SSG: OpenGL will not accept a downsized version
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8387 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7150081e24ca17399d14f22f5c8b8fa5207ad940
Former-commit-id: 68625a9c6d1a31fb3fca158473f7c53e38c0a851
2022-08-11 05:37:48 +00:00
iobyte
35e55f88eb reformat rttrack.cpp with clang-format -style=Microsoft
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8386 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 901291e7c3c66911be8fd391e5712c2892fea76e
Former-commit-id: 75ab985b89344bf3daf90cc1869e348422b819ef
2022-08-09 20:11:04 +00:00
iobyte
8c244721da reformat track4.cpp with clang-format -style=Microsoft
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8385 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cdf47c837a5f6f968240771bd459c845addfe6c2
Former-commit-id: 0f938a4e42d40f9aeb5abdf48e2c4aeeb2e34211
2022-08-09 19:59:12 +00:00
iobyte
e879e20442 trackgen: add name and id to side segs for debugging
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8384 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a0cc54cd1339f31eebd702c1bf61636fc924aca1
Former-commit-id: 70d17e8d910ef73c43cb17f9d0acfad6433c4d68
2022-08-09 19:48:29 +00:00
iobyte
1c59c9056a trackgen: allow building track without bridge
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8383 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c36cde153a87c1f40eb8dde16f398315026b94fe
Former-commit-id: 9080fcbb470003c3b46bbe120fc98afc3ed91050
2022-08-09 15:50:44 +00:00
iobyte
925b5d5c6f trackgen: reformat track.cpp with clang-format -style=Microsoft
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8382 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7c01d63f5f76757cd308b3da0a51e4f734b2309e
Former-commit-id: 317d7c820e9e07e5db3da9dd780ed5edd69e43f3
2022-08-09 15:32:35 +00:00
beaglejoe
e40a1269a9 Fix Ticket #883 if OpenAL cannot be initialized, continue with sound disabled
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8381 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 27741413e3c941a8be2b8e86eadba4012a738770
Former-commit-id: 3356e2e8f8ca9a5629ef1d0474c254c401218bed
2022-08-08 19:04:18 +00:00
beaglejoe
840a43de11 Allow in-game volume adjustment
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8380 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 363807df04161764752d59727b256a5ec66cc225
Former-commit-id: 3712cda2133e522063eef6194bff22fc22c3854c
2022-08-08 01:15:06 +00:00
beaglejoe
b0081f6b78 fix segfault on menu sfx disable
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8379 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6701db179293aeabc04cd563cac5a3a541027dff
Former-commit-id: fef6ef8bc4a62211d45ff163a54821d74326afbf
2022-08-07 23:59:44 +00:00
torcs-ng
7f65fb1ebf - removed somes values not used
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8378 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 482325b9d362309e2cd287d7ad7498ad287fd9d6
Former-commit-id: 086ef7499e1ff42aa30e5cbd0374cc9b5b881dfa
2022-08-07 09:26:04 +00:00
iobyte
28618f278b trackeditor: try to use existing pit values when generating pits if available (WIP)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8377 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5b0b41e12f89eb6bab74ef6f7f6d816db4eec340
Former-commit-id: 717d1e1f474ef175759199ade6475edccc904475
2022-08-07 03:19:42 +00:00
iobyte
42f96abafe trackeditor: add support for generating pits with multiple entry and exit segments
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8376 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 319ede4652e47a47af0f31ea6e78724933077081
Former-commit-id: c257050051f0e0b369133d5906278f8e6ddd109c
2022-08-07 00:56:05 +00:00
torcs-ng
59625ed220 - desactivate dynamic shadow if visibility is < 500
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8375 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 61fdfd85eab9f4c99e53e296df31f28f762f8d7a
Former-commit-id: aed3bf834dd1d1f1d01125766ba776a4b3e1f821
2022-08-06 16:48:56 +00:00
torcs-ng
7c50b636c9 - update fog parameter in rain mode
- fix clearcolor with fog color

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8373 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1b45b1e34dcae19083b5495bec69a2b492167487
Former-commit-id: a5f77dd5bd69a3c4a64e8550855f5296c79d3670
2022-08-06 16:42:15 +00:00
beaglejoe
b23ccd21b2 Fixed comments
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8372 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4f1cdb8ee5b89d02e385914d1cf9e02f60e7422b
Former-commit-id: 62d12965181dc5928e407d631a1dfeb1ab844195
2022-08-06 14:24:37 +00:00
beaglejoe
87abb464c7 Fixed overlapping text in the in-race F1 help menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8371 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2776a9c7dcd162e06d2f9dfdc6c7cf26fe3dd4a8
Former-commit-id: d948fcafb26423adce0eb5afb90a180f6233eeab
2022-08-06 03:37:25 +00:00
beaglejoe
e9b4d02ec4 Fix intermittant segfault from Xavi92
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8370 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 11746de6c4c08c4e8dcb6e0b0b17ff7569b76a8c
Former-commit-id: e591b09e1ec5cedc3038790daf2cc741e9c6c278
2022-08-05 14:32:30 +00:00
iobyte
0918200014 trackeditor: show error dialog for trackgen fatal errors
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8369 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e12678f08eea9755f0c0ff40a6e57eda30a03d03
Former-commit-id: 6ae420a62c1c312016ca183d1a419ae866d193d6
2022-08-05 00:12:01 +00:00
iobyte
8a072a8692 trackeditor: add default objects support
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8368 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4e135c0f00917568ec48c6fa6fb6074215747bd1
Former-commit-id: e0efb63155402f64b86be7f89e762112de287021
2022-08-04 23:33:10 +00:00
iobyte
26b3bcf4d4 trackeditor: fix a few surface combo boxes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8367 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 17bd16445ec2a5a1aa65be8f58296038d8900b2b
Former-commit-id: 3ee96841556251fb36d8473a0441536a5769b921
2022-08-04 21:50:15 +00:00
iobyte
f4b4586f9e trackeditor: add texture preview to surface combo boxes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8366 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 066970ce043d9ddd023f392c027283ebe16d8365
Former-commit-id: a2c290c7d5984ee312e385826b57e255c9ba1b6f
2022-08-04 16:39:58 +00:00
iobyte
0d65f3c7d8 trackeditor: add copy/paste of surfaces
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8365 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3dfcc6953ebe1af18b8e8f9cf4d2ab9d483af955
Former-commit-id: be14c0ce836dd6a1560373b5d1b1fc23a604415f
2022-08-04 00:44:27 +00:00
iobyte
f74fae691f trackeditor: add missing file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8364 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3c19f68b21b2e6130e7905bf17c39725ceab7dd5
Former-commit-id: 0cb42bafa5f90ebc58bdf9b2f48668a121d87ead
2022-08-03 22:48:10 +00:00
iobyte
e8fc2c1148 trackeditor: remember default surfaces dialog last position
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8363 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 41e7524b1164fbb9ae95ac2197d25037d4d6c5e8
Former-commit-id: 40ad3b2157eb70f2444b5f2b0ec825103ff619a4
2022-08-03 22:30:55 +00:00
iobyte
95d9b1addf trackeditor: add view default surfaces
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8362 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 845666cffe1ac0a2dad644ad5c08064236996671
Former-commit-id: 50a1fde720a9595344aab122ea3a3b064584d2aa
2022-08-03 21:52:22 +00:00
iobyte
f3329f116f trackeditor: widen properties dialog
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8361 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 29d065cf5bee1e30fae5103dac0a42208ada2696
Former-commit-id: fd5302270645d65db7566a128ca7c22bf8171ad4
2022-08-03 21:22:42 +00:00
iobyte
036fc7124c trackgen: show colors found in object map file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8360 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 620e6823554958c991efce052f35fcecd28ff6cb
Former-commit-id: 5561a699bcbac7f19a7dd1d813d144b0dbe5482a
2022-08-02 23:14:20 +00:00
beaglejoe
012814c3f0 Require Java 1.8
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8359 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 73f3b71e3f531acce0a0568ec0371557dd48e0a7
Former-commit-id: 726823945db6de322b0aba9238f0c9aad29bd123
2022-08-02 04:44:18 +00:00
iobyte
fd6d14e46e trackeditor: make object name text field bigger
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8358 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 07a3c60cbd612673d286b24083d49f74598ca935
Former-commit-id: 75418a6205329a8b1500b413171722256a5d6e7a
2022-08-02 00:12:48 +00:00
iobyte
38925f66f8 trackeditor: fix indentation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8357 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 39365097bcf09dc317e19a4adbfcbf38cb9df093
Former-commit-id: c6a510ff8f4bf6bdec69f3ae0750fa0931a60e77
2022-08-01 15:32:27 +00:00
iobyte
e465a49beb trackeditor: use speed dreams bin dir to find sd2-trackgen if avaliable
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8356 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 75528f0d6546e9c968de23c5ad1472ffd1499e3b
Former-commit-id: f90996c8be7bf05b14183d94f2f5e837c5099ddf
2022-08-01 15:30:25 +00:00
iobyte
860442f6d9 trackeditor: fix preferences dialog
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8355 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5931ce78cfad906741be796b985f9b287ccbd613
Former-commit-id: 41b6ee7e1d9285093076834a7032df97506e9a0e
2022-08-01 15:17:32 +00:00
iobyte
7cbd5f94cf trackeditor: show errors from trackgen
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8354 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 52b55cbe530231649751cf2deaf4e0fa3b47ff63
Former-commit-id: 1c74096244c0e08b8375b933bf9a2e8e6de3159e
2022-08-01 14:48:14 +00:00
beaglejoe
a4fc24d18b Set eol to native
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8349 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e49492dd70c0522557550114c99ae13c9072ae8c
Former-commit-id: c0277f48b0633bd173310e94a32eff80b67897f5
2022-07-31 23:33:33 +00:00
iobyte
873788f244 trackeditor: fix gui on linux
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8345 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 203952beababdb7aa2d1e9c00a32124c2831afd3
Former-commit-id: 4e8b63329b50350185b9f8ff269204531cdd71a5
2022-07-31 18:48:36 +00:00
iobyte
1b4261061c trackeditor: add speed dreams bin and lib directories to preferences
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8344 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4dcf0f324ae22c4372264b3aac38399822f3c24b
Former-commit-id: 6d191564942ca491a41b606e1796e91a7a4d80c2
2022-07-31 18:24:21 +00:00
iobyte
86d40ffd99 trackeditor: ignore default surface dtd
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8343 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f2d6265542d3e661d386b873fe271902397029a3
Former-commit-id: 75a931899b365ff36fe74103fc5ca8e43369b3fb
2022-07-29 22:19:02 +00:00
iobyte
d3bb7c7db1 trackeditor: update to latest free jgoodies-common
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8342 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e1ac6d7c0c27f5c070fcc68936cec58a695acf1d
Former-commit-id: 7b027bae3eded668dfdf6ef4789eb8d29554af75
2022-07-29 22:15:26 +00:00