Commit Graph

1797 Commits

Author SHA1 Message Date
hikerstk
86743991ae Updated project file, removed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 02:08:24 +00:00
auria
3efcb92b74 Made end-of-race menu buttons do something (none actually works; @hiker: there seems to be crashes when trying to cleanup, this is your area
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:46:02 +00:00
auria
6c1dbb2999 Fixed events being blocked for in-game dialogs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:25:17 +00:00
auria
51ed985653 More improvements to end-of-race dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:20:38 +00:00
auria
2eef253158 Improved end-or-race dialog + backported a fix found there to track info dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:01:10 +00:00
auria
3ad53d1999 Fixed display issue in race results screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 22:15:17 +00:00
auria
5ff086d156 Fixed handling of wide strings in StringUtils::insertValues (the wide overlaod) + fixed aain assert import
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:18:07 +00:00
auria
4200a2b054 Added missing include (broke compilation on some systems)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:05:29 +00:00
auria
d1cff1f1c4 More work on dialogs (race end dialog further re-implemented)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:02:31 +00:00
auria
2d234f6fbb Improved insert_values : 1) fixed bug 2) Allow for arbitrary number of parameters (well, as much as C++ allows without variadic templates)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 20:40:55 +00:00
auria
b615f71818 Improved error message so next time i get such error i'm not as clueless ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 20:38:54 +00:00
auria
22f6c6e008 First (rough) version of an end-of-race dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 18:11:26 +00:00
davemk
00fab4a1f6 revert to copying raycast info for wheel suspension.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 15:38:38 +00:00
auria
9ad338fde6 Lap count widget now works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-31 13:13:31 +00:00
auria
61b86879f8 Fixed kart spinner being 'empty' the second time (and subsequent)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 23:12:00 +00:00
auria
d35635f1f6 Disabled clearing of the back buffer since it's unused and would only slow down rendering uselessly (this implies all tracks will need skydomes, but i think we agree we don't want the blue sky of death anyway)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 23:10:34 +00:00
mbjornstk
e8df3135c1 Change base colour of marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 20:10:28 +00:00
auria
c3dfb2949f Tweaked i18n code to at least handle latin-1 characters, potentially fixed compilation with gettext off
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:57:51 +00:00
auria
6dd131dd4e Removed debug code (PS: the doubt I expressed in my previous commit are confirmed : the function I used to do the conversion only handles ASCII)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:19:25 +00:00
auria
458e1a19da made text readable (i'm not really confident it works for everyone and all languages though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:18:05 +00:00
auria
c3f0f7ab82 Massive conversion from std::string to stringw for all strings that need to be translated. Currently, translation is broken (strings i try to transalte appear as junk) -- since irrlicht GUI widgets all use wchar_t, using std::string in UTF-8 just didn't make it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 18:21:59 +00:00
hikerstk
06aea85a37 Updated files in VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 12:51:34 +00:00
auria
cb0679f93e New GUI can now appear in other languages (unfortunately, non-ASCII characters don't show up. I need to find how to make gettext play fine with irrlicht strings...) Note that stuff in other files (namely track, GP names, challenges) are not convered by this commit, so after they're all converted to XML we need to implement this for them too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 02:00:53 +00:00
auria
b39414cf8e Many more I18N clarifications, and fine-tuning of extracting strings from XML files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 01:50:22 +00:00
auria
9a6f3ef547 Improved extraction of strings from XML files (now with a python script that also supports comments to the translators; also, uses expat, which detected lots of errors through my XML files XD)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 01:28:46 +00:00
auria
e655b6330b Updated french translation so that I can test transaltion of menus eventually
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 00:00:15 +00:00
auria
79c34d17a5 Fixed resolution switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 20:31:46 +00:00
auria
c42429b7d0 RTT can now handle rendering multiple sets of different objects at once (required for multiplayer kart selection)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 19:59:27 +00:00
auria
a3ba4a5695 Cleanup over previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 19:07:00 +00:00
auria
432da8b070 Improved display of highscores. IMPORTANT: Kart name in highscores used to be saved as user-visible name and not internal name. This is wrong, the user name can change or be translated and we still expect it to work. I changed the highscore code to save the kart's ident and not translated name, but you will need to delete/correct your current highscore file if you want kart from highscores to be displayed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 18:59:25 +00:00
auria
b9e9af0ab5 Improved track info shown on track dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 18:29:09 +00:00
auria
870c470eab Highscores are now displayed in the track screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 18:12:31 +00:00
auria
0db37d90fb In kart screen, display user name and not internal name
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 17:28:33 +00:00
auria
1281cc5cfd Reduced FOV in kart preview rendering so that they look more natural (less 'stretched')
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 17:23:00 +00:00
auria
ff2dd24ec6 Cleaned up render-to-texture code. It should be much more efficient for kart rendering, and also code should be easier to read. @Joerg: I think I didn't break your RTT bits but better check *blush*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 17:09:03 +00:00
auria
c4eea1020f Implemented 'random kart' (current limitation: random kart item is not always visible, especially if number of karts in category is even)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3947 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 15:55:21 +00:00
auria
04f383386f Inline documentation update
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 15:24:41 +00:00
auria
e0acfe1ef6 Renamed RibbonGridWidget to DynamicRibbonWidget since it better reflects what it has become
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 15:18:48 +00:00
auria
11bb21770f Replaced hardcoded number (maximum number of players) with a clean constant
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 00:41:45 +00:00
auria
f89cacbf5f Improved vertical navigation in kart selection screen for players > 0
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 22:58:32 +00:00
auria
4b19a059f0 Unselect a kart when a player elaves (doesn't work for player 0, but anyway I'm not sure how we'll handle the 'host' quitting)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 22:38:33 +00:00
auria
b3f826cece Fixed potential bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 19:00:17 +00:00
auria
8574b97854 Implemented kart groups (still buggy for multiplayer kart selections)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 18:46:02 +00:00
auria
0f0cff5842 Fixed updating labels at kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 15:57:07 +00:00
auria
d3dddc901b Temporarly show focus on spinners for players > 0
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 15:36:26 +00:00
auria
8b6bc9d9b5 Two players can now independently navigate the kart selection widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 15:16:57 +00:00
auria
c27991f7b8 More work towards independant focus for players (breaking some of what i committed previously but i'm on the right path)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 20:17:59 +00:00
auria
4c6bad1f84 Fixed a few skin glitches + fixed main focus with > 1 players on the same ribbon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3934 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 19:00:10 +00:00
auria
916fa160b1 Some cleanup over previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 18:50:56 +00:00
auria
d9707351ea First steps towards letting two different players choose their own kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 18:41:20 +00:00