Commit graph

1284 commits

Author SHA1 Message Date
pouillot
292e72c1bc Re #307 More cleanup in tgfclient API + fixed bad default font for GfuiMenuBackQuitButtonCreate
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3590 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a65673c0498c490991b8e096eac8256f344dc354
Former-commit-id: 4aed56d3746341cb7fd648f31d22c6001c217968
2011-05-19 21:11:32 +00:00
andrewsumner
0d7641ac34 Made Asr a little more aggressive
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3587 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d460c12dd7f4a832bf76dd39ea065d6fc4d3db8f
Former-commit-id: 716ecb2d90a41a890364bbd1f66904d411cc52e3
2011-05-19 00:01:54 +00:00
pouillot
2c5f42a24e Re #307 Cleaned up tgfclient API from duplicate and undefined functions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3584 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a9439b294a728086fd442d89685d668c1c64428f
Former-commit-id: 9dc6cf7bacd4bc4e74898aee7f7074f1ca16232a
2011-05-18 21:27:02 +00:00
pouillot
8bc35f1e02 Re #307 Restored naming consistency in tgfclient API (mainly the new menu services)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3580 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4a238f4a57b05eff53a88f7d380f773de2281d79
Former-commit-id: 0a9dafded6396b07ad30541ddb123390f0aa9db9
2011-05-17 21:05:59 +00:00
pouillot
1837e681fc Re #307 Fixed unused constant warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3579 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 83f6303c7548b76cdfb61766072c5167aeadce05
Former-commit-id: 9eba41f4c4c69a9bdda1204248a940b25faa46d5
2011-05-17 18:37:43 +00:00
pouillot
70301b3866 Re #374 Fixed crash when entering and immediately exiting the Race Select menu + restored unloading the physics engine at the end of each race (not sure useful though)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3578 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 846ca1128fcf5a7765913d9d2637b633d25a20f7
Former-commit-id: 785a781e5f77eaa6d872967f850e4847374ee908
2011-05-16 21:17:21 +00:00
pouillot
b8b3d8e53c Fixes #389 Moved the graphics code for skidmarks, car rear, front and brake lights, back fire and smoke textures to load the PNG textures, and removed the now useless RGB ones
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3575 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 084e635ef67f6aac6e49e458d0031676528104bd
Former-commit-id: 038960095404d5c72325cb9a986b4271ee004326
2011-05-15 17:08:26 +00:00
pouillot
1e9d30111a Improved race loading messages about English language correctness
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3573 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 583ad4e43dcdb0293ad78a024147f421910a5c48
Former-commit-id: dc97e42c108d46034f234d5f51923b647bec525f
2011-05-15 16:28:21 +00:00
pouillot
773e075312 Improved loading messages (the 'Loading track graphics' was lacking, whereas this process is sometimes long)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3571 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 77d56dbf2183846e8c81a88d2910d041c1d9097d
Former-commit-id: e4dc6cc6fc570690e9bba55dea5340663fba6df1
2011-05-15 16:09:27 +00:00
pouillot
785c73efc4 Re #374 Moved simu V2, v2.1 and V3 to the new C++ module system
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3568 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2f23de33f4aade122af1af4439d9a83405c731dc
Former-commit-id: 5fec400dad40331b3b9d18b77490bded152c8cb2
2011-05-15 15:55:24 +00:00
pouillot
6b77923bf4 Updated game startup instructions (added a Windows tip when the game fails to start)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3564 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f4fccc9d0bb992a1560b672dc8e4f6abadcbe48e
Former-commit-id: 8e0a3b62b2a9015d5e2d299edbc8ed8837152295
2011-05-14 16:19:26 +00:00
pouillot
89c2510901 Re #320 Back to the 'compatible' video init mode by default + SD now auto-reverts to the last valid video mode when a new one is set but fails
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3563 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ac9da95aa0bfb5f53d8a4cd4448cc75781ab438d
Former-commit-id: a7e91a835c31eef348d73c0eed75335d4ec92e0c
2011-05-14 15:48:21 +00:00
pouillot
f7a7800687 Re #307 Added GfParmShutdown, GfParmRemoveSection and renamed GfParmRemove to GfParmExistsSection (Warning: this revision does not compile)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3562 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7aa602429202a8ad7eb314567b8d165c7ce1f8a4
Former-commit-id: 2616e8b3526f997efae3fef8ff20e7f2c9a73ab3
2011-05-14 15:45:41 +00:00
pouillot
691299895a Re #307 More detailed traces about car setup building at race start
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3561 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fbc4a3d04dcd62e49b65a8867de91e6519f6df4e
Former-commit-id: 087843619156514965b482c3d1d46ce5876e060c
2011-05-14 15:33:32 +00:00
andrewsumner
956db469e8 more refinements to Asr and Abs
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3558 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2ea1ab8ee8803db8918eefc67c7bbb6315b3ccb7
Former-commit-id: dfbc8eccc2442070dcf61f255c114be3945b9244
2011-05-11 00:17:00 +00:00
pouillot
3e2356b66a Re #293 Prevent static background from being loaded/sent to the video card if sky dome enabled
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3556 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1bc9fb6129fb2bbb65d3bf0cde58fc4902d47d12
Former-commit-id: a7396c7f8c0f9539374fcb1a1a808e888f41f650
2011-05-08 14:16:48 +00:00
wdbee
105030a812 Simplix_ls1 archer+vulture+toro+zenteck default setups 2
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3549 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6aca34ed9b2a0d5ab614a20bab33ff3b6dd33ed7
Former-commit-id: a6c8525e014b96aa8d768b477e592fff31c20812
2011-05-04 21:53:52 +00:00
wdbee
9b9392d2b2 Simplix_ls1 archer+vulture+toro+zenteck default setups
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3546 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c6015d058309216282f25cf5ac34cf763f618221
Former-commit-id: ce83fd7ec4f485f6a821cdfc30e9548f5956821e
2011-05-04 17:54:10 +00:00
andrewsumner
f1b840634f minor update to some path examples in the Windows install instructions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3545 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8cde1369fc52cb3bae8720f5a3e8d681dfb77f95
Former-commit-id: 145224a9e23ff5713cb981386dadfb76f5ff23d3
2011-05-04 00:15:12 +00:00
andrewsumner
8c4132c6f7 Adjusted Asr for surface friction
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3544 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 54f47b96a6bf26df69bb89f0b38cca56f33a87b0
Former-commit-id: e4dc4560ff6b78dac89be56dcb802733f914e1bf
2011-05-03 23:58:43 +00:00
pouillot
965074bcef Added Christos' explanation (as a comment) about the 'max_extend' variable in SimWheelUpdateRide
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3541 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 196bca8fcb643e55e23c89052b0714f772b42307
Former-commit-id: 7ef4044bfcd0883bbba619a67ac54e2de2ac2a24
2011-05-03 16:46:53 +00:00
pouillot
aa9a40f03a Re #320 Adopt the Windows compatible detection method under Linux (it also works), for simpler code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3540 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 34affa3f49f01783c9bf5a90a615155bf8530f03
Former-commit-id: 343db91a01caf5b1040060a74e756d50a2c1623a
2011-05-03 13:42:56 +00:00
pouillot
f6be8dc99b Re #307 Fixed generated clobber.sh clumsily removing some source files under Linux (forcing the user to 'rm -fr doc/man' before 'svn up' to work again)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3539 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bce27dbda574218efbf8814e7634fb7e75e9fd0c
Former-commit-id: b811898692f5e62677879c6c3c29ac72841268af
2011-05-03 13:33:52 +00:00
pouillot
656a98aef6 Re #307 Cleaned-up the non-advanced CMake cache variables, to make things clear about the really useful "first-level" build options (toggle the 'advanced' check-box of ccmake or CMake GUI to make the hidden vars appear again)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3538 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0af33d040a51a95c28335bc2b09677567810a23f
Former-commit-id: f627211324d617094e7f0c938e55bdb249b29048
2011-05-03 13:15:11 +00:00
pouillot
a0519dc37d Re #320 Fixes the detection of max multi-sampling level under Windows
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3537 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f650456ced9d536359cc929b87430418e1c2823b
Former-commit-id: 207c34a230730a56612c1bb1891b6ba065d3b6cf
2011-05-03 13:07:30 +00:00
pouillot
a2c7004db6 Re #320 Fixes the Windows side of r3535
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3536 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 84dcf65581210a5b4c87a63db03b782afbe4e3b5
Former-commit-id: 3b40c0c537a875cc5cfa01c09a472c69969563ab
2011-05-03 10:34:37 +00:00
pouillot
764a4497a1 Re #320 Fixes the best Open GL feature detection system through a 2-pass method with possible game auto-restart
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3535 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 236286aec370f597c406726b5101c1262b433f6e
Former-commit-id: a5db6ccff24f2e41e4763ae36e4860b67b1600cb
2011-05-03 09:58:19 +00:00
pouillot
2c23d7a135 Re #377 Added a restart method to GfApplication and GfuiApplication classes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3534 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 30bd395ec8fed9be5fa61ad69031fc56861b3009
Former-commit-id: 631da3c8cd78026db7d122fcd6a8f71b4dc45fb8
2011-05-03 09:49:51 +00:00
pouillot
87c6b19504 Re #307 Smarter exiting process when GfFatal is used
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3533 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bcdb1d565f56f96d6021b98842c322b0011f4ca2
Former-commit-id: b84aab362235c2bdc70b3cfec6d5524fb3fc8b76
2011-05-03 09:41:46 +00:00
pouillot
8b90622cf5 Made GfParmRemove part of TGF API
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3532 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 12c4f0ed7609ccd5b30ae3b680bd059ba307e316
Former-commit-id: 4d31f32e02e81ea2e646212d4e5f3d8f02ea5307
2011-05-03 09:40:18 +00:00
wdbee
4e251115b6 Test archer
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3531 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 53b7e55b6e7aa919b7456ce049495ef99b4b1d36
Former-commit-id: 20d955af2da057fe16b4dc6de21ff864542a29ce
2011-05-02 16:25:53 +00:00
andrewsumner
daecb93a0c Improved Asr some more
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3529 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 78fb0dd1b19525a84840a73dd12cab5746f8d5a8
Former-commit-id: abc4ac3f8febc44e5fe1c617e696444b0906ed5f
2011-05-02 00:40:07 +00:00
pouillot
894494017b Re #320 Fixed the Windows side of r3527.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3528 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a7f81d88feb8ba5b811628ba6f7275991ccbcaac
Former-commit-id: 5328e7d46e71954312bf492e2440abb5e7450403
2011-05-01 20:51:02 +00:00
pouillot
4d9832156f Re #320 Added anti-aliasing detection/configuration (but seems when it is enabled, you can't disable it, unless you choose the 'compatible' vido init mode)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3527 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b792afdbbe99bf549eb5466d1c9419395ad96542
Former-commit-id: 5f2ba07278ad6549d31e45360da05c0ff3e6d20e
2011-05-01 18:45:22 +00:00
pouillot
323184f69e Re #320 Enable multi-texturing and texture compression by default (were disabled by default)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3519 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 36ec1b8d6d12439eb3437826636a1d2735b82aa8
Former-commit-id: 1096e3b395bd3e51ac12f776182b5ab038594984
2011-04-30 14:10:31 +00:00
andrewsumner
ae909b7057 Improvements to Asr (acceleration slip aid)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3518 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f2f5272feebe799c9447af7bfa53be0c9bf7e028
Former-commit-id: e37adf9502195a92c87915d833c79d4325cb9501
2011-04-28 23:56:59 +00:00
pouillot
f13348cc47 Re #377 Reworked the game event loop towards better separated race engine and user interface
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3516 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 19687d43f7072b06dfdd806edef1d54f3f71e806
Former-commit-id: ebb4013ba8f9a9395786b38b5b47c9c27c10521d
2011-04-27 22:05:40 +00:00
pouillot
94a7df28fa Fixed libs and exe not removed by clobber.sh (linux)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3515 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a87148c290e53f9c3116a7a97e4c989eed224553
Former-commit-id: a59317dc58e7eedcad6fdb99bef334cd1698651a
2011-04-27 21:56:23 +00:00
kakukri
a48d2ae9a9 Re #385: take into account gear and differential efficiencies
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3510 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5e101e19b9f34b561acf6d564ad58b1eff46b89d
Former-commit-id: 02af6bbcb963379db78fac8f1e56244ced3b02c8
2011-04-25 21:56:51 +00:00
torcs-ng
981dfb168f fix bug moon position bad initialized
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3509 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3d2010287c9888d529e9f7655b364c6916d800f4
Former-commit-id: d68e008d8da9bb4303cfc424dd257d1324debb0d
2011-04-24 18:37:25 +00:00
pouillot
f99fc6df30 Re #377 : fixes the frame rate regression (was silly mistake in r3483 making the sky dome always active)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3507 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bc498b96f7f398e0ac773febdfd888859413720a
Former-commit-id: 2d788b767bb53feece74efa00cc85a61477f2846
2011-04-20 20:56:59 +00:00
pouillot
bbd4ceb711 Re #377 Fixed keyboard management regression of r3501 (back to usability)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3506 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1e2cf3752d4d30e5698e891f36e7e4b266a52e50
Former-commit-id: 3657550457063ae63c641c31aa3e6100a096945b
2011-04-19 17:07:45 +00:00
pouillot
c8034bc9f6 Re #307 Fixed typo in previous MSVC warning fix
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3505 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 764a2bff799c42f29b3f52a6b74c15f53d992390
Former-commit-id: 2630504bde1f932f6a335db78eb7160d5e7f8046
2011-04-19 17:06:21 +00:00
pouillot
0f32ba24cd Re #307 Fixed MSVC warnings about int/double to tdble conversions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3504 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4772aa484531f33b4cbc4edc326e35418b2f0b14
Former-commit-id: 9c794edf4bd2c8d510ecca41d0dd8902e88a56ff
2011-04-17 20:57:41 +00:00
pouillot
88a483f687 Re #378 Moved the Application/EventLoop infrastructure to a C++-coded one, preparing the event loop refresh + Re #307 Moved SD main to a single-source scheme
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3501 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 06de01e8253c7da5acc40390dced8b1cbc0c4dbc
Former-commit-id: 2aae8e270f719f9153a0f7cda7930ad62d850d86
2011-04-17 18:46:23 +00:00
pouillot
e7cf310ed4 Re #307 Fixed GCC warnings in optimized builds
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3493 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4f14c3485afb0bd6f374a6df50178487bfacfc48
Former-commit-id: 50220d3890f1002de791555e4f458a3cf80a4020
2011-04-16 15:39:41 +00:00
pouillot
80734614db Fixes #382 Crash when restarting a race on a track with lights (ex: Newton)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3490 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 736494c88714133caaee6853aa02d1d292b3e4ef
Former-commit-id: e40fb53b427b554fa70f30b6dd5bcf5bf365e59d
2011-04-10 18:55:34 +00:00
torcs-ng
0083b6e6aa change initialize Moon position at start race
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3487 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dbaef3c4a585c987e51afdb3555f14acb8f659d9
Former-commit-id: 9ed7ce732dd51ac98a79eae8e8fd5bfe78db7376
2011-04-10 12:17:20 +00:00
pouillot
2a36dfe2a1 Fixed #380 Broken track map after r3471 : restored the call to ssggraph::setupView to its right place in racemain::ReRaceRealStart
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3486 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7f0ddd44737289c6e92a04ded4f736d6ca93083d
Former-commit-id: e38bb6470528bd062f5fb6ae92493750091a699b
2011-04-10 07:52:38 +00:00
pouillot
4142d50a91 Fixed #381 (glitches on car + camera stuck to player's)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3485 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dd54859537e64b6f9f2f99cd7aac3dd68288e2cc
Former-commit-id: 1d8befabdefe3e01bb77037400341a77363db348
2011-04-09 19:04:29 +00:00