Commit graph

5309 commits

Author SHA1 Message Date
iobyte
d664b8da9f trackgen: update version
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9474 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1afaaf71e28eea4bc0e3ea47d9f3e762f832c544
Former-commit-id: d3cd2b4b361049fc65089b6588bcb4ab83c0577e
2024-07-11 15:42:04 +00:00
iobyte
a809475b47 trackgen: fix double sided normals
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9473 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e80bca4f9f393817be4061918f20e9dba886be68
Former-commit-id: 48b0dff667dc927c6452b2630b2ecccb95442a73
2024-07-11 15:12:02 +00:00
iobyte
cb897f2621 trackgen: update version
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9472 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e4daa881d40a1ce79ed1efc998a4c1071b83200c
Former-commit-id: 0219ab2f223178a62ec979203bc4908d0bed7707
2024-07-10 20:45:33 +00:00
iobyte
a221addca8 trackgen: fix normal generation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9471 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2ce6ca6355d456c2134349a9d412246a12865105
Former-commit-id: c3bd3b135d28b95221a7ac402ad60b3593d5df09
2024-07-10 20:44:22 +00:00
iobyte
f8ea0c2426 trackgen: fix generated normals when outputting acc files
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9470 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a0df34cdfd1dded9febe978ffa079b5d32b259f1
Former-commit-id: dde3690787777feb9af0c45ab3a182574291edad
2024-07-08 23:23:20 +00:00
iobyte
b3c35cf85b osggraph: fix acc loader when it finds bad traingles
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9468 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 103f70883cad6cd5ea8e1e3f090ea8b50a7fffe4
Former-commit-id: 41de3f3b7427b9b6ab6cbd62af6c422f338262d3
2024-07-01 15:52:50 +00:00
iobyte
a8224fd5fe trackgen: check raceline files in regression tests
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9467 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 63edac72891624206387c7dcc68b430d3f1870fa
Former-commit-id: 836c22843cd8e7731cabf3a59cbddedb8b59aaf2
2024-06-29 18:18:04 +00:00
iobyte
7f246e9029 trackgen: check more renamed files in regression tests
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9466 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dc645fc0ddfad202b2c9d05a265d9e444c07261c
Former-commit-id: a30acd4b958cf635bc0282363410e8a9d78ecb95
2024-06-29 17:54:02 +00:00
iobyte
2e0d19fdf8 trackgen: check all generated files in all regression tests
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9465 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ead1245da84ff8fc2433868801340168942b81c5
Former-commit-id: 67d998b6356b9e31d64e0dd68b2accdcd5f072a6
2024-06-29 17:22:47 +00:00
iobyte
c5dbb80c8a trackgen: check all generated files in regression tests
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9464 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b136a63c0625d9b08b2ad86d3af43ac2d02468be
Former-commit-id: 78d1b53642d5ec038af7529c7e83e857bbd08082
2024-06-29 17:10:09 +00:00
iobyte
291e8c70dd trackgen: update version number
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9463 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7012ce73dce6dca1c26a753b0d153f36f675d55b
Former-commit-id: 9d2422275620367bf1535f27a11a46d523be0d9e
2024-06-29 14:15:22 +00:00
iobyte
835d6ecd22 trackgen: fix object placement
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9462 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: eca67fb050781a2bc55f08ee01a4803ce2a2b66b
Former-commit-id: bda15a8f09a598e0ba80a2ba58b659d982ddf8fb
2024-06-29 14:12:36 +00:00
iobyte
a25d786695 trackgen: update version number
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9461 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4e83f4544d47100fce903cdfebef23978fdab709
Former-commit-id: 2b4dd4abccd55161be7fc27bc6fdc46e4bb98da9
2024-06-28 17:32:51 +00:00
iobyte
9af5493b38 trackgen: fix some gcc warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9460 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fd70345df8c973d58684915e959fc2c3d39db234
Former-commit-id: e01c46defcd5f998639663f87bd9750caca25b74
2024-06-28 03:26:54 +00:00
iobyte
7ee438afe0 trackgen: fix object placement
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9459 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 970011e7a832d86b54411a71d58df5a1fe8c345b
Former-commit-id: 206b7456ca56e8332ea46c7ed51a42667dd164fe
2024-06-28 01:18:05 +00:00
iobyte
61eda576e1 trackgen: don't output separate object files when outputting acc
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9458 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6a327f2dd5af7feb0adaa4121ec843f1c016a326
Former-commit-id: 254fbb42bcbd027c50190a5dad40db9f8fe7f4c4
2024-06-26 23:43:20 +00:00
iobyte
a22c00e42a trackeditor: add generating acc files
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9457 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f836bbb3da002a35baba5ba85d478219af4d57ab
Former-commit-id: 8897919dd7435fd004a00f30e29a62f3f8cb33a5
2024-06-26 23:25:59 +00:00
xavi92
18ab5f1222 gui.cpp: Avoid undefined behaviour on isprint(3)
Attempting to call isprint(3) for values not representable on an
unsigned char or different than EOF is undefined behaviour
according to the C standard.


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

