hikerstk
32a7186320
Bugfix: avoid crash if any of the special debug keys (F1, F2, ...) is
...
pressed when no race is on.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-04 22:47:36 +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
7d5f69cf32
Fixed incorrect display of karts in mini-map.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-04 10:33:32 +00:00
hikerstk
80dfb0baca
Added debug output if a check line is crossed in 2d, but the kart
...
does not have the right height. This helps debugging cases when
a check line is too low or too high.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-02 23:25:35 +00:00
hikerstk
efd148fc42
First test to fix incorrect race order in star track
...
(which could be caused by the lap-activation line being
too low, causing only some karts to actually cross this
check line correctly).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-02 03:44:44 +00:00
hikerstk
4b50bc250a
Fixed gcc compiler warning (incorrect order of initialisation).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-02 00:18:07 +00:00
hikerstk
3d7f706cfc
Removed debug print statement.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-02 00:16:39 +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
14e41122a8
Replaced _DEBUG_PRINTS_LIKE_MAD_ with code that will only print
...
this information when a race position changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-01 23:30:13 +00:00
auria
64a002116d
Updated more screens to not hardcode button heights
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-30 01:47:16 +00:00
auria
13f82f769a
Updated feature unlocked screen XML file to no more hardcode button size
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-30 01:42:14 +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
47070a2f5a
Added --gp option to start a GP from the command line.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-25 22:35:53 +00:00
hikerstk
9f488329aa
Added test GP, which atm consists of 4 lighthouse
...
races with 0 laps each!!! Only meant to quickly
test race result GUIs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-22 22:51:46 +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
e291ce56ff
Keep the race going (with end race controller) while the race
...
results are shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-22 22:49:56 +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
auria
e9ad44ea3a
Updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-22 00:02:07 +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
hikerstk
8e48d227b8
Added support for mono-spaced digits (which makes tables with
...
numbers look better): all digits and the space character have
the same width.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-20 22:39:54 +00:00
hikerstk
03c6500265
Replaced tabs with spaces.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-19 03:36:59 +00:00
hikerstk
9549138017
Missing file from previous 'fix race restarting' patch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-19 00:14:06 +00:00
hikerstk
969314e1f0
Fixed race restarting.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-19 00:11:03 +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
auria
2a4570f6c6
Fixed warning
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-18 15:47:47 +00:00
hikerstk
c4797d6dd7
Added FIXME to indicate why restarting a race is currently broken.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-18 13:55:55 +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
auria
a4796313b5
Improved error message shown when a music fails to load + fixed the new snowy song file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 17:11:41 +00:00
auria
a7dadddb28
Update to newer version of snowy track, since it doesn't seem like the final version talked about in the forum post is going to come soon
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 15:36:34 +00:00
auria
02e65f4943
Updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 15:20:00 +00:00
auria
e53c1e64b1
Explicitely tell irrlicht that we do not support resizing the frame
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 15:18:23 +00:00
auria
ccb306d4bd
Updated mac info.plist file to be more correct
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-16 22:48:31 +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
mbjornstk
a00f81738f
Apply props to make all text in SVN.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-12 22:47:15 +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
87256f58e8
1) Finally fixed (hopefully) all crashes related to HW buffers (replaced two
...
more deletes with drop).
2) Simplified skidmarks by completely removing the saved meshes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 22:54:35 +00:00
hikerstk
d0b96f462e
Simplified skid structure by removing pointer to mesh
...
(which is not needed at all).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 13:26:26 +00:00
hikerstk
949f6380ba
Fixed incorrect delete (which can cause a crash if long skidmarks
...
are used that will utilise hardware buffer). The crash could actually
happen in another race or when ending stk (since then hw buffers are
deleted).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 13:14:09 +00:00
hikerstk
db9bf099e5
Fixed incorrect assignment to unsigned variable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 13:11:05 +00:00
auria
d1bfdd7546
Moved mutex from header to .cpp file, since defining one instance of the mutex for each fiel that includes the download manager is almost certainly not what was intended
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-09 00:41:46 +00:00
hikerstk
09fbb5f0ff
Fixed more memory leaks.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5674 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-08 23:03:45 +00:00