Commit graph

3584 commits

Author SHA1 Message Date
iobyte
f5bdb730f9 fix accc to not output trailing spaces
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7136 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 225d0d826c27c8710b69e913f8456772bf59aef2
Former-commit-id: d441a45eee2a926186487b8931c1a8dd7af698f5
2020-06-09 14:16:08 +00:00
torcs-ng
d5b52b8dab - fix USR stop pit (part2)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7131 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f11f6219fa7eb96ce66b9e762e7e03328819b6b5
Former-commit-id: 8e1fe8ffe26e1fe093ba25e9a1a0e7ebbe3d1457
2020-06-05 12:07:54 +00:00
iobyte
b6b6343619 fix osg Warning: texture attribute 'TexEnv' passed to setAttributeAndModes(attr,value)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7129 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ca52e5229a50e1f63bb4c939e0100ff155e6cfd4
Former-commit-id: 9156fd69ec45b4d07d5d40b10a2f51d543f66954
2020-06-04 22:30:02 +00:00
iobyte
e87b225032 fix another osg loader warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7128 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4e85574779cc6978fab18d7c46a3ad6f95767c23
Former-commit-id: 69359bcfc024256c34ac3f35295e40c95d50320a
2020-06-04 22:22:10 +00:00
iobyte
5711b6adb2 fix some more osg file loader whitespace warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7127 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 79b02b18712e13b28a3e9a3cc00b974fe5d2a2e8
Former-commit-id: 8fd06a6c7723c4bf363a5ed7db2fd07d835e40f8
2020-06-04 21:47:06 +00:00
iobyte
4dfa22cdd3 fix some uninitialized variables found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7126 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3461243f2aaf06f54480349913158f764e880836
Former-commit-id: d5ecce2e6f0280d2b2a02c85c050a2242e829669
2020-06-04 21:07:37 +00:00
torcs-ng
2b87c6b689 - fix bug with Intel I9 and Linux
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7125 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 08d9da7d96ca52b06edb7dd47f4eb13bb8dc868e
Former-commit-id: 4e4211b7c46423acf5de6d11a3b82ee0a69d3f28
2020-06-03 18:35:41 +00:00
iobyte
06eb064ec9 fix linux crash at program exit
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7124 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a6d306decd74a60d0bafd6823cf8869ab83f3023
Former-commit-id: 2fee85968ef68bce704ebc82db437e78a5aacd25
2020-06-02 23:36:56 +00:00
iobyte
25315d2e21 disable GfParmReleaseHandle until classes are destroyed in the correct order
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7123 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e07999f168af73b3c791ec22ec91982e1f55b5ba
Former-commit-id: fadcc7bf26a5d6e384d799b23ad11814b0c3eb35
2020-06-02 23:30:54 +00:00
iobyte
e13d596f0c make a noisy WebServer Info message Debug
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7122 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f32abbef8dfd85bae2c1b136d29efc7fd1381ac0
Former-commit-id: 61ff131e8d42d6a8ea9e23e0bcf6bd91082cf0b9
2020-06-01 21:30:54 +00:00
iobyte
cea343fec4 fix osg loader error messages caused by trailing white space on MATERIAL line
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7121 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b65771490ad7a164d0d8c0348948f8cb37117a82
Former-commit-id: 4c5d9ea24aa97de0123536f9e99e178e1020ad6c
2020-06-01 21:02:52 +00:00
iobyte
bebec19544 fix crash loading hidden-valley.acc because of trailing white space on texture coordinates
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7120 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 13d9131f6b34b06a7c5b8b71712a8aa359ee3eb4
Former-commit-id: 526bf47a52ceb9fc8140e5c2eba1f2d1eecd9691
2020-06-01 01:34:28 +00:00
iobyte
1cfdf20aff fix USR parameter handle leak
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7119 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 68a2d40b73f8842c1cb6d02c6becb73cb3ab973e
Former-commit-id: ccefbe3102f726f42b52a71f653122abbf8bf9be
2020-05-31 00:27:25 +00:00
iobyte
d9f6e96991 add missing newlines to ODGHUD messages
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7118 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1b1beb4a145751d6745626fb04a2fb94cce6ad41
Former-commit-id: 3143d0492e1caa49f56ec0e3eff7b3e7793c02c8
2020-05-31 00:01:16 +00:00
iobyte
d47aa1608e fix last commit
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7117 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 974df6a336a73ae667338a82bab59703135bcc3b
Former-commit-id: d5f48d9fdd846087427ac9ac9bc3c8ff7e4aae9d
2020-05-30 23:50:22 +00:00
iobyte
a383da4bf9 show leaked parameter handles and fix a major leaker
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7116 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3a8f7b7456da9e97bc3bd0d8acc50dcddf67f2c9
Former-commit-id: a7cb509fb31193a7602733e8cd1bfdf182d695fd
2020-05-30 20:29:04 +00:00
iobyte
5428d1d8f8 fix uninitialized variable found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7114 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1d138cad0b0d303b7607638d696a3cb22a4fb653
Former-commit-id: 35cc9c408471182b6b506dfe61f43fa323a6cce8
2020-05-30 14:46:05 +00:00
scttgs0
968f19f324 Deprecated: loadShaderSourceFromFile()
Upgrade to osgDB::readShaderFile()

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

Former-commit-id: 8687665a6b5a6e660ca4fec3408104242ea4411c
Former-commit-id: 9e7a3ceb03eb9209893d8e61b02f7d6e97f880b9
2020-05-28 17:18:43 +00:00
torcs-ng
7a6243875d - add code for simplix_67GP
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7109 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 91cb36c52268f2006a3c33b646b61ca07471cb70
Former-commit-id: ab3c1dd16ee1576787e46b370b3677678050a1c1
2020-05-28 11:42:11 +00:00
iobyte
9d0f0bc195 show which file is loaded
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7107 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a361dcf9585f35e664a267b8bf70dc0cf7fe4b60
Former-commit-id: 76b31dcf4f1b4e22aabf8cb32b65cc2d27952892
2020-05-26 14:48:13 +00:00
iobyte
a8dbf5e4fb show what files are used
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7106 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 62a07be8146da23cabb5a1c4f513167dc0c151f8
Former-commit-id: 7c6eae1fc4019b8f6afbca3c7cdb7d0c51030717
2020-05-25 17:27:39 +00:00
iobyte
9d4c2d9d87 fix function names in error messages
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7105 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 23ade1f790bd8537116122fb05e0716a30cccca9
Former-commit-id: 4857cc241b29c6c9b3f3ad77b995ed173750a400
2020-05-25 13:34:59 +00:00
torcs-ng
8e62a5c168 - fix bug with SimAirDensity & SimAirPressure on config
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7104 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a71259fabdf3ab43f65cffa97f5728955ca7a9f1
Former-commit-id: adff19886d86e0a6c0412959fbb06fc5e5ba454b
2020-05-24 15:07:47 +00:00
iobyte
75c60d9216 show if simiplix override files are used
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7102 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 13ef6b30de803b6ced081300eed19c9075ab8100
Former-commit-id: 858956465c44fc3ddc48b1a0cdc36a7c212ba766
2020-05-22 15:32:21 +00:00
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