Commit Graph

612 Commits

Author SHA1 Message Date
auria
5478aac7ca Save options before leaving options screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 00:23:42 +00:00
hikerstk
d81be16715 Removed display of highest speed when wheels are not on ground.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:50:42 +00:00
auria
bcb3e7243a Fixed more leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:36:22 +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
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
hikerstk
37892fc06d Fixed rank display in FTL races - the number of karts was not
decreased when a kart was removed (bug 3133631).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 21:19:01 +00:00
mbjornstk
8848ade794 Fix SVN properties before something backfires.
Probably aeonphyxius forgot to read SVN-CONFIG.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 17:45:10 +00:00
aeonphyxius
820a7c7bd0 new tutorial screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:58:28 +00:00
auria
23cde9398f Added 16:9 icon + icon for unknown ratios
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:14:34 +00:00
auria
c6b61f8a55 Add hidden feature to remove the race GUI: will be helpful to take track screenshots.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-07 00:28:13 +00:00
auria
5c372e2f81 Make timer in race gui resolution-independent + fixed some very fishy code along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 16:25:51 +00:00
auria
08b33dc2fe Fixed crash when random kart was last used and then trying to play challenges + move error messages to where they belong, no error message should be printed when doing a valid check if a kart exists
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 16:12:35 +00:00
auria
e137c16788 Make spinner for laps warp around
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 23:27:38 +00:00
auria
1cec1b597e Clean up logging in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 18:53:04 +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
8170b64fb2 Ugly removal of compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 03:40:44 +00:00
hikerstk
f21ede30e3 Fixed bug 3090931: in some circumstances the key bindings for
the 2nd player would become the default, so if the first player
presses 'select' to select a kart, instead a new kart was added.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 10:21:36 +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
auria
ba619eeb22 Check for more 'types' of shift keys
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 02:31:18 +00:00
auria
f18ead6820 Show wanring dialog when trying to use shift as a key binding
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 02:16:21 +00:00
hikerstk
d84ff3f7eb Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 12:15:13 +00:00
auria
2b3f8cc27a More work on deactivating gfx; gfx can now be deactivated from options screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 21:44:20 +00:00
auria
29ef4826a6 Allow disabling kart animations from options menu, to get a fps boost on lower end computers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 21:06:58 +00:00
auria
cb78ded2ed Tidy up logging + other minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 17:19:13 +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
auria
f0227bfd19 Don't crash when music not found
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6573 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 18:41:11 +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
xapantu
16b742358c [Addons] an addon object isn't passed to the dialog anymore, it is stupid since addons_manager is extern.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 17:21:58 +00:00
xapantu
23143a4018 Fix addons when we are offline:
- They can't be updated
- It doesn't crash when we uninstall them

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 17:04:58 +00:00
auria
54643a6d6b Fixed shiny elephant on GP win screen by reducing sun intensity
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 16:56:07 +00:00
xapantu
ba7f3c0ac4 [Addons] Download the news text directly in a string, we don't need a tmp file anymore, it was dirty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 16:53:53 +00:00
auria
9724be6622 Remove unused code + fixed wrong animation frame used on feature unlocked screen + fixed karts looking left on GP lose screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 16:00:21 +00:00
auria
debdca6df6 Allow duplicate karts when there are too many players for the amount of karts in the current group + fix bug in random kart selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 02:03:30 +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
ac341d9e0b Add more sanity checks to make 'enter new player name' KroArtem-proof
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-29 17:10:12 +00:00
hikerstk
4eb096528f Removed code that was commented out.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-28 05:14:04 +00:00
auria
82214d0622 Fixed crash when deleting keyboard config + added assertions to detect more possible bugs in the future
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 23:13:18 +00:00
auria
9fa58cd856 Stomp on memory in dialog dtors to detect bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 23:02:03 +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
auria
e42a390630 Display an error message if the user tries to create a new player with no name
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 19:26:06 +00:00
auria
4c1fc83a1a Shorten FTL definition to fit screen space
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 01:11:09 +00:00
auria
6e69463c72 Fixed bogus tab switch in help
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 20:36:07 +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
auria
852e3296c7 Improved persistence of difficulty setting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 01:10:13 +00:00
auria
dbf3ec0b09 Make number of laps value persistent
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 00:55:21 +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
hikerstk
b7b0f1b41b Fixed splitsceen display: energy bar was moved down a bit,
lap and rank display are now on top of the energy bar (and
just under the time). Removed 'finished' display if the
race is finished.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-19 21:49:19 +00:00
hikerstk
5460aa2058 Removed double display of 'finished' for laps and rank.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 12:28:46 +00:00
hikerstk
e392a2a0af Fixed display of negative number of AI karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 11:06:00 +00:00