Commit Graph

117 Commits

Author SHA1 Message Date
auria
41e1d57f0b Fix player names so that they may contain accentuated characters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:50:24 +00:00
auria
5bd9afdd7f Big refactor : move a lot of strings and config files to use wide strings. For instance to be able to cope with foreign characters in player names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:29:36 +00:00
auria
6bf16b651e Mark another forgotten string as translatable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 18:35:47 +00:00
auria
d725d5daea Added a few missing copyiright statements. More to come most likely
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:56:57 +00:00
hikerstk
be7e8793b6 Fixed various compilation problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 05:54:04 +00:00
aeonphyxius
30c5ae81ab Rolled back to old version(6772)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 02:12:48 +00:00
aeonphyxius
777292a74f <stkgui>
<div x="5%" y="0" width="90%" height="98%" layout="vertical-row" >
    
        <icon id="logo" align="center" proportion="8" width="100%" icon="gui/logo.png"/>
        
        <buttonbar id="menu_toprow" proportion="3" width="75%" align="center">
            <icon-button id="new" width="128" height="128" icon="gui/main_race.png"
                    I18N="Main menu button" text="Race"/>
            <icon-button id="network" width="128" height="128" icon="gui/main_options.png"
                    I18N="Main menu button" text="DEBUG"/>
            <icon-button id="challenges" width="128" height="128"
                         icon="gui/challenge.png"
                         I18N="Main menu button"  text="Challenges"/>
			<icon-button id="tutorial" width="128" height="128"
                         icon="gui/tutorial.png"
                         I18N="Main menu button"  text="Tutorial"/>
        </buttonbar>
        
        <spacer width="10" proportion="1"/>
        
        <buttonbar id="menu_bottomrow" proportion="3" width="85%" align="center">
            <icon-button id="options" width="128" height="128" icon="gui/main_options.png"
                    I18N="Main menu button"  text="Options"/>
            <icon-button id="help" width="128" height="128" icon="gui/main_help.png"
                    I18N="Main menu button" text="Help"/>
            <icon-button id="about" width="128" height="128" icon="gui/main_about.png"
                    I18N="Main menu button" text="About"/>
            <icon-button id="quit" width="128" height="128" icon="gui/main_quit.png"
                    I18N="Main menu button" text="Quit"/>
        </buttonbar>
        
        <spacer width="10" proportion="1"/>
        
    </div>

