iobyte
c77cda695d
trackgen: create terrain with single sided surfaces
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8412 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 4f12ad9feb32eca5bd377632f2d2a2cf8cc8a749
Former-commit-id: a1b99ccf97cee8e0cfccabbea9e4959f530d9079
2022-08-18 18:32:55 +00:00
iobyte
b3b7922243
trackgen: draw track surfaces single sided where possible
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8411 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: bfeab103301ebefc7589d763dbf5b3383f3bef07
Former-commit-id: 541f1e8120828f354ff8032dd6c56ad7c7f45c17
2022-08-18 18:19:02 +00:00
iobyte
ba46385619
trackgen: fix matrix warnings
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8410 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 4e22e81762691a04da0c2aa7c8a1c416f0b75988
Former-commit-id: e153564cd26f4ce06b662397e3c6497e6b22ed13
2022-08-18 13:32:07 +00:00
iobyte
cc8e29992a
add ability to scale objects added to track
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8409 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 756ad051aad57fca12ebaa9a4733bd95545bddd5
Former-commit-id: e5fe3c772ac4950a7c19dda22786aedbca940518
2022-08-18 02:33:17 +00:00
iobyte
474da94543
trackeditor: save new project dialog position
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8408 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: bb11a06b7692c620515dba2166908a6b18f4db7f
Former-commit-id: c3c711521b96bde2d00429c71cb37d28def19929
2022-08-17 20:20:22 +00:00
iobyte
8f71b284db
trackeditor: save preferences dialog position
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8407 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 30362352729adffd55fe38dd7e4a1a72804513e5
Former-commit-id: e152d7b352b8ac3278d4884daeb95a467d320523
2022-08-17 20:08:49 +00:00
iobyte
9c15bfee65
trackeditor: save trackgen dialog position
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8406 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 4214d650cd0bc386e2cb73a16e4b84fcc0e4a33b
Former-commit-id: 8e86cf6d5eeb614367c595921377ecfb24c56897
2022-08-17 19:16:23 +00:00
iobyte
c8b91e074d
trackeditor: set pit border type to none when none set
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8405 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: d0229b6762437fa6def2e9df840d80152c405221
Former-commit-id: 5c3343d1e5f86e7073bf0ae0f54e3271740f7de1
2022-08-15 23:23:56 +00:00
beaglejoe
577310dade
Fix for older compilers
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8404 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: bc1e425e48ca2b9ef43fdff6e99cdd7d9533560d
Former-commit-id: 68111e326560d79b6b6891ba60fe19a80e79afd5
2022-08-15 17:12:06 +00:00
iobyte
72a278c161
trackgen: add hacks to work with broken compilers
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8403 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: d11080a5154c7e969494f18514b4c9cf52c85f9f
Former-commit-id: 4cfb97f03a18c89b3cbfcfe6406db2fc703d9260
2022-08-15 16:13:50 +00:00
iobyte
f74f92bf23
trackgen: use bool for hasBorder
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8402 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 3ceb0a18972809267f1140f2473efe6438d91baf
Former-commit-id: a25f8d1a05f492dbe7e4e1afb70e170cf2b9548e
2022-08-15 00:02:52 +00:00
iobyte
7d4315d9c3
trackgen: use bool for startNeeded
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8401 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: f1688c2eee4b6386f04674a77c3a75e50475e994
Former-commit-id: 351cae9a40a04c4857b72df202784d3fa251bbce
2022-08-14 23:59:15 +00:00
iobyte
72ec12f765
trackgen: skip invalid display lists
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8400 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 8a3d8523df0da51ed7b2383637d02902822e47ec
Former-commit-id: a12fdd03f45c108dddfef265d5677eab73b80df6
2022-08-14 23:13:11 +00:00
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