Commit Graph

3468 Commits

Author SHA1 Message Date
mbjornstk
1d14be2e86 Manually fix sky filename, Blender props too short (this is becoming boring).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5018 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-17 20:59:35 +00:00
mbjornstk
0edc34406a Sync xml with the fixes in media (see r5016).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-17 20:55:58 +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
mbjornstk
09781b9221 Sync model and xml with the fixes in media (see r5006).
Sky texture was manually fixed, Blender property is too short.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5007 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-16 02:05:31 +00:00
mbjornstk
368d55d672 Sync model and xml with the fixes in media (see r5004).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5005 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-16 01:38:56 +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
mbjornstk
c5d4f93673 Improve script revision written into xml files, only write a number.
Now xml files can have SVN keywords, and the script info will persist.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 20:29:18 +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
hikerstk
11d2cb0838 Bugfix: the main driveline was not always recognised correctly,
resulting potentially in incorrect start lines if more than one
driveline was present.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 05:09:26 +00:00
mbjornstk
7e31863c8c Add script revision to saved xml files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 03:25:31 +00:00
hikerstk
e51caefb35 Fixed incorrect track version (now version 2 is used).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 03:21:19 +00:00
hikerstk
5f742c2018 Blender names can no longer be used to specify the type of an object,
instead the type property now must be used (only exception are empties
used for items - to avoid re-tagging all items for an existing track).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4994 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 03:19:48 +00:00
mbjornstk
2ac9febc75 Add texture and some shading to fence.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-14 03:58:06 +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
760b47fbae Updated suspension stiffness to be in synch with trunk (so that
histories from trunk can be replayed here).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:39:41 +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
auria
1d7aed6d8a Updated norwegian translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 22:56:29 +00:00
auria
214c40a550 Updated polish translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 20:27:20 +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
0757764383 Fixed mines music, so that author name properly appears
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 19:08:27 +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