Commit graph

523 commits

Author SHA1 Message Date
pouillot
01f38ea229 Added <user settings dir>/drivers/<module>/<car> in the search path for car textures and 3D models (fixes ticket #33)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1880 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: eb0ff0715aef90554dcb302c63a45ea6a7938310
Former-commit-id: a7d16ae9e4cf407a5db66c4eb0dcb173bab8f977
2009-11-29 14:32:03 +00:00
pouillot
5ab1853cf7 Re-arranged 3 first F2 cameras from the closest to the furthest (?) from the driver : 0=driver view, 1=bonnet view, 2=road view (ahead the car)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1879 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 09d90d2fa6f464c506b5b42fdec4c0ab30d16708
Former-commit-id: 27670d214db9ad69a476a0030ddb52522dc661a5
2009-11-29 13:28:32 +00:00
kmetykog
efe49127dd Comments added
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1861 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d7d8b33b3b37a1672964e543a0cdddc438fd2b1f
Former-commit-id: 0cff56b8396af0642cae6b30ce7557743d5ba269
2009-11-23 11:50:56 +00:00
pouillot
b4d8bd6def More XML conversion for race results menus (results.cpp) + fixed bottom buttons colors
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1855 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 69c014dee761e236de9cf08247d888ed25d1e672
Former-commit-id: 919fac422b7ff00a4b64a460bfc12deec2ff3bfc
2009-11-21 17:01:00 +00:00
kmetykog
e6020e2a6b Fixed typo (thanks Mart)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1854 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7f706aac161f2cc4166439c9824273637a2a80d0
Former-commit-id: 5b4e9c64b786d74597671f51270f7080f71dae94
2009-11-20 08:31:39 +00:00
kmetykog
179acfedd7 Cosmetics.
Re #8

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

Former-commit-id: 6c6ecb36a2bd525ae1e20c89004bf58c81cbfbd5
Former-commit-id: f2a28b005ade9ad0e199715a579bbf6c555db247
2009-11-19 11:26:48 +00:00
kmetykog
9cd86d0355 Standardize Accept/Cancel button size and position.
Re #8

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

Former-commit-id: 2c14589bb6580d9da58f6b1904bc410fd6a9bc1c
Former-commit-id: bb956013141e654b22bcd11cfcf1fe98be3c4368
2009-11-19 10:53:48 +00:00
martkelder
7ee0d25708 Set better default for grSmokeLife (if there is no setting in graph.xml), and check if grSmokeLife isn't bigger then its maximum.
Closes #17


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

Former-commit-id: f7da213a923347d93081cb3bb0bae745f94c7bc9
Former-commit-id: c36dc4ca05891c7c0d0e36dcaefe485dd290aa2b
2009-11-19 07:10:47 +00:00
martkelder
3afb79e474 Backport commit 1184 (origional author: kmetykog; origional log: Fixed wrong condition typo.)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1844 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6ac710f7a809442e04f2a2a005f418af7b3d5b11
Former-commit-id: c975061ca66278df17499140a5a9a4ade07d30ff
2009-11-18 14:53:31 +00:00
martkelder
1b19a1c931 Fixes some brackets in grsmoke.cpp.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1843 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e5506e01e55b2d57f7a4e703f0d15a74c316ff74
Former-commit-id: cc330698c66878cda7715c57ee5452b95dcdbe3e
2009-11-18 14:25:42 +00:00
martkelder
c17befe669 Remove debug messages of usr_sc.
Closes #13


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

Former-commit-id: 13fdf6bbbb95fba3146aaca793ce2282790b35ca
Former-commit-id: 46451c76e2d394640504262eaec42781674a821c
2009-11-18 11:12:56 +00:00
kmetykog
ad2f97ddb7 Bugfix for ticket #9.
'Buttons not left aligned in Race Stop menu.

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

Former-commit-id: 8289b141c757d74de53fc61a5d61f97f6730d6b4
Former-commit-id: f7b8ba1415ac2fdbd333cdd1f0e8e957a2b109c5
2009-11-16 23:54:20 +00:00
kmetykog
88b5dca772 Bug fix, Wordwrap won't cut words apart.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1834 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 582dca893cecf32fc1f0ef49d1c5a198a892ed1f
Former-commit-id: 032d18067179164efa1ef4803a435fe406bc6c71
2009-11-14 23:52:01 +00:00
pouillot
ad00a3341c Optimized XML defined menus load time (used maps for property value string to integer value conversion, and removed useless string copies)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1827 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 350d4d7d74b6de43adb8deabaec3044d1ba5dd32
Former-commit-id: 175d0934107735b21f3c5d2d552d8e86bcc6c579
2009-11-11 18:16:17 +00:00
pouillot
3139e7db31 Cosmetic code/comments improvements
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1826 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cea823d6bfb8db7971514b9bd29eaae731cb4386
Former-commit-id: 45a4fd9da669ed474b5e409820cd5b384b7c8dbf
2009-11-11 18:13:40 +00:00
pouillot
e15a8ca7ca Cosmetic code/comments improvements
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1825 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 26987d14a405e276ba4d94b6a29b7f71e1692d5b
Former-commit-id: 5eb722eaaefff49b8b3e40ad5d3ea532aac9dc08
2009-11-11 17:43:53 +00:00
pouillot
4a513adbaf GfParmsReadFile : No more console message when file not (re-)read
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1824 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9f99569689b85b82dfab6689eec423a66d30b414
Former-commit-id: 9680a4f4f013cbd8a7b463c6046a16143a88fd16
2009-11-11 17:41:21 +00:00
pouillot
32d28ea587 Fixed combox actions in Driver Config menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1823 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: de9d48afec46d0e42ef3c256142cb75f6e7792fd
Former-commit-id: d3b9a276bd473cc64ad1aa4bcebe69f589131fad
2009-11-11 17:38:49 +00:00
pouillot
3898aedc6d Converted Blind mode race screen to XML + more XML menu descriptor release when no more use
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1822 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6757b158b0370802b1a6b3627039e73b2ce4c4a2
Former-commit-id: c085d8de3113496d908c8f3a0ea5c1413c0d5d40
2009-11-11 13:18:14 +00:00
briangr
427002e819 git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1820 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 0cc17ecd2a45f4ea3215f4f154b3bc74067c291b
Former-commit-id: cb618ca1408a4386e5a45531274e95e37f38bc7f
2009-11-11 11:38:02 +00:00
briangr
2910ec5a76 menu bug fixes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1807 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 49caab1babee26cf64f59ee7fa7c7936951ab841
Former-commit-id: 04bcf44c377d6caaa1bf0b0eac36f24519fa464b
2009-11-09 12:50:37 +00:00
briangr
09fc5bc722 started adding xml menus
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1804 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 83485001b63921a77b0a07a3e3128c7117010c26
Former-commit-id: a84dd1301a6b696b2200e12ed73f8d2f69eb56ae
2009-11-09 12:48:14 +00:00
briangr
32c295c8be support for xml menus
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1797 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5a16e9f9c49dde898cfc2a741822c20332fd00a5
Former-commit-id: 0485348bb434841aa6485c580d5b6a7a188fd285
2009-11-08 14:20:55 +00:00
torcs-ng
11611490c0 change client.vcproj for delete credits.cpp & credits.h and include creditsmenu.cpp & creditsmenu.h
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1795 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5acba31dc01be125806d442b35ebb18853c93ea2
Former-commit-id: 392ecb387649b2344986f1264bc5aa4c0dbaa6e5
2009-11-08 14:13:30 +00:00
briangr
101a0445b0 menu bug fixes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1794 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1e664f8ed179c4981315c5a2e4c9a7ab43fe6149
Former-commit-id: 7a73ec76f1016a531de3cc37f3c4040d43a58d1f
2009-11-08 03:21:28 +00:00
pouillot
0631d08c2d Converted New track and Single Player menu to XML + improved Raceman menu code + improved keyboard support in Race stop menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1791 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b5407d6497cc0e78b8e414f0102bdfc0fa0d8c1b
Former-commit-id: 6f9ba33fc0a0228ce35995f921e7f5af2ce6b06b
2009-11-07 20:20:51 +00:00
pouillot
974d1e182f Fixed menus with edit controls not validating current edit value on Return key (force current edit focus lost, and use only onFocusLost callback when creating Edits)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1788 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 704467ef7b1f7211493b5fcdf96921f66e573e4e
Former-commit-id: e65f7c241d000b4238b21e4be0425f020cb0755b
2009-11-07 17:46:27 +00:00
pouillot
67f03098c2 Fixed menus with edit controls not validating current edit value on Return key
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1787 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 362c0bbbb5bc44f621deb4e2db5e374ae7fed0e8
Former-commit-id: 480691b8b23d7aad320fc6237163fa51d9b69bab
2009-11-07 17:32:10 +00:00
briangr
b58ba8405a added more xml menus
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1786 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 37c9810980cfc4666da0c17413304e8b180d0c24
Former-commit-id: ae0f0ffe60f5c3c5f65d6a4d52382850c7a321ab
2009-11-07 17:23:16 +00:00
pouillot
d0825224d2 Cosmetics
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1782 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fc4234eb46877e2b24f4e6f68bebf90253006500
Former-commit-id: 744c311cb09a8a5ed6a6379dac519cbc42f2ea5c
2009-11-07 17:15:27 +00:00
pouillot
93b45ae496 Converted Race options menus to XML (merged from sdl-port)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1781 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f0fc0f8ccf8cca7c44dcc527326e923b9ddf6d2d
Former-commit-id: de270586c875b3efb2588e11949b7d93b060917a
2009-11-07 17:04:17 +00:00
pouillot
7c29a98857 Converted Start and Stop race menus to XML (miscscreens)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1774 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e94ea3f1f1d9eda370b7ac27c0dbaf89e21558f2
Former-commit-id: 21cbb3a2768d3d37e710bb553ba135e5db756ab4
2009-11-07 11:28:23 +00:00
pouillot
a31f0b9494 Converted Pit menu to XML
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1747 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 89188eb78b39b9808b05373431ab5f9b1379709f
Former-commit-id: 001d2b2e82448a16794f927d9ebc004b1d068522
2009-11-04 22:57:19 +00:00
briangr
8bad7baa1c bug fix for improper button drawing on low end graphic cards
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1741 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b888cc81392c6a6d2f57d572cc770a42e6e7c83a
Former-commit-id: 6d71edc3d71bfebb006a32c6c7e522528e903ffa
2009-11-04 12:32:46 +00:00
pouillot
37b6c7f74a Converted Loading screen to XML (partially)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1735 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 15a1b4ef9eeec5892d8d76afccfd8cc0d8d76c76
Former-commit-id: 30ae25a98ae68b5f2b16bafeee60f65f391bbb66
2009-11-03 22:28:19 +00:00
pouillot
bacef3856f Converted Fileselect and Help menus to XML + fixed memory leaks in Joystick and Mouse config menus
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1733 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4e0c0fdfa64e4567487aefbd8ecdfea72e99be86
Former-commit-id: 4f3b1dcb51abb3f6a1a57b9cf4f40da17144d3f0
2009-11-03 20:20:07 +00:00
pouillot
a7726a92e9 Converted Joystick and Mouse calibration menus to XML
Added support for Label max length spec in XML file

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

Former-commit-id: 6ae665aa31d85caffe608a162b041d5c319e8d11
Former-commit-id: eb3771ccb4fb3f3d56a3a2ed8622b69a7fd996c7
2009-11-03 17:25:21 +00:00
pouillot
42e614a544 Converted Credits menu to XML (enough for the release, but will need more XML features from guimenu : see comments in code, and sdl-port TODO)
Cosmetic XML menu code improvements (code layout, added consts, removed some std::string)

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

Former-commit-id: 2e9753638492da1897249454c29ab19294bf10ea
Former-commit-id: 3aa87288060908eccac013626893b3934c4a626f
2009-11-03 14:37:39 +00:00
martkelder
728f664ea8 Bugfix: call "updateButtonText()" after a joystick or mouse control is set.
That way, the "Calibrate" button is updated.


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

Former-commit-id: 2ddb1d25d04308aab68613422ab66500ed0e9609
Former-commit-id: ae701c617139821917b08cbc317b131bbee541a8
2009-11-02 15:58:38 +00:00
pouillot
41d972fa10 Fixed GfuiScrollListSetSelectedElement error control code and comments
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1707 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a8846488fff2ac60b2abdfe75a0a6c69709c6a4a
Former-commit-id: 3a748f3809bffa4aca61869d935f0c416589e846
2009-11-01 11:00:47 +00:00
pouillot
53c89f0dd4 Fixed currently selected driver index initialization in driverselect::onActivate and GfuiScrollListSetSelectedElement not visually selecting the element
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1706 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9884797b003813a0f4c12d3cb3741ef6ebabb439
Former-commit-id: e962b5000379217ca86c34e3595b4978c3ab54d1
2009-11-01 10:54:31 +00:00
pouillot
a03ac6a89f Fixed shortcuts and controls bugs in Open GL COnfig menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1705 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dd77477b6c01019e0be6a2a3b71ec621b548880c
Former-commit-id: 2951b3d019580616bcefc462b0d29bcfe8d130e9
2009-11-01 09:13:59 +00:00
pouillot
bb4b2b2819 More (last) release converted menus XML file handles
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1704 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c75c92c1f7e6c112661b2609f8311365d0ba2c5c
Former-commit-id: c5cb2b80050b2d4582254e40fafa3a1ac6c0a9e6
2009-10-31 22:00:25 +00:00
pouillot
a229bc7840 Added master volume control in Sound config menu (and changed little necessary stuff in ssggraph)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1703 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4322267d309ecee969d353b49a1b6f9943498454
Former-commit-id: a2ad472a7e6607039754ab35ecd63d79ffe34ea1
2009-10-31 21:07:52 +00:00
pouillot
6cb589da48 Backported XML conversion for Driver and Track selection menus (merged from sdl-port)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1702 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1e505d380ab6a304deb762f778d3f7f61472fbf0
Former-commit-id: 08a5336cdd2b5ebd594200db9865a9d964ae02a0
2009-10-31 18:45:12 +00:00
pouillot
1dc1ef8123 Fixed memory leaks (joystick management in controlconfig.cpp and joystickconfig.cpp ; converted menus XML file handles not released) and more F1,F12,ESC,Ret in menus
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1701 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bc635864e02fc7c86e1a5c896ef71839a1648887
Former-commit-id: 93ce282e5bbc82d4f73a70fedc8ccde00ad81f5f
2009-10-31 17:56:08 +00:00
pouillot
6d694e97fb Resurrected grid shifter settings in Control Configuration menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1698 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 30002f41352472a115e438a7e172cb50fb9cdcf6
Former-commit-id: 1f3f2da70e90ddbed694c6dc5b4ebe2a4a63b84d
2009-10-31 08:48:34 +00:00
pouillot
7c0fed45ca Fixed again (resurrected) bad menu when coming back from Player config menu after opening Raceman Menu and coming back to Main menu
Added F1/F12/ESC/Return shortcuts in menu everywhere when lacking
Fixed "max texture size" in Open GL Opetion menu

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

Former-commit-id: 2f9736529b5f65d58c51be2b02c2cb0c8ce2d9dd
Former-commit-id: 7f1ddebd6a7bef871ecf62f50392cab8fe06fa61
2009-10-30 11:23:33 +00:00
briangr
cfd028a76d add code for custom mouse cursor image support
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1690 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 95e60d7a0893782397f544a4e98e7fad8b537e00
Former-commit-id: 6c9bb3c0321182a68240148aa3497f20b17c5668
2009-10-29 10:38:52 +00:00
briangr
7aef2f5330 ported xml menu changes from sdl-port
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1685 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c23115bb6420ac326b1765e8d48cc6765a3bdbf6
Former-commit-id: 3489749a43870c086d6adf822d445bfe336ad6f5
2009-10-27 11:33:57 +00:00