Commit graph

1116 commits

Author SHA1 Message Date
pouillot
2bfa87668b Re #197 (D31 : Save and restore Quick Race) Fixed broken load result file (immediate return to the Raceman menu)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3323 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9fa05268836b21e2f8ddde877cab8286d499218b
Former-commit-id: 348f66873188aa8f2361252c956825ccc9534fc6
2011-02-06 18:28:36 +00:00
pouillot
07ff011f9f Re #312 (Games freeze on pit stop) Fixed windows port
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3322 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: de08ff750c5871951c3105aaa8bc1cbd9bd723f3
Former-commit-id: 35bb7b04dffbd89b3f085ce107864e878a13e4f4
2011-02-06 14:39:36 +00:00
kakukri
e10db800a9 The missing '}' from r3317
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3319 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a537f615cd4081a137b801e09e60c3835036f5a1
Former-commit-id: de655f5727509a96633028e9340ab0ad0f9502c2
2011-02-05 20:08:20 +00:00
kakukri
2a03ba49a6 Increase max. slip, decreased minimal value for "load factor max", increased maximal value for "load factor min"
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3318 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e455422adf8bfaac721fe71ef39caef7b24456cd
Former-commit-id: 365029e5d644c3a5c10e3724069447b824b3389c
2011-02-05 19:40:55 +00:00
kakukri
de9ffe455c Added kN to unit conversion.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3317 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 03d56f38c7e1368a40e2bc2e4f5e1fc995f8ac5a
Former-commit-id: f079edb9c548fa3121b2cf3362e34bb1af058415
2011-02-05 19:35:03 +00:00
kakukri
2388da5346 Re #307: Remove unused cosine calculation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3316 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 706b5c54c3ec6a654dc3f403b37fc21ccc60cba2
Former-commit-id: fb04b7622873413e32ca81ddde1eaf4f6d7facba
2011-02-05 19:25:22 +00:00
martkelder
86fda0d827 Latin names instead of dutch names
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3315 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6cefbae945e16584741d894a1baa735462d9324e
Former-commit-id: 1d31e0fe68068b395486a49f2b138ca2c51111db
2011-02-05 11:30:19 +00:00
pouillot
29d6f92738 Re #321 (Career will always crash at startup) Fixed the crash, but need to make the preview of the current config of the race consistent with the career mode
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3314 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d422b169b4393f80d438886379b37472a143c895
Former-commit-id: 97e333277ae827ca2430c24bbd416d03fbeb8a90
2011-02-04 22:34:43 +00:00
pouillot
98878779a4 Re #241 Fixed regression in r241 (Next event menu was no more working)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3313 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fd92113b3f70d2d597fb7508d52cf3a04dcfd40c
Former-commit-id: 39bfdcb03643b08ab6276dcc3e4ca6975c0feb61
2011-02-04 22:27:54 +00:00
pouillot
88b11ca5f0 Removed now useless debug code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3312 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c6d7c47edb9694a5b32d05388ffa194a1c892858
Former-commit-id: c875b9125d799b337c9874e77b63600c83ab9190
2011-02-04 21:24:23 +00:00
pouillot
63ffe4aa19 Fixed #245 (Network humans should never be selectable in non-network races) + crash when configuring race from Host Online Race menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3311 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 74f61784786d1622de3a6dfe02e6815f5733d21c
Former-commit-id: f649bff5a1b76c7a9d04a881056c8fcb5987bd70
2011-02-04 16:29:45 +00:00
pouillot
36cda122e7 Fixed inverted bottom button availability in Network Host menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3310 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2c44a93d4421e44879e4c3a94626e663d9925f35
Former-commit-id: aaf749a3b1186beae4e0d4f25b8d049627d7b404
2011-02-04 15:14:35 +00:00
pouillot
849e550e02 Fixed #312 (Games freeze on pit stop) Was a bug in r3193 (added support for user keys redifinition in menus) + removed duplicate F1/F12 definitions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3309 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 85d021bf2ddfef022236ebe593ae3ab7de3d7734
Former-commit-id: 7ed8d30b79522be39ceb0b2379e1c9e416f2d112
2011-02-04 15:03:10 +00:00
pouillot
a2ad87f88d Fixed comment typo
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3308 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 305f7416f962aa077a41b13dd10bec0b8dd038fb
Former-commit-id: bb86c153377276fbbf59a39164e904b404fe40b1
2011-02-04 14:55:20 +00:00
pouillot
141225da9d Renamed Corkscrew* files/folders to all-lowercase corkscrew, for consistency
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3307 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e4365671fcf94c0c9896d791f23856c559af4417
Former-commit-id: f35e8e32746fc43c55209e9f2d74095f5b431eb7
2011-02-04 10:03:37 +00:00
kmetykog
67b933ad19 Bugfix: handle special case when
the track has no pit section at all.
Re #318.

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

