Commit Graph

2601 Commits

Author SHA1 Message Date
hikerstk
bd89c51fca Fixed bug 2972321 - crash in battle mode since in battle mode there is no quad graph.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-23 23:42:46 +00:00
hikerstk
a2c524a4eb Avoid raycasts when being outside of the track (which caused at least one crash,
though the reason for this crash are still unclear, since the code logic
should prevent the assertion that happened. See bug 2974314 for details).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-23 23:33:47 +00:00
hikerstk
7bedccbd82 Fixed smoke and water splash (incorrect coordinate systems).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-23 11:30:33 +00:00
hikerstk
b751cdc3a7 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-23 10:41:46 +00:00
hikerstk
46dc95e3c3 Fixed incorrect rotation at start position.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-23 10:39:39 +00:00
hikerstk
390a7b39b6 Removed unused variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 11:00:47 +00:00
auria
a73cf90dca Fixed title music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 02:06:01 +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
hikerstk
794e532515 Bugfix: wrong axis resulted in incorrect automatic rescues.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5033 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 12:46:30 +00:00
hikerstk
e31d14fb2b Replaced off-road handling code, which hopefully fixes
all off-road problems.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 10:38:52 +00:00
hikerstk
2a671b0e77 Added separate roll computation, which fixes issues with
the upright constraint, and might also fix steering issues
on slopes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 10:37:51 +00:00
hikerstk
667b208aab Converted all kart.xml files from lisp to .xml files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 04:23:32 +00:00
hikerstk
625d7a91ed Removed unused functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 04:20:45 +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
2f236cb6ea Fixed keyboard configuration. For some reason, the code that sensed keyboard input disappear... weird
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5024 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 01:02:40 +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
6fd2feada7 Bugfix: an incorrect warning message was printed when the middle
of the first quad line is exactly on the start line - which is by
now always the case since these lines are identical.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-18 11:45:07 +00:00
hikerstk
1ddb5e2b7d Fixed incorrect start positions on some tracks (caused by minor
forwards/backwards shaking of the kart at start and the fact
that 'isInRest()' tested the wrong axis).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-18 11:42:49 +00:00
hikerstk
6c80b9c8c4 Fixed typos in previous commit, fixed incorrect XML syntax
in sfx.xml file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5015 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-17 04:56:57 +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
2a33313d24 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5013 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-17 04:11:32 +00:00
hikerstk
124e719d11 Applied Chris Morris patch 2968849: make the torque after an
explosion dependent on distance to avoid karts shaking that
are way too far to be affected at all.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5012 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-17 02:46:12 +00:00
hikerstk
b6637277ab Started re-design of stk-config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 23:00:34 +00:00
hikerstk
887ab0110e Fixed bugs in computing kart ranks code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 11:25:01 +00:00
hikerstk
35925432d5 Fixed potential incorrect order of karts when a kart is off track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 09:21:21 +00:00
hikerstk
9287258788 Removed unused functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 09:20:08 +00:00
mbjornstk
9de4c01b19 Add break, otherwise zipper cheat fell to next case.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-13 23:28:52 +00:00
hikerstk
9889050ce2 Fixed pitch and roll of items (esp. chewing gums).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 12:21:00 +00:00
hikerstk
37b842e4c0 Fixed bubble gums.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 08:07:29 +00:00
mbjornstk
bbb58408e4 Swap YZ when applying explosion forces.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 02:55:31 +00:00
mbjornstk
5b7a48217d Add m_type in init again, it disappeared in merge.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 02:45:17 +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
hikerstk
7ef21a38ed Fixed camera rotation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 23:23:15 +00:00
hikerstk
ce3578d1c1 Some fixes to slipstream (but slipstream is disabled by default anyway).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 23:09:55 +00:00
hikerstk
8dfcd28e44 1) Fixed AIs.
2) Changed steering (m_steer positive is now steering left, negative right).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:36:53 +00:00
hikerstk
c849e91221 Fixed incorrect axis.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:08:16 +00:00
hikerstk
0848fe1349 Fixed distance computation (was still using up instead of forward index).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:07:50 +00:00
hikerstk
5de3555ac2 Fixed 'relaxed' camera view, fixed (usually unused) camera debug mode,
removed unused code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:06:41 +00:00
hikerstk
3541e0a305 Added reminder echo to fix some bugs in bullet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:01:32 +00:00
hikerstk
aae13b3768 Cosmetic change only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:00:34 +00:00
hikerstk
3c6a132bc0 Removed test code, simplified code for rotating items.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 21:58:46 +00:00
hikerstk
2d16e970b2 Bugfix: bullet resets the isInContact value for wheels when a debug drawer
exists. Besides other potential side effects this disabled skidmarks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 11:41:50 +00:00
hikerstk
706984c1c8 Re-enabled upright constraint.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:17:32 +00:00
hikerstk
b691445f15 1) Fixed bug in memory allocation (world doesn't exist when it was used).
2) Some improvements to support the old history format, but not fully working
   (and probably not needed anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:16:26 +00:00
hikerstk
1552693cf4 Bugfix: history mode needed -N to work (solved by --history setting the -N flag automatically).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:14:36 +00:00
hikerstk
8113302764 Bugfix: bullet had the up axis hardcoded.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:13:07 +00:00
auria
9fb9278f31 Improved Follow-the-leader game ending. An assert failure might occur if one kart dies in front of the leader
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 20:31:37 +00:00
auria
fafed60136 Bugfix : adding depend-on="" in a challenge file would cause the challenge to be unplayable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:50:05 +00:00
auria
56ad4bbec9 Removed unused class member that was misleading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:42:28 +00:00
auria
0da7e2da10 Hopefully fixed bug about bogus kart rankings. 1) Made all karts be ranked at the same time, so there's less risk of mismatches 2) Found a precondition inside the sorting method, that was not documented in the doxygen comments, nor enforced with contracts... and sure enough someone somewhere called it without respecting that hidden precondition. Fixed the problem by removing the precondition (the new logic doesn't have the same precondition)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:39:05 +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
mbjornstk
9606ee9ab6 Add zipper cheat, F7 key. Useful to test high speed behaviour.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 03:18:11 +00:00
mbjornstk
220f00ed10 Abstract engine power to a single call. Now karts are 4WD 40-60 ratio.
Real karts are not 4WD, but behaviour seems better while jumping/turning.
RWD is easy to put back, or FWD, or any other ratios, no more per wheel
calls except if really needed (traction control, differentials, etc).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 22:54:53 +00:00
auria
0623cce462 Fixed crash at the end of a GP if there is a challenge associated to it. Also, it is now detected properly when you unlock a feature by winnign a GP (however the chest scene doesn't yet apepar)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 18:42:04 +00:00
auria
32f1e24b4a Added sanity checks to debug bogus rankings, especially in GPs. Improved Doxygen documentation on the way.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 16:52:20 +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
0efd96d8da Fixed '?' icons still appearing at times in ribbons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 00:36:38 +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
f09a083597 Updated default AI, added getPitch() to moveable so that camera can get the
pitch in the range it needed it (-90 to 90, not -180 to 180).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:44:17 +00:00
hikerstk
ac85c71e31 Removed 2nd debug key for bubble gum, added debug key for bowling ball.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:42:18 +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
hikerstk
7549252410 Fixed (hopefully) all items.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:40:55 +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
127d58e2dd Removed GP descriptions, they weren't useful in any way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 23:51:44 +00:00
auria
6d800e52fa Fixed track screenshot being flipped when coming out of chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 23:42:44 +00:00
auria
26fc6bb627 Fixed screen cleanup method not being called under some circumstances
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 23:38:27 +00:00
auria
6b65eb0217 Applied other patch by Hilton Medeiros
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 19:45:16 +00:00
auria
228808f981 Applied other patch by Hilton Medeiros
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 19:43:35 +00:00
auria
4349a8961b Fixed positive/negative axis display (show +/- and not 43/45)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 16:20:30 +00:00
auria
e23c222a59 Applied patch by Medeiros Hilton for input (with some modifications)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4934 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 16:17:47 +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
hikerstk
7b38753638 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 02:34:37 +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
9dcc758862 Improved gamepad sensing logic
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 16:15:15 +00:00
hikerstk
1df83662f6 1) Fixed cakes.
2) Changed several animated meshes/scene nodes to use more
   general mesh/scene nodes.
