Commit Graph

2559 Commits

Author SHA1 Message Date
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
hikerstk
af6e19e21d Removed VS compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 03:52:31 +00:00
davemk
276f3575e4 use kart projection after rescue in 3-strikes-battle-mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3928 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 02:14:38 +00:00
davemk
454463a919 add hit to kart rescued in 3-strikes-battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 02:04:37 +00:00
davemk
9ab21ce5fe speed up battle music when all opponents down to 1 life.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 02:00:59 +00:00
davemk
e06845c4af remove bubble gum item from 3-strikes-battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 01:57:24 +00:00
davemk
39ec20c4b6 reintroduce separate start vector for 3-strikes-battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 01:53:51 +00:00
auria
8417a50796 Fixed keyboard navigation on kart selection screen (still 1-p only though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 20:05:51 +00:00
auria
d6202cd493 Fixed weird sky in beach track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 19:29:20 +00:00
auria
3dcf00c8d5 Somewhat fixed keyboard navigation with ribbons; kart selection still thinks that the player name is at the bottom though (because it's added latest)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 18:43:30 +00:00
auria
67b46fe67c Fixed bug I introduced while fixing warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 18:12:11 +00:00
auria
298ad53514 Fixed selection handling in combo ribbons. Unfotrunately I broke keyboard navigation to the ribbon in the process.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 17:58:05 +00:00
auria
4aaddbba4b Improved grid/scrollable ribbons : arrows no more appear if there is room for everything to be shown, less [?] will be added if there is room for everything
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 16:59:11 +00:00
auria
edf6760b75 Cleanun in grid ribbons to allow for future visible improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 16:06:38 +00:00
auria
452808838a Fixed various warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 15:18:14 +00:00