Former-commit-id: 3e44178e5c6ff229dd41ff33de77f157d232fee2
Former-commit-id: 33fe8e845a04159773ddb1da87ec5d002ba13fe9
2011-02-02 22:42:28 +00:00
pouillot
078f3bfbda Re #313 (Split Windows installer) Make SD work with only 1 track
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3303 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9ef8ae39e52fb214074d1963d4cef11e119c41f8
Former-commit-id: cc0f1bd16b865c21de062f56b88b2e6371e0587e
2011-02-02 22:36:28 +00:00
pouillot
a9caf2eb92 Re #313 (Split Windows installer) Make SD installable anywhere
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3302 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 52537803d9ae0e0deb4eaa9b83091aaebb0fe9b3
Former-commit-id: d5dc56f7ccba30b2b0b7f3526ca4d10c359c6c2e
2011-02-02 22:34:35 +00:00
pouillot
854364e933 Re #329 Enhanced tgfdata library + Moved the whole code of the race configuration menu system to using it in place of GfParmXXX functions and ReInfo pointer
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3301 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e23bd748ca59a2220ba9d20609a6e40e7c16f011
Former-commit-id: 0911ffa5f671a76ec05b4c4f3c6ff694161f6801
2011-02-02 14:34:30 +00:00
pouillot
80caa830df Re #249 Increase background darkness when rainy weather and sky dome disabled
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3300 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c50f63503300c6c6b220fe9147b9066fccfc0e16
Former-commit-id: d0051ba07149c5d51db2a338e33d7afbebe91c3d
2011-02-02 14:04:31 +00:00
kmetykog
13e6ce73ae Draw pit doors again in correct location. Re #318
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3295 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 311b56365bfbbec8f53dce77ff06c0e0570fd1c3
Former-commit-id: 53df1633fa129fcf104a555d309256e35f1eccc2
2011-01-28 06:56:50 +00:00
kakukri
96a2690e03 Solves #325: complete the if condition for 0 torque
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3294 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f41ddea2047049e982a2d10d64403cb1451ebc53
Former-commit-id: 087ef3d95e8c939f1a98e1c51281b763241e33ee
2011-01-27 23:07:42 +00:00
kmetykog
e4b98580b4 Use PNG files in trackgen. Re #217.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3293 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 35ac2373b93780ea329377a0c0307a81bf9a7c5e
Former-commit-id: a9c570c2cb5d6a7dc90c8d8057f6bc678ac735d2
2011-01-27 21:21:02 +00:00
kmetykog
388520ddfa Applied same logic in trackgen as in track module.
Re #318.

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

Former-commit-id: 834456472a5b617de42ba1b5172e563cab9d8c3b
Former-commit-id: 12abab28f0d853728cbb7bd82fa72697432ae7b1
2011-01-27 13:37:16 +00:00
kmetykog
c0e1700b24 Re #318.
Moved excessive lengthy code segments to separate functions.

Removed useless typecasts.

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

Former-commit-id: f883c2a9db1762fe96e49abbc074c0f7250e9381
Former-commit-id: 6ceee3f4052bef345bc331a84fa3533b43da21e7
2011-01-27 13:35:59 +00:00
kmetykog
7e70a796f9 Re #318.
Solution found but still WIP!
RtTrackLocal2Global expects different values,
depending if it is called on a straight or on a turn.

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