Former-commit-id: 2f8d96956ce4b905564c50460092bb265b42a598
Former-commit-id: 8dbc4cfec2603def878794227f621102c7e6e13c
2024-06-26 21:11:40 +00:00
iobyte
8d43ac0ea3 trackgen: add ability to generate acc files
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9455 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fdd384b94fbecbf79c490c0555d6fe3e03cee497
Former-commit-id: 02972d8066d366fa8421850afd6820040c62e945
2024-06-26 20:27:11 +00:00
iobyte
e142c238a3 trackeditor: add ability to set use material on individual objects
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9454 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4e1843cbe3a903c2620379220ff8b379422d9113
Former-commit-id: 7313616f6e0dfcc121874a883a0f51e8e3b0fd32
2024-06-26 17:51:19 +00:00
iobyte
41348f9574 trackeditor: add tiled file to terrain generation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9453 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8542d330ec2511dc5e8163b9adcdac4adf8c9896
Former-commit-id: f7da30a9184826d7d99d25596a7eb937602a9374
2024-06-25 00:04:33 +00:00
iobyte
0f28c8336d ssggraph: ssgStripify doesn't support multiple textures
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9452 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a9cc3a13def5b699e6ae407dfe3dface9f55e182
Former-commit-id: e464730a6af7caad7a60b2334af52958c0f95efa
2024-06-20 18:33:19 +00:00
iobyte
f0663c87bf trackgen: improve acc texture reading and writing
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9451 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 04fca5c868835b3c0b927c3be50acc2bf641602d
Former-commit-id: 49e69ae2fd951063e0e69e99fcfd9a724de31e7a
2024-06-18 19:04:09 +00:00
iobyte
3e9695349a update sdl2 to latest version
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9450 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3a6123ea3489f298163f8eb87d14ef48825eb312
Former-commit-id: 186246958a5109fe405c090c28a73fe391ddcb88
2024-06-18 12:50:30 +00:00
iobyte
1ecad705a4 update SDL2 to latest version
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9449 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 60476f325580e9a658267c2e70f2129840c55c96
Former-commit-id: 4102321e3c800ca9961a2b579af8602876b9c426
2024-06-17 18:09:14 +00:00
iobyte
f8a29c0c5b accc: don't output an invalid ref
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9448 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e6f8d98fd1742a0601899c70944c3d7eee4f2d8d
Former-commit-id: 3285af2d75a5fdb44f8fc201548879b3dc3f6b14
2024-06-17 03:21:22 +00:00
iobyte
8a58304603 accc: fix some buffer overruns
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9447 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 565c4ed075324d0c225e92e6ca38a597ec20705d
Former-commit-id: 9d266d4868d4a9846224352873a81f46d8833ec2
2024-06-16 23:18:38 +00:00
iobyte
2e544286b9 accc: only need to check for different surf or mat when generating triangle strips
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9446 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 53e6dc6c91b26a11237a5779cb5a91d3026075a9
Former-commit-id: 2a9ba08b1ee3862c940d952981b39c5663d71803
2024-06-15 20:13:32 +00:00
iobyte
18df64e1e6 osggraph: skip first 2 frames when calculating fps
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9445 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7adee7c5dd7a835813a7c43e95be44834cc6e1ce
Former-commit-id: 19a57eafadfd04debc8470e0943e53a7d9c90f15
2024-06-15 15:11:27 +00:00
iobyte
e278092b8e osggraph: show min and max fps in hud
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9444 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e819e9653d282a27f92ca64a65e212e1a1f43554
Former-commit-id: 4466a007fd6f5c8f8bc9f7cc70d6752b99fb4b20
2024-06-15 14:16:00 +00:00
harunasan
592ec17f95 USR: Add Consistency modifier. This adds subtle inconsistency to bots when "consistency" is set to > 0.0 in a driver's skill.xml
Also, workaround fix for some cars (mainly LMP1 cars) not being able to pit in narrow pit spaces (eg. LongDay/LongJour) due to not having enough time to slow down and enter their box.

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

Former-commit-id: af96d1d94e13e9e31c411bbd445492cf4a2892ee
Former-commit-id: 4d5dc7ab8ee3efb5ca6b3bb8f527a0e02ee69f3b
2024-06-15 01:29:25 +00:00
iobyte
2c04b6263b osggraph: don't need to tessellate triangle strips
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9442 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2ef831d342d128857459ad5cdfb6d0b9166cd2d4
Former-commit-id: 0e54dc664400977bf9f0d32e4459cfe4966132e1
2024-06-14 23:08:59 +00:00
xavi92
ccb0d6b7fd OsgMain.cpp: Use osgUtil::Optimizer
As its name suggests, this class allows to perform minor optimizations
to the scene graph, resulting on small frame rate improvements.

That said, this class is meant as a compromise for overly complex scene
graphs that should be optimised properly instead.


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

