Commit graph

1183 commits

Author SHA1 Message Date
pouillot
7456b08c9e Re #330 (D16 Career mode) Fixed crash at new career start / race on 'no name' track
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3351 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 72d4b27f054a73008b2a2077f64dc72929ca9b11
Former-commit-id: 157c9eb4723ed67c308a00a38f135cb7cd8701b7
2011-02-11 17:57:41 +00:00
pouillot
d01c60c59f Added GfParmExists function to check if a given section exists (fixed clumsy previous commit, sorry)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3349 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 17bd5746bcd4b7feae66513ed8c6376d8736a76c
Former-commit-id: ffafca2085cfcdb4f0530df9d4dc80cf4ca714f8
2011-02-10 11:10:32 +00:00
pouillot
ca09b52e03 Added GfParmExists function to check if a given section exists
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3348 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3e3ee00bc01543ad1a0d0379ccb92cb388162ce4
Former-commit-id: 030f228abf47f29c021506ae25f688721ede1463
2011-02-10 11:00:06 +00:00
pouillot
611a09f3fd Re #241 (race config preview in the raceman menu) Fixed broken results loading system + loading results no more resumes the race, but only shows a preview of it ; the new Resume button actually resumes it
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3347 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 40c08dc4c2d2e6dbbe1894101f690be4eb35743f
Former-commit-id: b1696873f3698f5e4a511fbf38446e3fe00efd1f
2011-02-09 16:57:10 +00:00
pouillot
543a1cf6db Re #307 (code cleanup) merged RmShowStandings and rmShowStandings + renamed RmShutdownLoadingScreen to RmLoadingScreenShutdown + improved ReRaceStart traces
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3346 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 385254c3e585723c7b322b4ce93b5045d237e4bb
Former-commit-id: 8c698cc8e96e6f81b44779646119ed195baf3b58
2011-02-09 16:32:34 +00:00
torcs-ng
8189054fbe Fix moon disappear bug in dynmaic time and I think fix dark color in the same mode
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3344 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a690bc98351913b65ddb18c4bdd45d81a9daddbd
Former-commit-id: 25346f470c1eb37822851469404c26984114ced3
2011-02-08 10:39:38 +00:00
kmetykog
6e1a0a3839 Store shadow file in PNG. Re #326.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3343 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 19534eacaa76acbdc81b367af4829267efbe1716
Former-commit-id: d8f7b02655741ee3f75a326be6fd73f3bdde7e9d
2011-02-08 09:10:33 +00:00
harunasan
7bb9debefc Get rid of the wing adjustments in the tracks folder for the LS-GT1 cars
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3342 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c654bc5a94ffdb55e5c87f1133b8ae39c1f6e833
Former-commit-id: 4396bde9d36b594f57d4d75a5b0cae02a5bfe843
2011-02-08 01:33:22 +00:00
kakukri
b0e5d6c076 Re 139: estimate differential efficiency for top speed, use average track grip (1.1) for low and high speed cornering calculation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3338 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e66617fd305db8b2d564c4d7c423923ddd159739
Former-commit-id: 54b6a2354982cfc5b1744781645a17be0b94d4a7
2011-02-07 19:52:58 +00:00
pouillot
d703a76fde Fixed #194 (Human driver sets throttle to 0 at second 1.00)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3337 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b093821372656a57b8449467a7f4177ee9fd3c72
Former-commit-id: ff368290e03ca1f3be3e514718acb1606928adde
2011-02-07 18:03:05 +00:00
pouillot
ac000cb136 Re #139 (Task D30 : Human car choice in race config menu) Propagated the new car category filtering system (see #330) in the Car Select menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3336 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ce55b47adf09917125eabbd90f019c2c67bfa424
Former-commit-id: b2cff48b0d23288d240242dbdcebbb8922493d45
2011-02-07 09:44:27 +00:00
pouillot
7616446533 Re #333 (D26 : New / enhanced menu controls) Added GfuiComboboxGetNumberOfChoices + cleaned up the combobox code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3334 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d43e042a3a934bc74cede329b65e526e100b65a2
Former-commit-id: d2897d7a96131ce406370c6d13550cd2b0ec991e
2011-02-07 09:35:37 +00:00
pouillot
7daa125973 Re #330 (Task D16 : Complete the new Career racing mode for 2.0) Fixed Driver Select broken filtering on car categories (always 1 and only 1)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3333 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 596bb84774f001708abec2e29bfc24fae80e0669
Former-commit-id: 5266832dc9e9841b9ba3c8aae470c136247b3d86
2011-02-07 08:18:22 +00:00
pouillot
90e565f811 Re #330 (Task D16 : Complete the new Career racing mode for 2.0) Added a race-type-customizable filtering system for the car categories and driver types + applied it to all race types + added better (but still not correct) support for the Career mode in the Raceman menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3331 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: faba08d04daad7b5bfaa8deab8f735aefcc63779
Former-commit-id: bd867efff6a2ee8ee71ed48966c6684b8834a749
2011-02-06 21:55:37 +00:00
pouillot
76280fb323 Added menu dynamics comments
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3330 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c72059c4132717212a18cbd69c357b35ee677810
Former-commit-id: 1307613c59030b6916466bf99e3eb981ea2734fb
2011-02-06 21:51:36 +00:00
pouillot
f8b871a8e0 Fixed comments
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3325 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1b6f38ebf76141efd3d75195bcd0200497e387dd
Former-commit-id: 9a586d926d45485e13221dadf25b164fb2e43a00
2011-02-06 18:34:37 +00:00
pouillot
130e77670d Re #240 (race select menu is messy) Added Career sub-type combo-box + enlarged race menus labels to reduce title clipping
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3324 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8f6587dae868a1857b61aa7443144d50a8444d27
Former-commit-id: e77f524eb9bd6354b5529ca801ea032e697556d6
2011-02-06 18:33:33 +00:00
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