hikerstk
ae85e05390
Bugfix: uninitialised variable was used, which causes (at least on Windows) the camera
...
position to be completely wrong.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-17 04:01:17 +00:00
xapantu
9362dc13f4
Convert (partialy) the addons dialog in the new xml system
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5752 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 09:34:31 +00:00
auria
021dea1829
Reconciliated Screen and ModalDialog by extracting their common funcitonality into a common base class
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 00:39:53 +00:00
auria
ce0f923623
Cleaned out outdated code and no more relvant TODO
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 00:13:10 +00:00
auria
d2399b76a6
Converted 'confirm resolution' dialog to use XML files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 00:10:09 +00:00
auria
b7fe74141e
Converted the 'new player' dialog to use XML files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 23:51:34 +00:00
auria
f43d9d4d35
Ported race paused dialog to XML files + fixed many small things with dialogs-from-xml on the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 23:24:08 +00:00
auria
975451c7ec
Dialogs may now be specified in XML files. Ported the 'press a key' dialog to a XML file as a test and example
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 22:12:58 +00:00
auria
ee1f67b19d
Converted back CREDITS to UTF-16 (why was it converted back to UTF-8? STK expects UTF-16, since that's the format our font object can handle) - fixing crash when trying to see credits in-game. Also addded better error handling in the code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 20:42:18 +00:00
auria
b1f7012cbd
Moved layout code out of Widget and Screen classes; not only is it cleaner this way, it also paves the way for eventually making Dialog classes also use the XML layout code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 20:24:51 +00:00
hikerstk
e034082a2b
1) Moved calls to World::(un)pause from state_manager into
...
the menus. This simplifies the state manager (no more
hidden side effects of pushScreen), less parameter
to onGameStateChange, easier extend for new RaceResultGUI
(which must not have calls to pause). Now the calls
are done in the Screen base class (and can be disabled
in the constructor).
2) Many cosmetic changes to make the code follow our
coding standards.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 01:15:19 +00:00
hikerstk
a28ed20d9e
Only cosmetic changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-11 22:53:42 +00:00
hikerstk
dc0d97ed1c
More names for scene nodes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-08 23:01:25 +00:00
auria
35d2456800
Documented problem
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-08 00:59:19 +00:00
hikerstk
856d59fc76
1) Worked around bug of 'continue' text not being shown when a kart is unlocked.
...
2) Minor style cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-06 13:59:03 +00:00
hikerstk
25b2d48a2a
Minor coding style changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-06 05:12:50 +00:00
hikerstk
fd8e85e2eb
Simplified code by reusing existing function.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-05 13:16:32 +00:00
hikerstk
5c00d7044a
Simplified code somewhat.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-04 13:10:20 +00:00
hikerstk
a27ab81982
1) Fixed incorrect colours for rows (player karts should be in red).
...
2) Removed unnecessary type casts.
3) When increasing the GP points, the 'recently earned' points are now
decreased.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-01 23:37:39 +00:00
hikerstk
b13ba3ac37
Changed direction in which the GP entries are resorted: karts going up towards
...
the top will be moving to the left side, karts going down to the right side.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-30 00:31:52 +00:00
hikerstk
ec0ec1ea64
Fixed crash in case that a kart does not have an icon.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-30 00:11:28 +00:00
hikerstk
0b35249b43
Improved new race result gui - it now consists of two parts: first
...
the results of the just finished race, then an animated display
of the GP standings (to test this please change the #undef
USE_NEW_RACE_RESULT in race_result_gui.cpp).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-29 23:03:20 +00:00
xapantu
57b5c788ea
Adding chinese language in gen-mo (not added yet), tab system in the addons menu and some others very little things
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-28 17:46:48 +00:00
hikerstk
a68a70003c
Added animated display of current GP standings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-25 22:37:11 +00:00
hikerstk
ebc4754717
Update to new race result GUI: it now handles GP and non-GP,
...
and 'animates' increasing the points.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-22 22:51:14 +00:00
hikerstk
c6d8b5908f
Disabled new (and unfinished) race result gui again, which was
...
accidentally enabled in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-21 01:09:12 +00:00
hikerstk
2ad6b0a027
Renamed CGUIFont.{h,cpp} to scalable_font.{hc}pp, removed all
...
references to CGUIFont (so that the new mono-space-digits functions
can be used everywhere); some code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-21 00:01:22 +00:00
hikerstk
7557d4be8b
Updated new race result gui (which by default is not shown atm).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-20 23:01:47 +00:00
auria
b1c970684c
Fixed warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-18 15:49:52 +00:00
hikerstk
ddf7175ee1
Fixed bug 3030981: no more in-game dialog when pressing escape.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-18 10:58:35 +00:00
auria
992115a9d9
Started performing API changes to support multiple GP losers eventually
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 18:17:15 +00:00
auria
b636214371
Allow assigning key bindings to ESC
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 17:40:09 +00:00
auria
13a6e76c13
Make sure the right camera is used in 3D cutscenes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 17:23:33 +00:00
hikerstk
04f2bd7190
1) Started adding new race result screen, which is for now disabled in the game.
...
2) Replaced int* with std::vector<int> in raceResultOrder.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-15 22:41:41 +00:00
hikerstk
626f83087a
Added new base class for race gui (in prepration for improved
...
result gui).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 23:03:54 +00:00
hikerstk
e8d97d035d
Fixed delete being inconsistent with new.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-08 05:14:42 +00:00
hikerstk
2b3eac1746
Fixed memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 21:50:32 +00:00
xapantu
93624d154c
Fix a crash caused by a uninitialized mutex and remove the 'setText' call from the thread because it can caused a crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 16:06:43 +00:00
xapantu
ad9eb86671
Adding a progress bar to download addons.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 14:39:45 +00:00
xapantu
6a51351181
Adding a progress text to show the percent already downloaded of the addons inthe addons dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 17:47:05 +00:00
auria
a77405d53a
Fixed potentially dangerous name clash between Widget members and SkinWidgetContainer members + added the proper m_ prefix as per our style guidelines along the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 19:25:20 +00:00
auria
56956bf752
Fixed potential crash in add-ons code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-03 23:48:54 +00:00
auria
a8224ea937
Fixed a couple issues in race GUI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 23:14:44 +00:00
xapantu
079a25cbd8
Adding a mutex to avoid gui problem in the addons_loading dialog and desactive the next and previous button (and some code cleanup)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 16:54:08 +00:00
xapantu
088efbb96a
code cleanup in addons_loading (remove the use of 'this' for the back button, I am going to remove all 'this')
...
move this->update_status to m_update_status in addons_screen
disable the focus on the image in the addon dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 14:59:21 +00:00
hikerstk
acf4092444
Added new VS configuration 'curl-debug' which adds support for libfribidi,
...
curl (and pthreads). Several functions could not be compiled under VS, for now
I have commented out the appropriate sections and added "FIXME_ADDON"
#ifdefs or comments.
NOTE: This will most likely break the addon manager on platforms on which it
is currently working!!!! It's mainly meant to show which parts of the code
need to be improved!!! Please grep for FIXME_ADDON, and if no easy fix exists,
just add #ifndef WIN32 for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 14:25:42 +00:00
xapantu
4669b7075b
Working on the update screen: remove unneeded function and some code cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 10:02:57 +00:00
auria
9476785986
Removed the include to pthread in the main screen, it's not used.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:34:59 +00:00
hikerstk
5fcd69554e
Updated VS project file, fixed minor compilation and style
...
problems (note: atm addons are not compiled on VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:14:56 +00:00
auria
b686bf524b
Updated Xcode project + minor fixed to xapantu's code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 23:53:16 +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
0d527829ef
Fixed VS compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 11:11:03 +00:00
auria
6cb51e2492
More work on scalable race GUI : race GUI will now be not so small on high resolutions (we need higher-definition weapon icons\!)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 01:23:56 +00:00
auria
536bce6aa9
Started implementing scalable race GUI : race GUI will now be not so small on high resolutions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 00:59:20 +00:00
auria
9c4940abdb
Fixed AI count spinner being disabled when it shouldn't
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 23:56:59 +00:00
auria
3f0e2b8d74
Don't show 'random kart' button when no karts are available in the current group, or if there is only one kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 17:21:41 +00:00
auria
2275ecaa2b
Corrected other FIXME
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 19:36:59 +00:00
auria
5f18162c25
Simplified and cleaned up kart selection focus dispatcher logic; also corrected warp-around to work properly there
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 17:19:12 +00:00
auria
0350423907
Fixed issue with duplicated resolutions + resolutions not always greyed out when the options menu is viewed in-game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5562 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 15:00:13 +00:00
auria
dcc4d54365
Handle exceptional situation in kart selection screen by just printing to stderr... it shouldn't happen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:34:41 +00:00
auria
3b617a95a1
Started fixing kart selections being messed up when a player quit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:28:20 +00:00
auria
237d1c2883
Fixed music being changed in in-game menus
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 17:26:57 +00:00
auria
167257c4f4
Fixed crash with in-game menus
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-21 00:10:50 +00:00
auria
b297ef72de
Corrected a FIXME by moving a constant where it belongs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-19 01:10:41 +00:00
hikerstk
df1985dab8
Removed VS compiler warnings (double to float conversion, loss of precision).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5522 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-18 02:03:36 +00:00
auria
4afb71659f
Modified music handling, fixing the music heard during GP lost/won
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-13 18:25:49 +00:00
auria
ab6e93f4d8
Bugfix: initially shown highscores were wrong
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 22:41:37 +00:00
auria
39ccf7dfb9
Play lose music upon losing GP
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-01 00:14:24 +00:00
auria
45b60e948d
Improved GP lose
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 19:38:29 +00:00
auria
759cbff2b7
Added files forgotten in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 15:48:24 +00:00
auria
bc29666749
Fixed invalid spinner max value in kart screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-16 16:55:15 +00:00
auria
ed0064bcff
Forbid changing resolution in-game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 18:51:29 +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
dd0caa5f0a
Split audio and video options in 2 separate tabs, in preparation for adding more items
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 16:12:41 +00:00
auria
1556b60bdc
Removed irrlicht 1.6 support code, since we don't support building with irrlicht 1.6 anymore
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 15:28:32 +00:00
hikerstk
0a59455a82
Removed LIMBO state, added new RESULT_DISPLAY_PHASE (but at this stage no
...
visible change to user).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 23:53:32 +00:00
auria
493f24fbcf
Seperate handling of track groups and arena groups in track manager; if you have e.g. one add-on track but no add-on arena, you'd get a weird empty group in the arena selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 01:09:36 +00:00
auria
4a66d148c9
Fixed bottom back button in new input screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 18:00:19 +00:00
auria
6187f3a132
Fixed crash when backing to kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:31:57 +00:00
auria
e969e91e9e
Minor code style cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:11:19 +00:00
auria
c9ddf98f3d
Added assertions to catch the bug reported on the forum earlier (when doing the resolution switch, not when plasying afterwards). Seems it has to deal with the material manager and the handling of 'permanent' materials (but I can't make any sense of your code there Joerg, so please help -.-)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 15:28:05 +00:00
auria
e0ed3291e0
Added basic input conflict reporting (conflicting bindings)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 01:06:03 +00:00
hikerstk
e201176255
Reused function to create timing strings; added support for 1/100 s .
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 22:45:30 +00:00
mbjornstk
be4079e4c8
Remove kart.hpp as it seems to compile fine without it.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 19:07:17 +00:00
hikerstk
56ebedd175
Fixed item handling in battle modes by adding an additional 'position class'
...
to data/powerup.xml for battle modes. This makes it unnecessary that modes
can select which powerup are available, therefore this code was cleaned up.
Also added some minor code simplifications.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 13:54:49 +00:00
auria
d1ac9142a3
Fixed joinging multiplayer game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 01:02:56 +00:00
auria
16e3988ddd
Another major update to the input configuration screen. There are now separate configurable keys for menu navigations. Conflictm detection was not implemented back yet; multiplayer gameplay seems broken too. To be continued
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 23:37:38 +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
b1e7e6e15c
Select something by default in challenges screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:31:03 +00:00
auria
a5a8b3ec87
Improved behavior when escape is pressed in a device config screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:18:47 +00:00
auria
fa74a15fad
Removed outdated comment
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 22:31:01 +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
hikerstk
e3ba096997
Print information message only on appropriate verbosity levels (to avoid
...
too many messages during a normal startup).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 13:58:13 +00:00
auria
7d23dd95f6
Make sure the 'standard' group is listed before the 'add-ons' group, and is selected by default.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 23:52:19 +00:00
auria
1bdc320742
Fixed karts selection screen messed up after a resolution switch; added some refactor to allow easier fixing of such problems in the future. Documented many more methods along the way.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:16:38 +00:00
auria
567ccbb95f
Yet nicer end-of-3-strikes screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 20:58:36 +00:00
auria
f57252e914
Nicer screen at the end of 3 strikes battle
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 20:36:36 +00:00
auria
9861211bca
Implemented the 'random arena' button
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 19:54:39 +00:00
auria
e92a0cc2ea
Improved lap count display location calculation to avoid any overlap with minimap. The position is still calculated every frame even though it doesn't change, which is a bit silly, but we can improve that later...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-28 18:26:23 +00:00
hikerstk
ac42071c82
Moved PowerupType into PowerupManager (some minor work on
...
weights for powerups started, but nothing more than some
declarations).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-28 13:17:02 +00:00
auria
271287f192
Removed scaling parameter from race gui lap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-28 00:07:48 +00:00
mbjornstk
2142f5f5e2
Remove exclamation mark that showed "flying" (it was half off screen).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-27 22:51:07 +00:00
mbjornstk
e6e23021bc
Make minimap scale with window size. "Lap n/m" text still to be adjusted.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-27 21:44:01 +00:00
mbjornstk
fee2a8ce7c
Add include to solve "./states_screens/dialogs/track_info_dialog.hpp:34: error:
...
ISO C++ forbids declaration of SpinnerWidget with no type"
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 18:50:43 +00:00
auria
1a9b1466bb
removed many includes in headers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 14:41:23 +00:00
auria
52b72efedd
Removed outdated TODO and fixed a FIXME by removing fishy code that didn't seem useful anyway
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:45:48 +00:00
auria
b3b81a22ba
Corrected FIXME
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:36:32 +00:00
auria
189fd13b37
More code cleanup (yeah, again, that's because I care ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:23:57 +00:00
auria
281036fc3c
More code cleanup and documentation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:07:56 +00:00
auria
e4fcbd4535
Added higher-level calls to RibbonWidget so that Screens don't need to manually manipulate the internals of GUIEngine (continuing work started in previous commit)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:54:55 +00:00
auria
e9b621c93c
Added higher-level calls to RibbonWidget so that Screens don't need to manually manipulate the internals of GUIEngine (they shouldn't even have access to them xD)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:43:06 +00:00
auria
1ced2b17cd
Added a FIXME explaining the cause of some bug; didn't fix the bug yet, though, cause I'm not sure what the best way to fix it is. Will need to discuss with Joerg
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:11:36 +00:00
auria
e6b0b5238d
Improved the code of abstract state manager / state manager (moved code from abstract class to derived class, improving the design a lot and removing duplicated code). closes many FIXMEs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:21:51 +00:00
auria
ad97efc12f
Improved the design of the GUI engine yet a bit more. Documented a couple coding horrors with FIXMEs *blush*
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 20:21:04 +00:00
auria
400a102241
Code cleanup and documentation improvements in GUI code; fixed compilation error mysteriously introduced by removing LISP (WTF, I did a clean build, why didn't this error pop up then???)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 20:08:13 +00:00
auria
2be54f434e
Fixed compile error that was introducecd
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:58:30 +00:00
auria
c3fe0cb910
More work to enhance Doxygen output
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:48:56 +00:00
auria
183ff21c91
1) Added warp-around feature to spinners, made player ident spinners warp-around. 2) Moved GUI engine documentation from .hpp file to .cpp file, so that a documentation change doesn't trigger large re-compilations of everything 3) Formatted GUI engine documentation for Doxygen, now Doxygen will generate us a nice documentation about the GUI engine
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 19:47:17 +00:00
hikerstk
d5b39b67d0
1) Added support to display icons of the karts instead of
...
dots in the minimap.
2) Added documentation to KartProperties.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 02:18:45 +00:00
auria
4c755d02c0
Added support in feature unlocked chest for unlocked GPs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 19:19:42 +00:00
auria
297f0cceb4
Renamed SoundManager into MusicManager, since this makes it much clearer what it does (it was just confusing to have SoundManager and SFXManager)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:24:02 +00:00
auria
893cb01eaa
Implemented locking of karts
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 17:27:55 +00:00
auria
9ef740ea27
Fixed old code still using 'this' as argument for a method that expected a bitmask (stupid C++ converts bool to int implicitely so didn't warn me)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 17:20:31 +00:00
auria
0ffd305dc5
Implemented Todo : In the 3 strikes arena selection screen, groups are not implemented
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 17:12:09 +00:00
auria
8d3e9df01e
Show global GP-order in addition to latest-track-order in the race over dialog when racing a GP
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5171 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 20:04:16 +00:00
auria
ac67f9fbb2
Better document race over dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 18:51:32 +00:00
auria
a009b2ef6c
Better define which widgets can be visited by multiple players, fixing weird missing focus issues when a player > 0 selected a widget he shouldn't
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 17:13:39 +00:00
auria
d1df9b1ee1
Fixed several FIXMEs related to player ID
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 21:02:40 +00:00
auria
c5a12ecafa
More removal of unnecessary FIXMEs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 01:45:57 +00:00
auria
1be79f8a72
fixed a FIXME (minor change)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 23:49:42 +00:00
auria
2a06f7b2c0
Cleaned up no more useful TODOs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 23:22:26 +00:00
auria
2f3cf6d8b4
Cleanup : less publicly editable members in Widget, renamed the name of tabs in options because there was a name conflict, improved widget search into the tree
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:18:07 +00:00
auria
53df3f4cee
Fixed player name spinner to contain the correct default value
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 16:03:11 +00:00
auria
f9cb8b125d
Initial work towards selecting the most used profile for game master, and guest profile for others (by default). not really there yet so expect weird stuff to happen if you don't play with the spinner and leave the defaults.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 02:08:11 +00:00
auria
2b68412239
Fixed in config code : the code was mixed up by all players described using a <Player ...> node in XML... because often it did getNode(Player) which always returned the first player. People please delete your config file (or the Players section in it) to amke sure your data is OK
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 01:35:11 +00:00
hikerstk
e95d5ad5dd
A historical commit: replaced highscores lisp files with xml,
...
allowing us to completely remove the lisp code from stk - hooray!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 22:29:47 +00:00
hikerstk
baa5b0450c
Fixed compilation bug (auria: which language have you been
...
programming in lately?? ;) ).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 05:20:28 +00:00
auria
83fe7df8e8
Forbid adding 2 players with same name
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 01:05:08 +00:00
hikerstk
939caf1981
1) Added -v X verbosity command line option, so that debug output is only printed
...
if an appropriat ehigh verbosity is selected. For now most debug statements
that are always printed (i.e. independent of user actions) is only printed
if verbosity is >=5, debug statement which are a reaction of a user action
with verbosity >=4.
2) track- and gamepad-debug flags are not saved in config files anymore, made
disabled reverse_look_threshold as default.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 23:52:41 +00:00
auria
84f4d6d3f3
Save config file when relevant. Forbid editing or removing the guest account through the GUI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 01:39:01 +00:00
auria
5e45b7e1b5
Started adding guest account, so that multiplayer gameplay is not hindered by having to make a player account for everyone
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 01:21:49 +00:00
auria
074a1a843f
Fixed crash when a track has an invalid screenshot file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 01:14:11 +00:00
auria
fad4cb4c01
Updated menu singleton code, there was a bug in its logic (that had no consequence that i know but better fix it anyway) + some code style cleanup along the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-18 18:18:19 +00:00
hikerstk
9e9cac587f
1) Fixed crash when errors occurred during audio initialisation:
...
quickSound did not test if sfx were correctly initialsed. There
are still outstanding bugs when audio doesn't work, related to
the sfx not loaded. Had to make quickSound non-static, since
otherwise it couldn't test if sfx were initialised.
2) Made several minor layout changes to follow our style and be
easier to understand.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5014 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-17 04:48:01 +00:00
hikerstk
d50bd9dbe6
Merged the switch_coordinate_system branch with trunk. This means
...
that now all coordinate systems are y up, z forwards - including
the file format. For now only one track has been ported, the
rest will follow shortly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 02:16:11 +00:00
auria
38b0cfaa2a
The chest scene is now shown for challenges that require beating a GP too
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 17:04:05 +00:00
auria
5239b62e0d
Notify player when he unlocked a feature by completing a GP
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 16:44:09 +00:00
auria
4340cccd9f
Added support for displaying the same fonts in different sizes. Use smaller font for in-game messages
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 02:03:39 +00:00
auria
11c147c8e9
Display less important messages in white, at the bottom of the screen, to not detract attention from gaming. Fixed probable grammar mistake in string
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 01:35:57 +00:00
auria
2827533e70
Don't allow selecting ribbon grid filler items
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 00:54:07 +00:00
auria
54c53d000e
Improved message 'you unlocked a feature' to look nicer and be more obvious
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4947 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 00:21:51 +00:00
hikerstk
d5307f655e
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:41:31 +00:00
auria
cdc53c81b2
Fixed objects slightly going through chest, explicitely mark a couple constants as floats to make the code clearer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:07:34 +00:00
auria
5d127c878c
Removed unused constant, fixed compile error in switch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 02:41:10 +00:00
auria
d0624a7ab7
Improved vertical spacing betweewn messages to adapt to font (but multi-line messages are NOT supported anymore)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 01:58:27 +00:00
auria
c18ba6bc03
Fixed funny-colored stuff coming out of the chest (and fixed the network button hack to get there quicker)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 01:42:54 +00:00
auria
bdd985c88a
Can now unlock game modes too. Centralized a couple mode-related stuff to make code cleaner with new changes. Made challenges more robust, fixes a couple crashes that could happen because errors went undetected
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 01:28:23 +00:00
auria
cf7382700f
Allow 'setup new race' in FTL and TT modes too, not sure why it was ever disabled
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4928 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 23:38:28 +00:00
auria
0fffb14b88
Fixed focus loss issue when using tabs in kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:50:45 +00:00
auria
eb5c201168
Code cleanup in kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:40:49 +00:00
auria
4230ff6ec7
Minor code style fix
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:03:56 +00:00
auria
feefff8997
Fixed slight shaking in end-of-GP scene
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:00:36 +00:00
auria
b09f463c2f
Don't show the 'all groups' tabs when there's only one group
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 18:37:39 +00:00
auria
fd502f0604
Implemented track group support
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4914 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 18:29:16 +00:00
auria
8add3c930f
Started implementing track group support; implemented 'random track' support
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4913 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 18:10:45 +00:00
auria
9e1ce6db4e
handle maximum number of players in kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:56:34 +00:00
auria
c17f4f0e07
forbid changing kart group after a player confirmed his selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:48:31 +00:00
auria
980b38004d
Minor : indentation fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:23:05 +00:00
auria
9f3aec4df4
Removed magic constant *blush*
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:10:38 +00:00
auria
8d2d755490
Solving a challenge will now actually show the features you unlocked. Adapted the feature unlocked screen to be able to show many unlocked features at once. Show unlocked text in feature screen.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:25:29 +00:00
auria
90b95f6944
Fixed what happens when pressing escape on feature unlocked screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 23:40:20 +00:00
auria
7c2d181fc4
Fixed feature unlocked 'continue' button when playing from a GP
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 21:50:51 +00:00
auria
17d01a88e4
Clicking 'continue' on feature unlocked screen should now work
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 20:53:40 +00:00
auria
d27e3d90c5
Show 'feature unlocked' screen when unlocking a feature. It's not yet complete : it doesn't really show what you unlocked, and you can't leave the screen properly (game crashes or hangs)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 20:17:31 +00:00
auria
2ee8c18e68
Fixed bug in challenges screen : solved challenges had the wrong label and description
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 19:57:47 +00:00
auria
892c30571a
Started adding support for notifying the user that a feature was unlocked
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 02:07:00 +00:00
auria
a0917dd60e
Show challenge description for solved challenges too
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 02:05:38 +00:00
auria
91386516e4
Added FIXME
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 00:58:59 +00:00
auria
6f278f6d1e
Started implementing clicking on a challenge to start it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 00:52:41 +00:00
auria
5a32323c61
Modified 'setup new race' to skip kart selection (what use is this feature otherwise...)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 20:10:43 +00:00
auria
a6430189f5
Draw plunger-in-face first and not last, so messages are not hidden under the plunger
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:30:53 +00:00
auria
c151c124cb
Added utility methods to set badges in GUI; used them to fix missing green badge when selecting kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:21:53 +00:00
auria
9b7a0fdc31
Some fixes with end-of-race messages;don't display 'you have finished the race' when you're killed in 3-strikes mode; don't display 'you have won' when using the 'race again' button at the end of three strikes; improved FTL end
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:09:05 +00:00
auria
d812c0f274
Apply back fix that was committed in r4817 and mysteriously reverted in r4843, plus minor improvements to battle mode end
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 02:43:13 +00:00
auria
10834134d4
Started adding more interesting stuff to end-of-3-strikes battle dialog (more polish to come)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4841 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 02:52:07 +00:00
auria
ac4346cd6d
Improved ebnd-of-battle dialog a tiny bit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 01:54:28 +00:00
auria
08c0d291fb
3 strikes now has some ending instead of crashing (more to come)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 01:48:32 +00:00
auria
5c6df4653a
Make a default selection in track selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 23:34:25 +00:00
auria
93c12ead08
Fixed const correctness issue with class ModalDialog + fixed behaviour when pressing ESC in race over dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 22:08:41 +00:00
hikerstk
fbeaa0524f
More fixes to swap the bullet axis.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 05:23:00 +00:00
auria
379939e97e
Show times in GP dialogs too + prevent a crash (does not fix it, tho)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 03:01:32 +00:00
auria
c0543e1c69
Fixed color display in 3 strikes mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 02:11:33 +00:00
auria
8ddd775132
Added back applause sound at gp end
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 23:47:31 +00:00
auria
812459dcb0
Improved looks of GP end
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 19:01:00 +00:00
auria
1fed34a601
Updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 16:51:48 +00:00
hikerstk
f41150eae7
Replaced OpenGL bullet debug view with irrlicht bullet debug view.
...
Debug view can now be switch on and off during a race (ctl-F11),
but currenlty does not display as much information as the
original debug view (more to be implemented here).
Removed glut dependency.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 12:02:13 +00:00
auria
83b5de120b
Play a different music on GP end screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 00:46:04 +00:00
auria
01bde2eb8d
Added moving camera in GP end
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 00:15:36 +00:00
auria
f877987385
Fixed bug in GP end screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 23:45:13 +00:00
auria
5298b54770
Fixed a couple glitches in GP end screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 23:35:01 +00:00