Former-commit-id: 7322252a1d7aa782b6a4b64e8a79178fa5b3afe1
Former-commit-id: 8cac406ace350cfbedc99b700f3a6e4c29414e67
2024-06-14 21:19:46 +00:00
iobyte
9f51f516d6 osggraph: don't need to show 3000 stars
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9438 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 67fb11ea6fa9765435ab392e2640a336f41085c1
Former-commit-id: a960f8df178bdb5c2fcc0474aff251c73f4fdc9b
2024-06-11 16:05:23 +00:00
iobyte
6e2534e001 simuv5: fix car body disappearing when colliding with wall or barrier
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9437 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5fb9c0c90a2c7453b5b1d265e67bc0df1821a135
Former-commit-id: 631e56202fd5ae190b86eaf2b6cd6322b723c6b0
2024-06-11 15:52:45 +00:00
iobyte
ed6775bfe2 simu5: fix car body disappearing at start of race
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9436 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bb060b7cab1ddb088c5d3b122989aa69921686a6
Former-commit-id: c30b6bac28f11715fe4eb7415f7fa9c1379118f2
2024-06-11 14:57:53 +00:00
iobyte
52f3234eee add cppcheck config for unix64
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9435 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 24173ad43ca493e5545da3f927c13f1ee18b3039
Former-commit-id: c0fb1bb37ecfa1c5309f55edc5a577c15fcb5973
2024-06-10 16:34:31 +00:00
iobyte
b30e7bdeec add cppcheck config for win64
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9434 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fd34595fee1801d60e18831942149cfe1f451aeb
Former-commit-id: 93f5c0c57286a964ecb711eb8ac1f7fcd4773cde
2024-06-10 16:22:57 +00:00
iobyte
b2874934ce trackgen: change regression tests to use installed sd2-trackgen if none is specified
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9433 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fb2748529ef9731e4860eb8b62318d0eabd769ad
Former-commit-id: 118607da1ec8adff41a7c201826088de8d4e6eaa
2024-06-10 15:20:26 +00:00
iobyte
194873d23e snddefault: make flags unsigned
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9432 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8d9ee8f7676c49a110375a30a1a4516c4e3aa9a8
Former-commit-id: 71425e82c738506d2aac053ed6b5cecc9f89a01a
2024-06-10 02:59:19 +00:00
iobyte
cf6881dbb7 snddefault: fix some cppcheck warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9431 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a04d17181878ded5af02a0f504199244f170fab9
Former-commit-id: 951fd03f34080e38207b5acd44ba579ce64d9981
2024-06-10 02:33:49 +00:00
iobyte
0017228cd0 snddefault: fix valgrind uninitialized memory warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9430 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 26196acb3ebd2f874c1e306989907c60520ff90f
Former-commit-id: 857a0f63be2f3cc56ea303a3bc945d1cfef63d47
2024-06-10 02:17:22 +00:00
iobyte
4cab08adcd ssggraph: replace global variable grFilePath with function grSetFilePath
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9429 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 629adb423cf17d4b60a37cc49ab756f08283756d
Former-commit-id: 763a6cdb6de25bd36d38040f01f9b0996de03a7a
2024-06-09 17:10:27 +00:00
iobyte
7375c14241 osggraph: add osg stats using ? key
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9428 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 19ff7a06be63a287b82647600d6384fde32cb55a
Former-commit-id: 9bfd9aed69cba598b1f878164a6c4ef83d4529dd
2024-06-09 01:14:31 +00:00
iobyte
adfefc1101 osggraph: clean up acc loader code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9427 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e4f8898fad67f65f6bf6f281212e78b83766e4f6
Former-commit-id: e152877766c756c2375693c12c86330fcc2dd3fa
2024-06-08 18:45:45 +00:00
iobyte
8dad6b0a56 osggraph: fix acc loaders use of surface flags
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9426 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 729285307a53a70681b3203fe36df430ea82da01
Former-commit-id: cb039517fb1e222c845c9704723c3631eecab2bb
2024-06-08 02:48:01 +00:00
iobyte
fe3c838688 simuv5: fix memory leak
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9424 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 646b75e73fc21ccfa888df9164c51bf01554586f
Former-commit-id: aff6835d23d7f4ad8aff8058fa248ad26addebac
2024-05-23 18:51:38 +00:00
iobyte
1a2ecb4248 fix memory leak
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9423 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 46e947176f5f26ed7cc734614528101a48c870c9
Former-commit-id: c807da11a58a9619e7ee55194b090d930506039e
2024-05-23 17:20:48 +00:00
iobyte
4e20110006 fix address sanitizer odr violations by adding namespaces
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9422 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b74294d25bfc40ecac7d56747825507144b855f0
Former-commit-id: 8aa3da7fabde6e2686af896d8f569359aa125a38
2024-05-23 16:18:08 +00:00
iobyte
f31203374e fix ssgVtxTableShadow default constructor
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9421 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9fe3181c8b7949613595aa57fab0e7785a20153f
Former-commit-id: 6165818128ab6785c4a17371e91b3a056724a1bf
2024-05-23 15:52:58 +00:00