Commit graph

3498 commits

Author SHA1 Message Date
iobyte
e44c0a04d2 stop simplix drivers from hitting wall
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7044 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2bdf2e008244fdd6ea6db0bacbc2d85422269611
Former-commit-id: 0662208ed82d7b4257684b038d176cd75bb69504
2020-05-15 19:09:09 +00:00
torcs-ng
780c37036d - fix pb with skilling
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7043 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8df7b46566a0f9deacf92000fd86b5782da51ab4
Former-commit-id: 9d258686292500c410cdffbcd100f02ca60bcb6a
2020-05-15 10:08:49 +00:00
beaglejoe
56ec289a0d Updated freetype to 2.10.2
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7042 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 80ded0b7ffcc37bbbda73e441274e2a44b83ea52
Former-commit-id: 609aa50c054b1681275c4a99234d366467ce3d43
2020-05-14 19:37:53 +00:00
iobyte
277d66c381 calculate shadow driver shift point based on car rev limit if not defined or defined too high
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7041 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 541450de6992b48156d8d043cecf466f21e72dd8
Former-commit-id: f47db75e677f02c211931c1390c74f418628ec23
2020-05-14 17:15:11 +00:00
iobyte
f5aa4d4db7 fix hud pit fuel value (get fuel tank capacity from car if not specified from driver/track)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7040 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6d94e5f2bc463112699b4253574dd947ced50af3
Former-commit-id: ac679d3774ecc3e0ed8e9596603410043c612ac0
2020-05-12 23:38:06 +00:00
torcs-ng
53736a35ca - fix pb with last commit with fatal error on default.xml not found
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7038 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 28cb567de4c4b142c6bf001e65ae7ddf0ea6ae74
Former-commit-id: 6a2dac6fce34a037710d67e696513add5e5b1a67
2020-05-10 21:53:21 +00:00
iobyte
5ccf150ff7 give fatal error message for missing config file rather than crashing
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7037 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fbcd08f32e51e9fec158680f91fbc226ef089dd7
Former-commit-id: 7d75020cb0a19c0bbb230f4492027d6429052dfe
2020-05-10 20:46:53 +00:00
iobyte
1231a16803 add fuel consumption to all sim engines and use it to compute laps remaining in osg hud
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7036 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ad6502c587bc7cd80a0add0bbadb03253d01e63f
Former-commit-id: 1bef4a5994524ae82eb5a5874eddcebd264b9717
2020-05-10 19:25:34 +00:00
iobyte
fccb3f00f1 revert r7024 and fix the real problem
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7030 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c6780824370621040fa9e104a355bf9854326fc8
Former-commit-id: 03811562590685357dc96072c3383f8bb5f51d79
2020-05-09 04:02:42 +00:00
iobyte
55ba28ea3d fix function argument name order difference found by cppcheck
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7029 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e5665bd7877e23b8c0625e6649efa343d19012e6
Former-commit-id: 71defb387c1d3ce90d3fdb3df9a98fb088b87404
2020-05-08 18:09:14 +00:00
iobyte
581e9c5ed9 don't merge a car config file with itself
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7026 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fc048b32761ce197c22ba671526b1ca0911973ea
Former-commit-id: b3a0bc1905ecfcbf63c2512e7c9f70905f8a0ade
2020-05-06 17:43:26 +00:00
iobyte
9728e6a84d fix for #1056 (crash from buffer overrun with more than 10 shadow drivers)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7025 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 81b0767d3a20b6764ae2f190b481c02f39c2504b
Former-commit-id: 5260fbe1edbdf7dd9485bf8ebbb78a27afcda424
2020-05-06 13:05:00 +00:00
iobyte
342f4ce46d fix buffer overrun found by address sanitizer
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7024 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 16a03553bedeea7f48cc8757675ae46c81121693
Former-commit-id: bb1ab9e1d19d3fc0ed2a11b1f49a129c0d700e71
2020-05-05 23:23:20 +00:00
iobyte
72cd04351c fix overlapping copy found by address sanitizer
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7022 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 182fb464826a442d0b9febf885262b91db27765b
Former-commit-id: 997133ef9e46e552783d7d70aac6a6efa7a46d09
2020-05-05 22:28:04 +00:00
beaglejoe
38785391eb Update curl to 7.70.0
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7021 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7df23847d5fb9e25cac47547a02528763fc7260b
Former-commit-id: 8b21d980586628d059b051ad44a51e188c0e1070
2020-05-03 01:20:44 +00:00
beaglejoe
1a289b974c Update enet to 1.3.15
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7020 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0602774124a4247fa247494988d132e37c1cdd6f
Former-commit-id: dedf1878e7f3903a66ca2ac7acb71d0de78e6b77
2020-05-02 23:01:16 +00:00
iobyte
ee06cd718c fix a buffer overflow found by address sanitizer
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7019 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 015b59294dc0ee701653b45d75f412cf096d2974
Former-commit-id: 6c4011f01433a5866122be5e3398d939e4e78b30
2020-05-02 19:11:11 +00:00
iobyte
9ef82ef64b fix a memory leak found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7018 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 040ed4e5f69513d5f761a7f8acc570e32b6e859b
Former-commit-id: f4c427d238d1676fb16831d7e9953e569842dcf5
2020-05-01 19:51:56 +00:00
iobyte
8805b3a4d6 fix some more uninitialized variables found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7017 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f316145cbc81c0638ec82ddd1f0f48da2dd952ce
Former-commit-id: 674dd97cbad5f42db621bea319f172d5b30e673b
2020-05-01 18:03:18 +00:00
iobyte
1ca45ff9c2 fix an uninitialized variable found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7016 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9a2608976c4d6d160b7388e5e87206a798d4c091
Former-commit-id: d96be8435e2f48976de194e95d28ef9b45808d4e
2020-05-01 17:22:39 +00:00
iobyte
86d6606dad stop force feedback manager from logging debug information as info
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7015 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7c683fcb9171b307ab16428ab20a7a7fc417ae1c
Former-commit-id: 5a3eef3cc40ad231190de354a1267e9bd6202132
2020-05-01 14:45:54 +00:00
torcs-ng
03d135df14 - fix max opponent in USR
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7014 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b33297b2063d71cf5fb41a1ce5be7de9454d8ab3
Former-commit-id: cc978f441a1e8ab9e7b508a075915a445bfca197
2020-04-30 17:49:55 +00:00
iobyte
b6b3db4d76 pass strings by reference where possible to avoid unnecessary copys
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7013 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2a89b2f00d2a491fa719d977ba8447af8a03a9f4
Former-commit-id: ee41673431e054c2e4fb9326c166e2553b1c0285
2020-04-30 17:44:18 +00:00
beaglejoe
91dcad857f Fix build for older compilers
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7012 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 787d6ed3832819b54c3069239898e21a659f8236
Former-commit-id: b2729258f1d2ff83d44bef569423cfd3bda4e3fb
2020-04-30 15:34:35 +00:00
iobyte
a0860ad1f9 pre increment iterators is faster than post increment
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7011 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 02773e1e53c82ec013e141e757d1a14262923d61
Former-commit-id: 68096d2f1cee0d43d5cfa722b1a253dca14154be
2020-04-30 15:23:52 +00:00
iobyte
514a0ede2a add dummy assignment operator workaround for Visual Studio 2010 bug
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7010 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 70d991f2959282352543ffc2c2c254fdd387542b
Former-commit-id: bed65188f560791f61d7a1ad77823c9edda6edb3
2020-04-30 04:27:48 +00:00
iobyte
1e6e2b2837 fix force feedback menu extern function prototype
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7009 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 85809432a2ff2dd7d9dcb2954559ecf61fe655cc
Former-commit-id: 6c02e1c6cf605963538e4300aadc5ab755ddd403
2020-04-30 04:19:03 +00:00
iobyte
1b2cc640b6 fix 'register' storage class specifier is deprecated and incompatible with C++17
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7008 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a4117309c3aff3aab63c169f7acc247daa0371e9
Former-commit-id: 31343fa1b0b243adedbd1efe1ddfdae236da4989
2020-04-30 04:00:54 +00:00
iobyte
49bde44ef8 fix another anonymous struct
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7005 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: adffa6f991527655d9afac583164e542260f07cc
Former-commit-id: 3750820368d36c6814670c4e06d1fd96d291b2d8
2020-04-30 03:55:29 +00:00
iobyte
ce7889f245 give anonymous struct a name
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7004 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cc003254eeeddc2e692139c0526e8ed115f0fb42
Former-commit-id: c92fca76bd52117ab4a3fdc30413cf4b69f52578
2020-04-30 03:53:31 +00:00
iobyte
3429fd5e64 pass strings around by reference where possible to avoid unnecessary copies
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7003 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dbeddb3cfe567940eeb2b514456de541d86c4709
Former-commit-id: 521d21b589ca77e587ba3b192a206e41b42ba68f
2020-04-30 03:34:34 +00:00
iobyte
679b4112d1 fix some more cppcheck warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7002 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a9b8c377d62c99b0f5cecc2d0f774d22a0a18144
Former-commit-id: b2bcd17a893fecf884bf2bda1ed417a3c68d5253
2020-04-29 22:19:56 +00:00
iobyte
e5e26bf990 fix warnings about using memset on classes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7001 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cea160c72184b8fc4554d9480b58a5208947edd6
Former-commit-id: 597908fcbba7d3f44a616c09114bfdf85a2fcb16
2020-04-29 20:48:10 +00:00
iobyte
f95290172d fix format string warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7000 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 619d3117daff921fce323e581039980a73e98187
Former-commit-id: 1501fae2da0fe6ee0c78043816c95e8851f83001
2020-04-29 20:21:18 +00:00
iobyte
9e69dd3cbc fix some issues found by cppcheck in src/modules/sound/snddefault
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6998 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c5ac8504c3aeb5a8e70a736b2e2b58b4477d1736
Former-commit-id: a34c4a38dc61121c2ba0870a3186812a4230dcd8
2020-04-29 15:19:02 +00:00
torcs-ng
c3d6739318 - Update USR's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6993 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 288862ea9cd5d918f909ba96cc9099210727a94a
Former-commit-id: 95c7c44be9d7db27201ac84f2d2b54750627ae2c
2020-04-28 22:56:59 +00:00
torcs-ng
96d2cb9afc - Update graphic modules
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6992 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 95dbbbf00724ff67e7f448e22e89a504b4c6c829
Former-commit-id: a9b4ef41208c6ce3bf16599ebd6b0d1a9f4321a6
2020-04-28 22:56:14 +00:00
torcs-ng
fd59efe64d - Update USR's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6991 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d9cd928b0e6855d4b783e6eec9d97aa77b61b74d
Former-commit-id: c65f1fc8e25e7e7ed9336b61bf6350cee7a7d1ce
2020-04-28 18:37:02 +00:00
scttgs0
e863a4e3db revert r6988
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6990 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b18cd92bf280b9795fdf63f87ae645c15cf130d1
Former-commit-id: 8e8f57e77f78bb496435f17037e682f99f391495
2020-04-28 15:53:48 +00:00
beaglejoe
53ab428af0 Add portability.h for copysign
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6989 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 766d84a133e31c38f0658dfba66d1306b81e8522
Former-commit-id: a255adaf021701214191fa4e35b1b15105fb8653
2020-04-28 05:42:42 +00:00
scttgs0
8f68346562 Refactor to align with C++03 - Not tested.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6988 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 93479a588585099a81b490038b14787cc6032847
Former-commit-id: 8b848d56127e94bd4ad23336f59999f65af2f141
2020-04-28 05:15:22 +00:00
beaglejoe
c3cb2aa2af Add copysign for older msvc compilers
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6987 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e5b99ddb8ede95df54a7d72b4bdb8cb8507edf04
Former-commit-id: 30e7b6aadaa5c14380ad1ebd264f5fdd5f95adcf
2020-04-28 05:00:56 +00:00
iobyte
8e97bd322e fix GfPathNormalizeFile to return original file name when realpath fails
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6986 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1e58baa14cdd5462d008145d1f91354ae22841e5
Former-commit-id: 3190d0029cc8145bd05a61d47d037b2fb8441ddb
2020-04-28 04:18:36 +00:00
scttgs0
66a0e86140 Fix: Free Resources
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6985 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 55d80a0a5dcc4ef926f4cbfa7b4db50db43b732b
Former-commit-id: ca08dbc189bcfda496d1bfc2880c1776ec0845c4
2020-04-28 02:32:17 +00:00
scttgs0
147cefdb61 Fix: Broken AST
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6984 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: acc5372b0c2a87f4796efa15a669655238aba8b6
Former-commit-id: 90467fdc0fb45810e7c9c672a38bb7e4afb4de21
2020-04-28 02:31:41 +00:00
iobyte
327f374813 fix ticket #996 (crash on linux when started with relative path and sound or display changed)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6983 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 001585158b611804405638f6d8e08ef1b27c7720
Former-commit-id: 364799da545d596ef1de1536e3ac6e7420d93c04
2020-04-28 02:22:50 +00:00
iobyte
62839a7227 seperate trace shutdown from app shutdown because logging is used after app shutdown
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6982 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5f00847649dc44b1118b55c8a18b80432541453d
Former-commit-id: bbc7bb8990130b426ca199500e60edee85b0a39d
2020-04-27 23:49:56 +00:00
torcs-ng
1f81b59f18 - Update USR's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6981 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e6ca16e2228214e3f57442b13e44fd98ebe4c5d5
Former-commit-id: ad2275cabfe223921a85b31281097b2345a99f68
2020-04-27 17:58:10 +00:00
iobyte
d52a9683b7 fix AddressSanitizer: heap-use-after-free error
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6980 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 34c5dae132d963580284a8a801ad37c2481f6606
Former-commit-id: 2fd5cbb18194f4e44b53288f45af10e0783f4b40
2020-04-26 21:19:07 +00:00
torcs-ng
17715018f0 - Update USR's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6979 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a076dbd9f1b73b038922635ddefbf1f246178474
Former-commit-id: 5420ca38d596dc13f2df59e10c919328eaec62ab
2020-04-26 19:10:04 +00:00