</stkgui>

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 01:42:08 +00:00
auria
4ac69fefa2 Use peach skin by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 16:42:55 +00:00
hikerstk
e9365d3a70 Fixed memory leak (title music was not freed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:03:22 +00:00
hikerstk
9dbe8120e2 Fixed compilation problems when compiling without -DDEBUG.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 10:02:47 +00:00
hikerstk
ec93b9889a Added explit delete of m_all_players to avoid a (non-reproducible)
crash that might depend on the order in which objects are freed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 00:23:19 +00:00
hikerstk
148d09c4ba Hopefully fixed gamepad related issues (esp. bug 3114440 - can't assign axis+0).
Simplified code somewhat.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:53:34 +00:00
hikerstk
e73ca4bbee Moved all slipstream handling from kart into slipstream
(also started to add debug features).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 05:57:06 +00:00
auria
48478bbe15 Fixed a couple warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-18 15:49:00 +00:00
hikerstk
732f8e0c61 Fixed handling of [] in linux: if a key code is 0 (which is the case on
linux for [] and other keys) the unicode character is now used to
identify the key. This solves displaying the key code in the GUI, and
also to handle keys with identical key codes (0) properly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 21:55:50 +00:00
hikerstk
fc202a57f5 Some code cleanup: made input data structure to follow the m_
notation, removed unnecessary include.
Added new field to input that stores the character (i.e. the
visual character) of a key (but it's not used yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 20:59:49 +00:00
auria
1640542d36 Added GUI support for disabling and enablign gamepads
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 01:40:00 +00:00
auria
92e7be10d3 Started adding option to disable gamepads, this will allow shutting up gamepads that have soemthing constantly pressed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 01:26:31 +00:00
auria
3fc514d2f8 Remember user kart choice between sessions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 20:10:16 +00:00
hikerstk
1f7a882c85 File forgotten in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 09:57:26 +00:00
hikerstk
0f0c74f391 Added new object to handle max-speed of karts. ATM it will slow down
depending on terrain, so zipper etc. handling is not yet finished but
will come soon.
Also zipper parameters can now be specified per kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 00:52:50 +00:00
auria
6b337dfe71 Made game mode choice persistent
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 01:53:50 +00:00
mbjornstk
33d535a991 Add include, otherwise compile fails due to missing assert definition.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 00:05:26 +00:00
auria
f5f48d5861 Fixed binding conflict detection being based on name; really verify their values, not only their names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-23 21:27:56 +00:00
auria
b957d7923a Perform decent error checking when getting music file, previous code would silently return an empty file. Fixed the use of the 'smart' function used too early when loading title music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:19:31 +00:00
hikerstk
ecfd912d54 Fixed --stk-config parameters: the user specified config file was read too late
(after all karts were loaded and therefore initialised with the original config
file default parameters), see bug 3072762.
-This line, and those below, will be ignored--

M    main.cpp
M    config/stk_config.cpp
M    config/stk_config.hpp
M    items/item_manager.cpp


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 23:09:53 +00:00
auria
984030f990 Added much debug code to help detect bugs early in kart selection screen and player management (see recent ticket; although these checks can be useful outside of this particular ticket anyway)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 18:34:04 +00:00
hikerstk
3db98d8ba7 Added a 'powerup collect' mode setting to stk config. This controls
what happens if a kart already has a powerup when it hits a bous box:
you can get one more item of the same kind, one new item, or only one
more item if a random item is the same one as the one you currently have
(the latter being the old STK mode). stk_config.xml now sets 'new'
(always get a new randomly chosen item) as mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 01:15:16 +00:00
hikerstk
30994d5a54 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 03:36:43 +00:00
hikerstk
92d18a7a25 Definitions for GP points is now independent of the maximum number of karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 02:31:20 +00:00
hikerstk
8cb6503ab3 Fixed --kartsize-debug command line option.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6007 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-15 00:31:05 +00:00
auria
42565ba603 Removed NoCoy from UserConfigParam because it can (and is) copied
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 15:22:22 +00:00
hikerstk
c13933a792 Added more NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 11:39:19 +00:00
hikerstk
0e84cdf091 Modified behaviour of startup boost: instead of giving it to the first
two karts, it is now given for all karts starting withint a certain
amount of time. These times and boost value are specified in
stk-config.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 00:19:06 +00:00
hikerstk
9de958aa17 Bugfix: tried to read incorrect keyword from config file, and as a result
GP start positions were reversed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-22 22:33:53 +00:00
hikerstk
534404d154 Added the penalty time (when starting too early) to stk_config.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-08 01:34:46 +00:00
hikerstk
e9837ca8fc Added some startup speed boost, mainly for testing. The first two
karts to press 'accelerate' after 'go' will receive a boost. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 23:53:27 +00:00
hikerstk
396db5ae2b Added intro sfx to be played before ready-set-go.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 23:10:47 +00:00
xapantu
5a653e26e9 Adding the addons menu, I am going to write a mail to the ML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 18:40:55 +00:00
hikerstk
7c0ff2772a Added option to disable kart animations in the user config file.
For now it also disables win/lose animations, but if it's worth
keeping non-animated karts (for performance on lower end graphics
card) this will be added.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-09 23:33:06 +00:00
auria
45dfd6d415 Fixed default bindings to be more consistent between game bindings and menu bindings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 19:28:06 +00:00
auria
5cddb8ffb6 Added support for selecting GUI skin through user interface; aded skins by Dakal as a proof it works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 18:10:55 +00:00
auria
c5b50e5a5c Major update to input handling code to support our #1 feature request : menu navigation should not be tied to accelerate/brake/steer, there should be keys especially for menu navigation. Note that the code is not yet complete, namely you cannot configure the menu keys
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 18:56:55 +00:00
auria
1b3ea64041 Initial incarnation of the new input configuration menu. More to come
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 19:39:09 +00:00
auria
d114f2844b Extracted default group name into constants.hpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 23:40:50 +00:00
hikerstk
10ea91e758 Made bubble gum disappear (after a certain number of hits, set in
stk_config.xml).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-27 22:43:44 +00:00
hikerstk
200aa4ca36 Added new command line flag to enable debug debug camera (showing the view from high above
the kart down).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 23:28:11 +00:00
auria
8a8408bb23 Added back support for displaying messages in the GUI (for instance when an old config file is found; though this won't actually happen for the 0.6->0.7 transition since it went from LISP to XML)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 01:21:53 +00:00
auria
2810193fb2 Lots of small changes to make the output Doxygen file much more useful
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:36:13 +00:00
hikerstk
468507af8b Added debugging features for check structures (use --check-debug), which
prints when a checkline is triggered or activated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-19 12:37:45 +00:00