3) General many more fixes for changed coordinate systems.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 12:35:58 +00:00
hikerstk
7dd318d949 First changes to history format.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 12:32:26 +00:00
mbjornstk
4814c03e2b Report with text when band gets attached to a kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 22:42:01 +00:00
mbjornstk
455393e966 Print message only if a kart is hit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 20:19:07 +00:00
mbjornstk
4a2e7d57b1 Report "plunger in face" hits with text. Band/pick mode not done yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 20:00:39 +00:00
auria
6b95ca8ec3 Removed debug print that shouldn't have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:53:12 +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
hikerstk
3eae65cb89 Some progress on upright constraints.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:21:20 +00:00
hikerstk
cd24969100 Replaced calls to kart->getHPR().getHeading directly to
kart->getHeading().


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:16:47 +00:00
hikerstk
32ed6f400a Removed calls to physics debug draw while the menu is shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:15:33 +00:00
hikerstk
2813e3d75c More fixes related to camera handling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:14:56 +00:00
mbjornstk
f79865add0 Report hits of cakes and balls with message. Plunger fails for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 02:07:36 +00:00
mbjornstk
80061370ce Add missing conversion to message.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4901 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 02:05:56 +00:00
mbjornstk
616b20c5ea Report anchor and parachute with text too. Swapper case reorganized.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:59:06 +00:00
auria
bb67d60401 Fixed minigift issue when restarting race while a gift is growing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:41:35 +00:00
auria
f8257e4165 Minor string fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:29:35 +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
mbjornstk
7519e3d550 Report swap action with text, not just sound.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:21:32 +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
2efb0ceb10 Added the possibility to use trilinear filtering. Trilinear and anisotropic filtering can now be configured (disbaled) in the user config (not yet in the GUI)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 22:56:32 +00:00
auria
f12641d33b Anisotropic filtering is now specified in materials.xml. Now we can have crisp textures wherever we want, without wasting time doing the calculations where not needed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 22:18:13 +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
mbjornstk
72411827ea Add parachute to testing cheats (press F6). And trailing whitespace.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 22:39:28 +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
8d0827dcd0 Perform sanity checks when loading challenges
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4872 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 01:06:41 +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
fb35d4a390 Fixed penalty time, hopefully for good this time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-27 23:51:56 +00:00
auria
2efd3bb475 Activated anisotropic filtering. For now it's on everywhere and not selectively, which is perhaps not what we want, but it makes textures on the ground much crisper and eliminates blurring at a distance on the ground
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-27 15:54:27 +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
7ff75dee45 Updated Xcode project : DEBUG was not defined (not I understand why cheat F-keys wouldn't work, duh...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 20:09:51 +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
620f63adc2 Dont give plungers in 3 strikes mode (we need more weapons for this mode\!)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:09:41 +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
hikerstk
d7c44cc93d Physics debug mode now cycles through off, show karts and collision shape,
to show only collission shape and then back to off. The command line
option --bullet-debug was removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 07:03:12 +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
85227df4a0 Committed back octree, since it is now obvious I was totally wrong thinking this caused the shininess... hum, should have looked at hiker's commit first *blush*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 21:39:09 +00:00
mbjornstk
db2805bffa Wild fix for things being overlighted/white. "Works for me", please test.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 21:28:35 +00:00
mbjornstk
08106d9d2d Make cheats give bowling again, with F5 (F1 and F5 were giving both gum).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 21:20:11 +00:00
auria
05fe53f70c Reverted the (accidental) switch to an octtree, since this causes very brightly materials on Linux and Windows (WTF??) [and not on mac... WTF again...]
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 21:10:28 +00:00
hikerstk
bd33113f20 Fixed incorrect heading and pitch in vec3, fixed rescue (again),
fixed checklines, improved camera (still not fully working), fixed
incorrect 'wrong heading' messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 13:20:22 +00:00
hikerstk
13f4c5c8ab Removed unused final camera.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 03:33:39 +00:00
auria
eb15a6f11c Removed debug prints that should not have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 02:53:38 +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
616a3b3719 Fixed STK to not stumble upon command-line arguments that the OS X Finder might pass to the process
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 00:40:25 +00:00
auria
2945e55d89 Fixed camera doing ugly moves when restarting race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 00:16:06 +00:00
auria
8e345671a9 Some more cleanup to make code follow our guidelines
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 00:08:02 +00:00
auria
1c17346a0a Cosmetic fix : corrected confusing code indentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 23:51:56 +00:00
auria
2308e94386 FIxed penalty time, which was broken by the switch to controllers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 23:46:36 +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
81bfc497b3 Lowered dependencies of Shadow (now accepts any scene node, no more uselessly requires an animated mesh)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 22:11:06 +00:00
auria
3ece963bc2 Lowered dependencies of Star (now accepts any scene node, no more uselessly requires an animated mesh)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 22:10:27 +00:00