Commit graph

3460 commits

Author SHA1 Message Date
iobyte
e13224807a show what file is missing
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7097 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a720789a52f677521eb682cd9b8d8b5f65441d4d
Former-commit-id: 89df5bd087004177df39a89dc8ab15a454f1d660
2020-05-20 16:59:17 +00:00
torcs-ng
35d96145e8 - replace default logging by LogDANDROID on this driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7085 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b033e8639ded0686d7093a4336a4498e98335873
Former-commit-id: 45578095341d79afef6f3162753401aded819e44
2020-05-19 21:06:27 +00:00
torcs-ng
2ce184fb36 - start work on cars lights (patch by Icystar)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7074 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bf61d6c527551300ecddefa5a7c116f11f769a52
Former-commit-id: 4e58e32da7d194fb0b87a9b7ba26feddb80e8e55
2020-05-17 20:53:02 +00:00
torcs-ng
826085435e - fix bug on OsgGraph with little rain
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7062 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 02a58f3caf555c514aa6c406f81311098be23b24
Former-commit-id: 96598159364cf6af483163c9645713db4db86f09
2020-05-17 15:39:25 +00:00
torcs-ng
61b93cf8d7 - fix skilling for simplix_36GP
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7061 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 97dbb82f50f3465ad4646ff62c2899463019c88d
Former-commit-id: 6a2b37ae737b07b0f70c7928f4dbe11e9053febb
2020-05-17 10:13:53 +00:00
iobyte
8040eb6d68 disable code that generates divide by zero for valid value
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7053 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 243ebd91dc2d2090c7c0c100e2dd44fed0278716
Former-commit-id: 6bb14a195fbc3f18554bf8d4b714b4000334a261
2020-05-16 14:12:59 +00:00
iobyte
ca55588fe5 don't use std::cout for log messages
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7051 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4e46bb4f21a10c0ecd10edefe808d266401e4892
Former-commit-id: 633db76181054726ce56faeaa923ece6027aa191
2020-05-16 06:43:20 +00:00
iobyte
529a6f14b9 fix GfParmGetNum: bad handle ((nil))
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7050 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 46191145974bfed9753c6361517313219514da6a
Former-commit-id: d7ca5e1ead8ebe881fb86ef088288ad335c92e9a
2020-05-16 06:31:13 +00:00
iobyte
595f0223ff fix usr skill file path
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7049 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: da7d94ffa1648cdd637105c23b9e34f69d9796fe
Former-commit-id: 98581476d1e7161381bb97f9dddbddee6112191d
2020-05-16 06:02:37 +00:00
iobyte
bda514f0c5 add missing file name to message
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7048 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 702ff22ef388e95065acafa736f5397758e0a216
Former-commit-id: cbaf50cdd98a4ef621622e8d8e9ce9661e81cbf8
2020-05-16 05:40:13 +00:00
iobyte
d0a0c61e25 add missing newlines to messages
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7046 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d629e79ff811a3622f962617da22219dad12a727
Former-commit-id: e184a3a7721433a359060acaf03db3974a7b2401
2020-05-16 03:52:19 +00:00
iobyte
c20d9fa020 let simplix driver get closer to the wall
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7045 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 16f4f80ea2d4d70a2492976889def24b4d3b835a
Former-commit-id: 420b022df49ef91b609b3b37a08aff4ee9188f50
2020-05-15 20:33:51 +00:00
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