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
hikerstk
8020d3eede
Removed debug file name.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 01:00:43 +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
hikerstk
390d076e7a
Added starting line and reset-starting-line line so that some lap counting is possible.
...
Notice: the lap reset line is in a debug position (5 units ahead of the lap counting line), allowing
quick debugging (by driving in somewhat wider circles).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3970 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-31 00:59:14 +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
b6d0226fe2
Updated pot generation script to fetch strings from XML too (most of them are not translated in game yet however)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 21:16:51 +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
1cf6eac79a
Re-exported beach track with mipmaps (i think) and smooth normals
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 22:13:23 +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
auria
dde666bf9a
Added documentation & style cleanup & minor potential fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 16:14:24 +00:00
hikerstk
88abe09dd6
1) Added --kartdir directive, allowing loading of
...
additional karts from other directories.
2) Fixed potential bug (--track might have allowed you to
run a locked track)
3) --list-tracks and --list-karts can now keep on running
(before STK would be ended) - but they are slower now
4) Renamed all kartname.irrkart file to kart.xml. I realised too
late that those files had not been converted to xml yet.
It will be fixed later.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 06:22:52 +00:00