xavi92
9914e9d24c
Implement maximum frame rate limit
...
This new configuration can be adjusted from the display configuration
screen and allows to cap maximum fps so that CPU load is greatly
reduced, especially on menu screens.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9484 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: b63c4a7c907bbfb3fc8d44a6a77c7c1948341174
Former-commit-id: c331b396c32d1fd7d57b17ab880f44b808e12088
2024-07-15 02:52:31 +00:00
iobyte
ab2286b71e
trackgen: add default material to object files when missing
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9483 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: e7a0bdbb8cf07257c37bc52a7c6b6ccef20f3ad2
Former-commit-id: 14d24fac0947c96e6c1e04c8bfa6bdfa1ed474c7
2024-07-14 15:05:39 +00:00
iobyte
3c262350cf
trackgen: remove bad triangles and empty objects
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9482 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: eb3324a025e15b163352db320a3d6e1dbd3fe352
Former-commit-id: 8249e2fce56988a9ac900e13f5ed2777d947a3b9
2024-07-13 23:29:02 +00:00
iobyte
a5ead10fba
show the track 3d model
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9481 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: e910b486c2cb6146c99ba54ff7f4c19c4fed7c9c
Former-commit-id: cc770246dc7c20c526d10d8cc496026123b75283
2024-07-13 16:52:21 +00:00
iobyte
71b57e502c
trackeditor: show option to change graphic file extension to match export type
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9480 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: ff783e6ae1d7075403844631776f8d1e099faf87
Former-commit-id: 2c9ed4b8e1dd881d583d29e59985276fb61192a8
2024-07-13 15:15:25 +00:00
iobyte
a619a69a9a
trackgen: remove empty objects from models
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9479 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 3aa936cc73f0e42c17738f71639fa03cc94abde0
Former-commit-id: b15cfc67ba81a3f547f8831f37ec2f0e1321eb27
2024-07-12 20:09:22 +00:00
iobyte
92012b0dae
trackgen: update regression tests for acc files
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9478 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: b25b545db8c424314d067231dda4e028a6416537
Former-commit-id: 8c65052505b1e407fdb3ced553354d3c38e41f95
2024-07-12 15:52:15 +00:00
iobyte
31f050dfd0
trackgen: fix bad triangle detection
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9477 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 20d9024c965a3231918890615b03a6165cac9992
Former-commit-id: e6ff127e31af2ef335afc94569ef12207d5cd862
2024-07-12 15:13:20 +00:00
iobyte
bf7e9cb8dc
trackgen: warn about bad triangles
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9476 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: d74a998e693635954b1471d7a909c72b14a88268
Former-commit-id: ccc80ca1ffd501cbb71e701234f2a98cc5b4ad11
2024-07-12 02:32:00 +00:00
iobyte
c838ec5768
trackgen: fix hang from bad models
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9475 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: d302f8b8bb1fff419a57b6858be2179820d393b4
Former-commit-id: 87ef5c399df84f938f7baaa7c9b17e49e9c99f5f
2024-07-11 16:26:03 +00:00
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