martkelder
976d83e2e7
Remove unmatched malloc / new / new[], free / delete / delete [] (valgrind warnings)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2645 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: edb60b23f5f096f638cf72d6ffdc344633f078eb
Former-commit-id: 9ba065f10d0f3ad5f8bd51522763e5f333a66d8a
2010-08-10 09:01:37 +00:00
martkelder
60cf063264
Use teamname from params if available
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2644 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 82517fffed4a437def1ad896fab9e2660b86e975
Former-commit-id: 7954efa84c198c0a486457eb7fb41c46c50e8f5a
2010-08-10 08:59:59 +00:00
martkelder
dd08548fff
Install the sc-* and ls1-* carsetups for simplix robot
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2643 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: f958e9c1b16225c3474e0319f7ed3913ac41ff40
Former-commit-id: 75426ed1d3ec423059e698ec3be25f8a412607b8
2010-08-10 07:22:20 +00:00
martkelder
e8f0c004b8
libsdlmain.a seems not to exist on all systems.
...
It also doesn't seems neccesairy on all systems, and if neccesairy already in SDL_LIBRARY.
So I made SDLMAIN_LIBRARY optional: cmake will not fail if SDLMAIN_LIBRARY isn't found.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2642 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 29a1e1db95a62db8f9241a9a13dc65915c859d9d
Former-commit-id: efa0d03369bc285cdd9560b6523cde2d24a62ba8
2010-08-09 20:09:12 +00:00
martkelder
dd23e28811
Make simplix opponent in career-mode
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2641 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 050d23e76d7ae163ab0d4c3464947fd2cf1c5148
Former-commit-id: aec9f6ea47e05faeaa223f8c8b84cea4034ef0b0
2010-08-09 15:59:23 +00:00
martkelder
6de8c21a76
Enable countable many instances for simplix (sc-* and ls1-* cars)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2640 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: d27bbef1d694ef273a745ce898ab4e3379939c46
Former-commit-id: 045cf2c6a2b5c7b0e284cfa8ed777a8280e17544
2010-08-09 15:56:25 +00:00
martkelder
8bf3440df6
Link to libdl if that library is found for speed-dreams (linux), sd-menuview and sd-trackgen.
...
This should solve the compile issue of madbad as posted to the speed-dreams-users mailing list on 2010-08-07.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2639 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 8fc6a0c1d5eb2cab83c9ce52312408caa26bba65
Former-commit-id: 48111e9882acf4fa4f15afa46c64a17fefec5bda
2010-08-09 15:23:08 +00:00
martkelder
12039cfd01
Make previous commit compile
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2638 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: ad796e67d84c3990fae7e0a13687a6b7a6516274
Former-commit-id: 82de384e06c548f43067abd84b1afa77f538d679
2010-08-09 15:19:07 +00:00
martkelder
b8add54f95
Fix race number in the menu during a championship or career.
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2637 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 557daed176780c83e8c123ee0db4b9e3ea743cef
Former-commit-id: 8021fb8df026ba552d0b2fa186a4ac99388eba37
2010-08-09 15:08:35 +00:00
martkelder
509327eb1e
Fix crash when displaying starting list with extended non-human cars
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2636 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 0f97958c720489b119fdb3953b44ef60c91c54f7
Former-commit-id: 8d562dd691c2b46013e0e4aa51ad7701c0d836ea
2010-08-09 12:25:46 +00:00
martkelder
bf23ce4b73
Update version of career xml-files because they need reinstall to the users home-directory
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2635 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: f73fe84ce46b65b43cd33792fe0fa51b5d3c9937
Former-commit-id: 409b05b0f5a4e169ea749441514ec06724dc0ec7
2010-08-09 06:15:29 +00:00
martkelder
477b14df4b
Make LS1 the highest group of the career.
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2634 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: b847ab42a196966dd69698cef43df69de36e31d4
Former-commit-id: 6643dca7610c0230ed362cc8d608528508459376
2010-08-09 05:53:20 +00:00
martkelder
f4e44c0697
Update supercars names for career mode
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2633 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 53d36bfbaa2b037a6c1e5c5adcda716057ea9113
Former-commit-id: 34ab447dbdc7081f79f918bd3b2b3e7a7cc48fd1
2010-08-08 20:37:24 +00:00
martkelder
5f3928f05f
Fix crash when the human players are loaded for the race.
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2632 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 075b72f668481ff0b0bbe2bad7d211aeb2955e41
Former-commit-id: 69b804b11e7b13504e1ad7b27582202f897870f6
2010-08-08 19:37:18 +00:00
torcs-ng
fd7e64f184
fix little bug with cloudtype if rain
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2631 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 6a39681482030852c64a054b3a4a754d16e81014
Former-commit-id: cb0e41d43e59a1187ec26d83a4ff4c76b7a5afd1
2010-08-08 19:31:57 +00:00
martkelder
49fd9645be
Ensure that extended mode is always used for humans. This way, we can use normal indices for the human drivers (human and networkhuman).
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2630 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: c01e10e89a9c71df0694b0652e431e9b3f492568
Former-commit-id: a60c1a52d466aea92138175a1215e8a90bbd1154
2010-08-08 19:09:10 +00:00
martkelder
699e9131a6
Change the driverconfig menu such that it saves the car in the xml-file just as in career-mode.
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2629 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 800b5f065d2fe5ee0cafd3a81417fd4c0b3ed68b
Former-commit-id: 4137260a1a78984621564ca1c675f54edf9a2d20
2010-08-08 17:12:59 +00:00
pouillot
ec31f714ae
Improved trace messages
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2627 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: bd60c0b986b72d1a52b9e36f27c939c0e7c64a52
Former-commit-id: 0397b6a5afec1174c7285df11c52e974007b05f4
2010-08-08 13:01:51 +00:00
pouillot
95c9bc944e
Workaround for arrow button images strange internal layout + fixed small Driver Select menu init bug
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2626 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: a3cba5431eb56435ef999d44a0ae7ee6494a058a
Former-commit-id: 98d2fe3d881eea987744c7ef5d4d852669f00ab7
2010-08-08 11:54:03 +00:00
torcs-ng
d25f0ce80f
add mpa1-murasama in simplix_indy
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2625 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 19fa52a2871d54d3999482c306ed424072320428
Former-commit-id: f014f86a5173f055d6e038ea04f5dd97fcdcfc79
2010-08-07 20:44:18 +00:00
pouillot
ae54200a77
Re #140 (D11 Support for multiple cars with same 3D model) Done. Check with MPA1 Hartbill 2002 test car
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2624 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 040088af568256d3af811b86e66cc6d992fccdda
Former-commit-id: 5214faa63697f9453fcadd9099ae8783109c3702
2010-08-07 10:30:49 +00:00
pouillot
09845fd18e
Re #138 (multi-livery + car preview) : choosen skin now actually used in race (please check with sc-lynx-220, sc-fmc-gt4 and sc-boxer-96)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2623 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 26cdf13f0dee32bb1a2d42fec111643423c263ed
Former-commit-id: c351996fb0b2d7ea3e12a0daca9dd4648ec7d457
2010-08-05 23:00:25 +00:00
torcs-ng
79e4664cde
delete all indycar01 in simplix
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2622 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 0f7e4e0a2606c1be9f56421ee5beca197563f680
Former-commit-id: a1d5471132a6fafc28d83179b0bbaf3580a12d5c
2010-08-05 21:13:07 +00:00
torcs-ng
5aba014b3d
change indycar01 to mpa1-murasama in simplix
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2620 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 116a67938a5553a66b2864964d40c525ed0495bf
Former-commit-id: 4a5b3e3ffe5c0ecdfac5416e0d29efccc06871e5
2010-08-05 21:07:23 +00:00
pouillot
1f9be29528
Do not display item indexes anymore in scroll-lists (useless, space loss)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2618 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 1df9a1a831c67e4b6176d8a2c654bcbbb1ee66f2
Former-commit-id: b162aa9ce50375e6bfd977df97dee300bc928ac4
2010-08-05 16:16:25 +00:00
pouillot
2a292d12f5
Re #138 (multi-livery + car preview : chosed skin written to <race>.xml but not yet used in race) + # 139 (human car choice at race time : car name written to <race>.xml but not yet used in race) + first try of car data sheet
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2617 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 4cfd76927d2b7b44b4222316ae6e79e311199350
Former-commit-id: 63154b67f86084db2e3941726f4f1ecb75d5bbde
2010-08-05 16:02:45 +00:00
pouillot
6836948526
Fixed default time of day value when not specified in <race>.xml
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2616 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 00de96e919396a0abe6015515885367f7a1a4b0d
Former-commit-id: d9eaff959028879a123d020cf1f216df8068fc09
2010-08-05 14:11:10 +00:00
pouillot
b026d1d091
Re #141 (more friendly bottom button in menus) : Next on th right, Previous on the left
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2615 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 4cfcc8c7175436149108dd9ecc5a0f03e672c721
Former-commit-id: 25991c0b45b5736bf487effc88bd295cbad85b9d
2010-08-05 13:13:14 +00:00
pouillot
1154b49798
Fixed ComboBox enable/disable support + Button disabled state
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2614 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 874a6d4af5f0c12c01be6c21f81f3b33c70efd12
Former-commit-id: 5e05d2b682cad5ed862516477f38bcf196e35094
2010-08-05 12:50:35 +00:00
pouillot
38c0ed6634
Fixed multiple initializations of car select menu
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2606 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: ba6642852a9a7d04ac3eb1e2e1ba7c7ca14257dc
Former-commit-id: 59ac061d3a5d358008f8f4e58fef5ed59ba8171a
2010-08-04 09:42:42 +00:00
pouillot
9450bf2a40
Improved GfParmReadFile fopen error message
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2605 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: e0899752ce4f5eb545e488d848f08fb67cc2d78c
Former-commit-id: 9955f90f801c9d64af2f7f1124723076a79ebaf1
2010-08-04 09:42:10 +00:00
pouillot
fe9666aa23
Re #138 : Fixed temporary Ruin'dows / MSWC port workaround for r2595 commit
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2604 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 4d83cae523702258c781f6f8c67fb2fafba83d0d
Former-commit-id: 2fa177c3fbfdb4b663fa934ae082d5a1477c03a2
2010-08-04 08:35:35 +00:00
pouillot
7fcc493b58
Removed STL containers DLL export code under Windows/MSVC (useless now, don't know why !?)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2603 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 3653a8a45d47e8d9517bd41d1ae383d73d5530e3
Former-commit-id: c38e9d55dda1d792866fe7370f36257a1dc58ebc
2010-08-04 08:34:13 +00:00
pouillot
eac55cb1dc
Code cleanup
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2602 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: cf17660ae79ac992a0e98e9d50e391b8d52d3efc
Former-commit-id: d88c45b9eb4096ee1e5c51863b5f35c8d0ca6e72
2010-08-04 08:23:55 +00:00
pouillot
733c301fea
Hided boring MSVC C4996 warning
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2601 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 70b2cd4fe9de0f670b52df76429e4ed6f48ac19a
Former-commit-id: 49060797a88731640bfe93257d9cf798835408c9
2010-08-04 08:23:01 +00:00
pouillot
05c6389d7d
Re #138 : Temporary Ruin'dows / MSWC port workaround for r2595 commit (needs a real fix)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2597 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: fd2ea001e03b5f9fa7e39cb6acbe81a5c7ab4b8a
Former-commit-id: 461e78742273f3019096d92a779f86d9f3e6a79f
2010-08-03 19:23:24 +00:00
pouillot
009eec38c8
Windows port for "Enhanced GfuiMenuScreenClass to wrap most of the guimenu API"
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2596 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 862080585160fc2b6466ae6ea54bd0c76f6ff979
Former-commit-id: 7c47c7d6884fe01dec7738553c6338d6d4037ba9
2010-08-03 19:16:11 +00:00
pouillot
cbc300fd9a
Re #138 (Task D29 : Car preview and selectable livery) Updated driver select menu for skin selection and preview ; multi-skin and preview for sc-lynx-220 ; chosen skin not yet used in race
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2595 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 7da5e4090b36bf4e018f3f0255586dc8ea5e740f
Former-commit-id: 64cfa6b69e1ac0da8b5de921539e492d4344a978
2010-08-03 17:39:42 +00:00
pouillot
92827cc216
Re #139 (Task D30 : Human car choice in race config menu) New car selection/specs preview menu (layout only, does not work yet)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2594 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 031a24dbf092daac6cced595f22beec659acfae0
Former-commit-id: d4ad40d09824f216258f55eda932699a9c09b246
2010-08-03 17:36:07 +00:00
pouillot
9aaf988694
Enhanced GfuiMenuScreenClass to wrap most of the guimenu API (makes menus code shorter and clearer)
...
Improved carinfo singleton pattern implementation + method names consistency
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2591 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5abca61f1467714a7784c075c2f474a8b3e7fa64
Former-commit-id: 1fb1f8b148be656d6b35fe57fcb4d4d0ea3513d4
2010-08-03 17:21:45 +00:00
pouillot
6c76718752
Added prefix filtering to GfDirGetListFiltered
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2590 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 09993b9e5e44f966bd44d66552d8705a159df048
Former-commit-id: 0a7c1a94d0281e55447a788b73efa6e4992710e4
2010-08-03 17:20:15 +00:00
pouillot
b45bffb20f
Added prefix filtering to GfDirGetListFiltered
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2589 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 948d6d8e8fa4d49f76975d910074c3f03cac6370
Former-commit-id: bd79fcfa7831c9b58eb7924c7de4a8b1dd236ed3
2010-08-03 17:15:49 +00:00
pouillot
fede6877a2
Enhanced GfuiMenuScreenClass to wrap most of the guimenu API (makes menus code shorter and clearer)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2588 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: a147e090353c377e96fae90fce4330659cfbb08e
Former-commit-id: d12855823d5fd9c1e9e86d8f11ffa1cdd2e905be
2010-08-03 17:14:11 +00:00
pouillot
337a584fa5
Added user data support in combobox and checkbox controls
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2587 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: df17938a24decbf27a39846c81fd8313fcfbbda0
Former-commit-id: c8ca75190d06f7444a1c3ab7911f3735282a1b92
2010-08-03 17:11:14 +00:00
pouillot
e3b4bd6081
Added GfuiScrollListClear function + added user data support in combobox and checkbox controls
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2586 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5960021a4dc0d2ea86f52482106fcd79d3d241c6
Former-commit-id: 9d54f6c9a07654a39c41959d0848dc1f94a0501c
2010-08-03 17:10:23 +00:00
pouillot
813a1420d0
Added GfuiScrollListClear function
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2585 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 8cb2273438676af76c60e54b73c977960422409b
Former-commit-id: 5f90f15484b628ab7b4aafbe3218d2b80a475f33
2010-08-03 17:09:10 +00:00
pouillot
f9f84b9ee5
Improved carinfo singleton pattern implementation + method names consistency
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2584 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 282fc221bb8214a2b0e4e5276978fbc8f4801ceb
Former-commit-id: ba0cf161938953811291052227edbd70629fc72c
2010-08-03 17:07:18 +00:00
torcs-ng
bd4dcef1ee
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2574 30fe4595-0a0c-4342-8851-515496e4dcbd
...
Former-commit-id: 907e6be668bf27f355a443f8c860f273f0ce2b04
Former-commit-id: 9a30bdedc303529e940fb849bcceeae6b5780238
2010-08-01 19:21:18 +00:00
torcs-ng
3c9991b077
integrate ssgasky in Speed Dreams for better migrate on OSG later
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2573 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: cb9a2b2eddd399b8b880dd27866eb9e7d7602977
Former-commit-id: 768d0e92fe0205786db3d67306741009b8b1cf56
2010-08-01 17:58:04 +00:00
torcs-ng
88dba33557
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2572 30fe4595-0a0c-4342-8851-515496e4dcbd
...
Former-commit-id: 4ae97130153aceaa3c1b055f3f194a3827b135d4
Former-commit-id: 5fc7aacf1981c89f38ca2f580b6a8ebf26e0559b
2010-07-26 15:51:13 +00:00