Former-commit-id: c62e191e3ebe1c2fcaaeffd18882a060844d87a7
Former-commit-id: d634d5cda2e0bfbb69e2f62f92048bc08c949210
2011-01-26 10:25:00 +00:00
kmetykog
1e6a59595f Re #318. Get rid of macros & formatting.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3288 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6dccd65e61592b253751edebe8b82088d1083fcc
Former-commit-id: 21499709a6e4177dd1155c0f6b14d5523ee43054
2011-01-26 10:23:32 +00:00
pouillot
64e584f316 Fixed #317 (Track select menu wrong sequence)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3287 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 950a6f3a04d9760535c8feacbde9d8b300069d51
Former-commit-id: d586c1b2df32e612e75af2c2fb9d72e6d1bd3d4b
2011-01-24 18:37:01 +00:00
pouillot
1f803d2110 Re #307 (code cleanup) Fixed MSVC warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3284 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fa2607c6d87b2138184914f05721497eb20efbf1
Former-commit-id: 17721df15ca01734550eba1c7ae4fd8de14eede0
2011-01-23 17:04:52 +00:00
kakukri
61926974f5 Solves #157: change the handling of negative angle of attack in SimWingUpdate
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3283 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5e304c1eca61abe6ee10c3b97f518587206fb269
Former-commit-id: 0e79638e22fede409f751d3d5678b22b9b64051a
2011-01-23 16:10:31 +00:00
pouillot
fe9102fdf7 Re #307 (code cleanup) Renamed tgf::<Get/Set><Bin/Lib/Data/Local>Dir to Gf<Bin/Lib/Data/Local>Dir / GfSet<Bin/Lib/Data/Local>Dir everywhere, apart from robots code (kept old names for TORCS compatibility)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3282 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 11d71b5f9fbbbe87eca49a3f0509b242f8dcf987
Former-commit-id: f423db6d313a6d410ce73584f3814a3a5dc7ac16
2011-01-23 15:48:44 +00:00
pouillot
764a9eff8e Optimized unit detection according to actual statistical use in current XML files (but measured NO in-game time improvement :-()
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3281 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 634ed5727a10a3eab72f03311b0292269df03ebb
Former-commit-id: 79678c5ea276e4c63bc2fc5c3c770f96f81e6b50
2011-01-23 15:30:36 +00:00
pouillot
566144ac42 Re #307 (code cleanup) Moved tgfclient::GfuiSleep to tgf::GfSleep, and use it in raceinit::ReInitCars as a replacement for an active-wait loop when something bad with car parameters
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3280 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d19b9b84da37bef77e0ac907c0310a96a3e98fe4
Former-commit-id: 4b0036d848cd2f60f65feba31d9a53e0e18affea
2011-01-23 15:03:57 +00:00
pouillot
d0dcb64b2d Re #139 (car data sheet) Reverted non-SI support for litre=l unit : we MUST treat it as an SI one (conversion coef. = 1), otherwise, robots would no more stay compatible with TORCS)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3279 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6767e04338c2ae818ae8b693c9b5d1dc2824ab85
Former-commit-id: 80c59e0a7be408017b459dbf29e8c4baf4565070
2011-01-23 14:46:32 +00:00
pouillot
21172524c3 Re #139 (human car choice at race-time) Display engine specs just added in <car>.xml (capacity, cylinders nb and layout, position)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3278 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2ee6a600aacc82165c7c698440b9078c4c8736dd
Former-commit-id: 5af4b7dfc1d67806200277948ee5221ac61068e6
2011-01-23 13:03:14 +00:00
pouillot
fbe5de5d93 Added support for the liter=l unit (0.001 m3)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3277 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 48cbc26139d1bce114bc2543aa3d606ededb35fd
Former-commit-id: 263551f96ab3ff20a458908b7614e2fd2853624b
2011-01-23 12:54:03 +00:00
pouillot
a2a1795de8 Fixed #314 (simple wet track mu computation for 2.0) Track XML file format cleanup (gathered/renamed weather and time of day related properties in new 'Local Info' section ; removed 'friction rain' and 'rolling resistance rain')
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3276 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0918b011e3656584a203ff3b12a8e5224062aa46
Former-commit-id: 4316d6f2e93e62d92e4af840d8f7ba208d123967
2011-01-22 15:44:20 +00:00
pouillot
f42fa6b0ed Set Simu V2.1 as the default physics engine
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3273 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 752a5f49dfc97aee45ab991a1462c8ca0d862c0d
Former-commit-id: bb803188f9dd4cc80fe965577b2fc3a30c5c4d96
2011-01-17 19:49:05 +00:00
pouillot
9b7ae09628 Fixed Windows build for r3271.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3272 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 228ea024012e8f2787e03963040bbea83b66d9a6
Former-commit-id: 9c08526893af83f9bb15ae6c43f9c1a795ac1038
2011-01-17 19:47:42 +00:00
pouillot
397eebd6dd Re #195 (Display options menu) Enforced glfeatures.h as the central header file for dealing with OpenGL
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3271 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 673ef0b30eae10640c3466bf8ee51cfc263ffe6f
Former-commit-id: 5c93d70f3105d177a35402b7603b1b457d2e0e9f
2011-01-17 19:31:37 +00:00
pouillot
67477711a3 Task D32 (More user options to improve frame rates) Reworked glfeatures layer and used it where relevant (menus, gr. engine)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3270 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 141fc5532a974f9e94e37a6b30d6b9d30b959675
Former-commit-id: 93fd21611a9bb716e336cea010f2cd317a6a069c
2011-01-16 23:01:02 +00:00
kakukri
cbc047bfb2 Decrease default value for engine brake coefficient
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3269 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a39c3be186ccf1589c34ff7a6e4abbeb7acdeb36
Former-commit-id: 9fd9372ea6ddb01e4a603804813d85a0a3a35241
2011-01-16 22:05:44 +00:00
area42
33649664de SC USR driver textures Cavallo
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3268 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e6b80529c1dd10cf720e0763f7a75cbaf4b5cc31
Former-commit-id: 25882dd844998b5a7550610219cde614bca25154
2011-01-16 19:28:08 +00:00
area42
a3c5494b36 SC USR driver textures
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3267 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: eb59f8dca841127cc288f36dd5bb15ef961c3cb6
Former-commit-id: 417eff0e38d5b01f999be60f15fc5270fc8643c0
2011-01-16 19:26:07 +00:00
area42
9bb02d1d0e RGB > PNG
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3266 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6b8f877f103e6ca9de203490d52e166d4c3a6fe0
Former-commit-id: ea217b6d129f6b5f1c85f49b238e9b8b973d792a
2011-01-16 19:25:19 +00:00
pouillot
df3afbaf4a Re #195 (Display options menu) Workaround for Xavier's SDL not reliably detecting actuall supported video modes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3265 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5f3944fa2da3a251e6c929795a3c139a60648ec1
Former-commit-id: e6a7990c190aaebae7aa29e24d1f6a957da9918e
2011-01-16 10:44:22 +00:00
pouillot
9769148f99 Add XML-defined tip support to combo-box, check-box, label and progress-bar controls
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3264 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 982a6c2e4d6a4722fb71712286507579c6b5b940
Former-commit-id: ce1fc4dd34f59f9fa742e1b00b3e703a0ad64c1b
2011-01-15 18:11:36 +00:00
kakukri
ccb425adbe Re #139: correct high speed grip calculation and alter cornering coefficient
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3263 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5985b2ac2ffa21664fc632516d414c3c10c05064
Former-commit-id: 9a1574f0de12d57c66cb4d62fd11c37c73c7c657
2011-01-13 00:29:40 +00:00
kakukri
daa6db5561 Revoke false scaling of engine brake linear coefficient.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3262 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0c62185f0ec3347a373e5db422192c5aa915bbcc
Former-commit-id: 21990c60d85f2574ce4efe37ef5997d2a99521f2
2011-01-13 00:26:41 +00:00
pouillot
512c02157a Re #313 (Improve Windows binary installer) Multi-plateform speed-dreams-2 install / user settings folder prefix, executable name, and sd2-prefixed tools executables names to enable cohabitation with 1.4.x
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3261 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 47fb2bf5a83e7f44c489be6620bee6f1982b2208
Former-commit-id: 8a24125280d7cc601d83687a869b0d0065cbb90f
2011-01-12 19:32:40 +00:00