Commit Graph

4111 Commits

Author SHA1 Message Date
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
hikerstk
41f69b89bd Added names to scene nodes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-08 22:54:04 +00:00
auria
9dfa90beed Decide smarter who won and who lost in a GP, depending on number of players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-08 01:02:26 +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
auria
e940cccc36 Started implementing the 'max number of karts' track parameter as per the todo ticket in the tracker. The count is read but not yet enforced. The values I added in the track files are very approximative and not tested. Ideally the track exporter should generate this field
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-07 01:59:44 +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
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