pouillot
b7345f1f99
small code cleanup and optimization
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2706 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 793133ce0b7d78393cdf8529063b47042500e603
Former-commit-id: 60aae87f15e8ea8de2ffd2710f5cc8150903da45
2010-08-28 13:48:44 +00:00
pouillot
eb657248c1
Fixed *.xcf* files not excluded when installing robots data files
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2705 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 6d2efb8b580448c600594058b814ad666211f907
Former-commit-id: 3bf6f33472b42a558193cc203da02d3d22856b31
2010-08-28 13:21:45 +00:00
pouillot
1f4f504469
Re #144 (JPEG image support) : JPEG files can now be used everywhere a PNG was, that is for any texture (when it makes sense due to JPEG destructive compression) + added automatic transparent alpha channel in padding when loaded image is non of PowerOfTwo dimensions + added detection services for non PowerOfTwo textures surpport (but not used, as all loaded texture are forced to PowerOfTwo dimensions through padding
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2704 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 48a45028bfbc122914d522d7f77cc8517d6d51aa
Former-commit-id: 68e972f4d666ddded7946bfcf76d103e235b26b4
2010-08-28 08:47:30 +00:00
pouillot
781013ae63
Removed useless / no more existing include dir
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2703 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: b8aab0b051d5002b36ad03d04f9de8f6d9639189
Former-commit-id: 9359dab8c9b4023db17c1ac7317a4b52af062c30
2010-08-28 07:28:05 +00:00
kakukri
2cc879a33b
Delete SOLID subdir from simuv2
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2702 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: cb851cbdbe44dee3d2bd18e7b62a7384e77263d4
Former-commit-id: 7e8a1b692617c5211f336a0d6e4a0f8ef65556a8
2010-08-25 17:13:13 +00:00
kakukri
7931ee4b2c
Build SOLID in simuv2.1 and use it for v2 and v3
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2701 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: e6594eeed3e436c5340bc1e0e0512b2276aa4640
Former-commit-id: 356ab9b011f89407cf133a55c1e4e866d4de3301
2010-08-25 17:09:52 +00:00
pouillot
b475a4b0c2
Re #150 (Simu V2.1) Added V2.1 choice in Options / Simulation menu
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2698 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: b3d68933e20c14b02909eaed4d2b1b82b9d1a2de
Former-commit-id: 27b501ad529f9165945e18b009cfe4322eff3c63
2010-08-24 20:03:53 +00:00
kakukri
239d39fafc
Add simuv2.1 to src/modules/simu/CMakeLists.txt
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2696 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: de3100b8a857b3d8f43046f64c8494ecc3ff6d95
Former-commit-id: 6e4ac9a415b1502a0c91a43fcc0c8d7244c9a115
2010-08-23 18:23:05 +00:00
kakukri
42a656e407
Changes to build simuv2.1 with Cmake
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2695 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: b8be24b93d5d07028ca447e29207f7b8fbb8bbac
Former-commit-id: 045513738396e67b0338fd6e3e66218081a97965
2010-08-23 18:21:44 +00:00
kakukri
e69f3ca38a
Initial copy of simuv2 to simuv2.1
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2694 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5ceb2b6a316831c16e92ba2c71a164760e3ef061
Former-commit-id: 5e60abc87a5ebabe6a9406d85e918d2a152aca40
2010-08-23 18:19:52 +00:00
pouillot
91fdc3c5be
Re #132 (D13 : Dual-threaded race engine) : Fixed sticky collision sound in dual-threaded mode
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2693 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: cb9b9ad2a5fc5521988fecdc7df48d0ebb802a27
Former-commit-id: 85abe19664e6c6c32e96aeb206976bc1e5ad0392
2010-08-22 14:49:28 +00:00
pouillot
c255c8f069
Fixed minor MSVC warnings
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2692 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 547e28f79cade367479334f8b55d7f66bb68abda
Former-commit-id: f7c081453a85e4be6e0020effdf041c771dcb9a3
2010-08-22 08:21:36 +00:00
pouillot
e806f47470
Re #132 (Dual-threaded race engine) Fixed MSVC port of raceengine.cpp split
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2691 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: c7449b265a48473a2c5e7b556b8cee23992ca299
Former-commit-id: c24fa59266beb5b5f9c9b57ba45588832f4bae28
2010-08-22 08:19:58 +00:00
pouillot
28feb82d1d
Re #132 (Multi-threaded race engine) Fixed cmake failure after raceengine.cpp split
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2690 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: d9330d3532e9d3e8750a7ed4a7ba65346a1ee67d
Former-commit-id: 646520a16c1bd4911bf44283e2e52c511e7f7cec
2010-08-21 21:53:19 +00:00
pouillot
15873c479a
Moved small network code parts away from racestate.cpp, for legacy code consistency
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2689 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 26aaf9a8b7a0f0d1f855c0603dce2b036be45ac4
Former-commit-id: 6ef3e635a8da51f35e444c5e817b00197fe76662
2010-08-21 19:43:16 +00:00
pouillot
d6d3e0f19f
Re #132 (Multi-threaded race engine) Splitted raceengine.cpp in several files to try and make things clearer : racesituation, racecars, racenetwork, racemessage and raceupdate
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2688 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: deaeed58446335322107fc9f316e4c1372b18e30
Former-commit-id: 71a4af46ad3ca2dcd7247499644befa44be85540
2010-08-21 18:46:43 +00:00
pouillot
56b9d50419
Merged duplicate code into new GfScrCapture for full game window capture
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2687 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 011886253f810abc94e1eb960beac0c01fca1a17
Former-commit-id: 0c65c641272ff349435f544290ba9d123dd46e45
2010-08-21 18:36:41 +00:00
torcs-ng
6f9de66eba
replace Indy by MPA1 in championship
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2686 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 1739a5fb44d6079a776190bf792419d16a2ead48
Former-commit-id: 923391285b55dc1c31de14be562bec74b094f4af
2010-08-20 22:30:33 +00:00
torcs-ng
ada470da5b
add version in raceman xml
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2685 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: a23cc23a2f1a8c7e15087981a0fbb192d9d3431f
Former-commit-id: 5a39133b541548b7fe5b8da6631d5850ee4359b5
2010-08-20 08:15:48 +00:00
torcs-ng
ba16b51c5f
change e-track-6->espie in raceman
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2684 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 6bc7f9a4ecc70824d96145244338e1a53bcfaa1a
Former-commit-id: 3ad1a1c002193a0d01ad43bdc906aff96c6a49af
2010-08-19 15:49:27 +00:00
torcs-ng
feaac99a78
fix new name e-track-6->espie in career mode
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2683 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 9b6cc47140f903a27c474b75df50839d866e05f8
Former-commit-id: 88561062e6cb6357208a89d51424730962af5650
2010-08-18 14:29:31 +00:00
torcs-ng
a72e13459a
add default.xml in SC cars for Human
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2682 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 249de2c27e224ebe42e711f77b5f2be7029be090
Former-commit-id: 95065e2d739d316e451ac73813010ad2ac38b111
2010-08-15 23:30:10 +00:00
torcs-ng
3868250071
change e-track-6 to espie in drivers
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2680 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 43a75d1ed16e41da1cc8b24c84a68e9b9adf73b6
Former-commit-id: 6deead19912f7bd8668d9abc1490420efd701d60
2010-08-15 21:55:17 +00:00
pouillot
494171deb2
Re #145 Fixed compilation #ifndef TRACE_OUT
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2667 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: e73648dff99c965ffb71bf29622cb645b1acd794
Former-commit-id: 4fdc6e133ef09792d4762c1a0ec24bc3f4fb6f79
2010-08-15 13:43:14 +00:00
pouillot
90e1ece910
Re #139 (Task D30) Save human car choice also in <module>.xml as a default in case no human in race + Re #138 (Task D29) Fixed crash on ESC in Car Selection / Settings menu + cosmetic on some trace messages
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2666 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: bda1a31c5eff77f502bf8a523e60157878b2830e
Former-commit-id: 681347b4b998d3cff39e2a829d386ba0e1f41627
2010-08-15 13:38:05 +00:00
pouillot
49e586fc15
Re #139 (Task D30) Cleaned up Player Config menu from car choice controls / code + more consistent names for some menu files
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2665 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 2f6616550715a67e776661c9923adbf6c72db09b
Former-commit-id: d89bc0e1d1f96810544cc35341e85f95f4579e2e
2010-08-15 10:09:22 +00:00
pouillot
ea9f7fbeb4
Re #145 Level name only at the beginning of logged lines
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2664 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: c238323b1246f8036caf7b37013970d2c4c03f73
Former-commit-id: 6808f814bd5c1f44252ddfda794d51e55f696a08
2010-08-15 10:06:43 +00:00
torcs-ng
4554097f8d
remove build hymie (no src removed)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2663 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 45dc7ddfc9b7598e7c2d32e2e7058fb359864f42
Former-commit-id: a9966e55158311cac40f6c6448bdda0689b75ee1
2010-08-14 22:48:26 +00:00
pouillot
cceb3f917e
fixed r2657 broken compilation under Linux
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2662 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 65346f35003f91c6bedc5bdc7a0293a50989c2b4
Former-commit-id: 18b4ab41972822c38b672b19667b2cf89823b744
2010-08-14 22:40:33 +00:00
pouillot
e46a4f9f0f
fixed r2657 broken compilation under Linux
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2661 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 9bf8be582eb2a2197a16956cdb21a697130e940a
Former-commit-id: 5edbd9c481645e7c5bf8c0cd6ffef98fdecd8a92
2010-08-14 22:35:06 +00:00
torcs-ng
683b6b98bc
fix build error with modinfo.cpp and linuxspec.cpp
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2660 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 2c4a1de67a0558890c9b7b5df72b48a9254398b2
Former-commit-id: d4350c8eaadda4ccf86e7ce588b7588f7b5ae37b
2010-08-14 21:48:48 +00:00
torcs-ng
b63d4269af
remove message file install in macro.cmake
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2659 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 114b3ddfe2972aee7e822898136750d3272820f6
Former-commit-id: 6208c48dd5e5c93ad8c31ae846b8927a13d13fc4
2010-08-14 21:19:06 +00:00
pouillot
98d5ffb873
Re #145 : Improved tracing system in a transparent way for existing code + used new tracing functions in some few places, in order to test.
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2657 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 31fee84a0e34b72dc2289eed76c4f9ffff297bfd
Former-commit-id: 0775feda00e074916ecce57c9caaf14aa6d7e962
2010-08-14 19:29:07 +00:00
pouillot
2ef65c36eb
Fixed a new/free mix in grLoadPngTexture / grMakeMipMaps that crashes under Windows
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2656 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: aea0cdba81b0efb7d0438c1ae04c25612a1aaffe
Former-commit-id: 290c77c034a47aebf637e3a404ad267b74c21558
2010-08-14 19:17:51 +00:00
area42
f2b20d925f
New 2048 SC Cavallo textures for USR drivers
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2655 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5e6e5829a3ec7b97e33e9d186ee606e09d99f09a
Former-commit-id: 98eb23a5d5f6bbd3d6746362e183df3fb5010794
2010-08-14 18:39:23 +00:00
area42
e78868cadd
New 2048 SC Cavallo textures for Simplix drivers
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2654 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: a865fbc78b84eaa17c888d85bfcae2a984a14eac
Former-commit-id: ec2de4921ed94c5f8ca694f50d98eb1e3cdc56ef
2010-08-14 18:34:43 +00:00
pouillot
73468184c4
Re #144 (Task D05 : JPEG image support => upgraded GfTexReadXX API for transparent JPEG support everywhere PNG was possible) + Re # 138 (Task D29 : Car preview and selectable livery => moved preview image to JPEG for gaining space
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2651 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: aefd275ebcb21163e84c2efecfaa6f20db247487
Former-commit-id: e1ae61ce136e25eb127e05179b386dbc37351fde
2010-08-13 19:07:16 +00:00
torcs-ng
69b6bdbf61
change macro.cmake for install default.xml in simplix
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2650 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5ad22b7b2de731713f2087fb5d8802eb761591a6
Former-commit-id: a2b51c308d1a69e79c4def10586352e33f403ddc
2010-08-12 17:52:27 +00:00
torcs-ng
268bd3f20f
remove in CMakelist.txt 'bt' and 'k1999'
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2649 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: eca9cc15570eec1640741c73525fc4992d813487
Former-commit-id: ae8c3f9abfea9468c5c968bd462d675f54f54d77
2010-08-11 22:22:11 +00:00
martkelder
4732109461
Set car->_driveSkill to -1 if no skill known with this method.
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2648 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5b445bb4fbc7580551c1a1a6e586d1fd11ec7853
Former-commit-id: f551d3736cc5350394edaa06c674169c25265e86
2010-08-10 14:02:33 +00:00
martkelder
86dfa42227
Resolve memory leak I introduced by always using strdup / free for oCarType (inside the simplix robot).
...
Use reliable way to check if the car is extended (oExtended) or not.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2647 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 4762ae1a23f6e4119695ab8f5c4a7d8229034e11
Former-commit-id: 4f136468c8a4d46344f8a2355499f27979819a65
2010-08-10 14:00:50 +00:00
martkelder
174fc545cf
Fix bug in standing menu.
...
You can now go to the next screen with enter or escape instead or with espace or escape.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2646 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 871819059e98955d6195c26c7087dbcca368e0ee
Former-commit-id: 6917adfc6a070d714b5457d8f8daeb5ff9ffdafb
2010-08-10 13:59:11 +00:00
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