Commit Graph

366 Commits

Author SHA1 Message Date
hikerstk
e23664c5bb Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:31:53 +00:00
auria
347d73cfd1 Fixed more memory leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:01:23 +00:00
auria
ad169e3191 Skyboxes and skydomes should be fog-free
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-11 21:52:14 +00:00
hikerstk
c4ba313e19 Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 22:30:24 +00:00
hikerstk
2c15bd265f 1) Made TrackObject use an ISceneNode instead of an IAnimatedMeshSceneNode,
allowing us to use the same base class for billboard.
2) Fixed billboard implementation: billboards are now properly removed,
   and can also be IPO animated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 20:55:09 +00:00
hikerstk
c6607f4dbc Fixed lap counting: sometimes karts would get a 'distance along track'
after crossing the lap counting line that's larger than 2. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 23:34:02 +00:00
hikerstk
24d8d9ee9e Fixed 3122615: acid lake in xr591 did not trigger rescue (the lake mesh
had a rotation applied. Due to this bug an incorrect rotation was applied
to the mesh, resulting in the wrong bullet mesh, so that the collision 
was not detected).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 09:43:29 +00:00
auria
afce1534b9 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 17:01:25 +00:00
hikerstk
b4533f0798 Removed debug check line visualisation correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:47:15 +00:00
hikerstk
25b611a8d3 Adjust color of check lines according to state: active ones are
light red, inactive ones white-grey.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 05:26:45 +00:00
hikerstk
87b98b8fa1 Added visual debugging to check lines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6747 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 22:08:02 +00:00
hikerstk
03ff921883 Fixed memory leak (check_manager and therefore all check structures
were not freed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 22:07:05 +00:00
auria
063004c38d Applied samuncle's script modification and our code moficiations to start supporting billboards and particle emitters. Thans =) [I commit this even though we're basically in feature freeze for the simple reason that as long as no track makes use of them we can keep this feature unsupported and experimental]
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 18:57:31 +00:00
hikerstk
49dd6821a4 Fixed incorrect maths (wrong sign, probably after swapping the axis).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 22:20:16 +00:00
hikerstk
54a6e8edd5 Fixed computation of minimum height, added updating
minimum height when a transformation is applied (which
in part explains why slipstreaming sometimes didn't work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 20:57:39 +00:00
hikerstk
b1b57be476 Zipper are now converted into buller objects. This means that a zipper should
be flat now and not slightly raised anymore. This fixes bug 3114770.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:22:49 +00:00
auria
126d319a03 When GFX are off, use static meshes instead of water nodes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 22:00:14 +00:00
auria
ded3a3daf7 Improved support for lower end computers with improved gfx=false experience
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 21:23:06 +00:00
auria
cb78ded2ed Tidy up logging + other minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 17:19:13 +00:00
auria
196cb0aabe Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-18 15:45:29 +00:00
hikerstk
8d8e3e32a4 Improved minimap so that not all (visible) quads would be displayed,
but only the quads actually used in the graph.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-17 11:52:39 +00:00
hikerstk
9bed1f01c5 Moved pointer to last material from kart to terrain_info.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-16 09:23:18 +00:00
hikerstk
d877c8b829 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-16 09:21:22 +00:00
auria
f0227bfd19 Don't crash when music not found
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6573 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 18:41:11 +00:00
hikerstk
3812d6b084 Fixed bug in checck structures (activation lines were set to active as default,
which means that if there is more than one activation line, you only needed to
cross the last one).
This will break proper lap counting in all tracks!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6530 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-14 21:47:29 +00:00
hikerstk
27477ea270 Removed incorrect warning in battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6488 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 22:01:27 +00:00
hikerstk
aac738300c Fixed crash in case that there are more start positions
defined in a scene file than there are karts in the race.
Fixed handling of start entries without position values
in scene.xml files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 21:54:08 +00:00
hikerstk
22ddf1ae9d Added comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 06:18:07 +00:00
hikerstk
24a34006c6 Renamed 'ambient-color' to 'ambient' to be consistent with other values
that don't use -color.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 00:18:32 +00:00
hikerstk
a47b730f3c Removed unnecessary/old code: support for track
specific number of karts, and light settings
in track.xml (which can be set using the track
exporter in scene.xml).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 23:58:12 +00:00
hikerstk
e3ff0acc95 Added call to reset in constructor, which will actually start the
animation loop.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 11:10:50 +00:00
hikerstk
af38843252 Added support for scaled objects.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-04 21:37:30 +00:00
hikerstk
aac8a503dc 1) Added support for scaled objects (previously scaling was included in
the mesh in the b3d file).
2) Changed m_init_* variables from Vec3 to core::vector3df.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-04 21:35:55 +00:00
hikerstk
4eb096528f Removed code that was commented out.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-28 05:14:04 +00:00
hikerstk
2cdd7c1745 Fixed (one) rotation bug: rotation for objects in the xml file are
already degrees, they were converted to degrees again.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 21:45:32 +00:00
hikerstk
716f7e4942 Fixed one crash with battle mode (though it still doesn't work fully).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-19 20:16:26 +00:00
hikerstk
6d3d6d69d0 Removed warning about "... element 'default-start' was met but is
unknown.".


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 03:10:18 +00:00
hikerstk
a83a40ec9f Made light position configurable, and automatically compute the
direction of light to point to (0,0,0).
ATM if no light position is specified, it will fall back to the
previous default value of (180, 45, 45) as direction, but some
tracks might need adjustment now.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-14 11:26:22 +00:00
hikerstk
50cd88e562 Improved start positions:
- Karts will now start forwards_distance after the lap counting line,
  meaning they will start behind the 'checkers' line.
- Every 2nd row is now moved 0.5*sidewards_distance to the right,
  meaning that there is much more space ahead of the kart for
  quick starts (i.e. the kart can drive between the karts in
  the row ahead of it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-14 00:56:25 +00:00
hikerstk
83b6eccf64 Due to floating point errors it could happen that a kart crosses
the lap counting line in the very first frame. To avoid this,
karts will now start 0.1 units behind the lap counting line.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 21:51:36 +00:00
hikerstk
53d241fb65 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 08:33:51 +00:00
hikerstk
19b225a7ce Added improved default start positions. Start positions now follow the drivelines,
and the scene.xml file can specify how many karts to set in one row, and the
distance between karts in X and Z direction.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 21:49:35 +00:00
auria
c1d7f610a0 Cleanly handle when RTT is missing instead of crashing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 14:41:55 +00:00
hikerstk
5f6b0729b7 Fixed incorrect rescue in fortmagma (and potentially other tracks): if a kart
falls down into the castle, it would be rescued to the floor of the castle, giving
it a huge benefit.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-30 23:26:18 +00:00
hikerstk
6d3c17f602 Added different way for detecting new lap: based on the quads this will
make sure that player ranking is always accurate. It's not used atm,
but around for testing.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 23:23:16 +00:00
hikerstk
fe91d4cfe5 Switched off debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 00:26:48 +00:00
hikerstk
4b4bddf35e Support for grouping check structures. E.g. it is now possible to
have more than one lap line, which will always be in synch (i.e.
if one is triggered, all will be set to inactive).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 23:29:21 +00:00
hikerstk
3d66c17292 Added files missing in previous commit - sorry.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 23:27:14 +00:00
hikerstk
e189746787 Removed dubious warning about start line not on quad,
which can give a false positive on certain platforms due to 
floating point errors.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 23:19:56 +00:00
auria
e24b447a6d Removed unused includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 14:35:43 +00:00
hikerstk
4694be90c3 Reverted patch 6123 (introducing AI steering variations), since it
resulted in AIs driving badly (even when the variation was set to 0).
This patch will be re-considered later, after the alpha 3 release.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 23:18:53 +00:00
hikerstk
2c7213b83e 1) Added support for AI steering variations: AI karts will now not
steer to the same driveline point, but to points slightly to
   the left and right. The maximum variation is defined in
   stk_config.xml (and should be between 0 and 1).
   ATM THIS IS DISABLED! Since in my tests it appears that
   the AI is not driving as good as previously anymore, i.e.
   it drives more S-lines on straights etc. To enable this change
   steering_variation in stk_config.xml
2) AI now handles multi-items better by waiting a certain amount
   of time before using the next item.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6123 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 07:21:52 +00:00
hikerstk
4733fead77 TUrns out the spaces did not actually remove the warning (sorry,
missed the warning when recompiling). So I've added a "."
at the end.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 10:36:40 +00:00
hikerstk
7085283a29 Fixed compiler warning ('\' at end of line indicates that the
line should be continued, so I added a space).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 10:34:17 +00:00
hikerstk
f5f9e1d8be Fixed handling of material in track conversion (file was missing in
r6037) --> animated water scene nodes will now trigger rescue.
Also fixed getting the location for water scene nodes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 10:08:14 +00:00
hikerstk
94c4f40bd1 Fixed compilation problem (const vs no-const mismatch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 07:30:58 +00:00
hikerstk
a04f688972 Added support for using readonly material. As a result of this animated
water scene nodes will now trigger rescue.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-17 05:24:39 +00:00
hikerstk
7ee4faa950 Fixed incorrect start positions in tracks that don't have checklines defined
(removed old, temporary global variable and replaced it with correct
variable in class), added a warning message printed to stdout in case
that checkline are missing.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 23:57:23 +00:00
hikerstk
a998641ae7 Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 23:42:28 +00:00
hikerstk
e6075dc5d6 Fixed white spaces in source code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-30 23:17:52 +00:00
auria
d6256b3362 Added support for ambient light track-wide (Joerg: am I duplicating something that already exists somewhere else?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-27 15:41:24 +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
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
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
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
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
hikerstk
396db5ae2b Added intro sfx to be played before ready-set-go.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 23:10:47 +00:00
hikerstk
b84043f819 Fixed minor memory leak (minor=data structure that is used till the end
of the game is not freed, so memory usage does not increase over time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 23:02:09 +00:00
mbjornstk
baf23285e7 Make minimap be proportional to real track. Icon position needs fixes, tho.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 00:29:26 +00:00
hikerstk
a4d5c1056d Fixed end camera if a track has no specific end camera defined (previously
an existing end camera from a previous race would be re-used).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 23:40:37 +00:00
hikerstk
0243b12de9 Added missing variable initialisation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 22:49:13 +00:00
hikerstk
6c10ceeeb4 Fixed uninitialised variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 05:29:56 +00:00
hikerstk
c1c7daf2fa 1) Added support for new camera mode: end camera positions and types
can now be specified in the scene file. Currently supported are:
   - normal 'ahead of kart' camera (which is what we used so far)
   - fixed camera: camera is at a fixed position, always looking
     at the kart.
2) Removed camera.hpp dependency from kart.hpp.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 23:33:07 +00:00
hikerstk
fca5de3e7d Bugfix: at the time the check sphere is created world does not
have the karts created, and therefore an invalid number of karts
was used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-22 12:48:11 +00:00
hikerstk
8efe0fff20 Performance improvement: the b3d exporter does not sort/combine meshes by texture, so this
is (for now) done by a special Batching Mesh.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-16 00:18:51 +00:00
auria
87a10e9ddb Made sky speed configurable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 20:49:55 +00:00
hikerstk
744d9dd0fb The default start positions are now transformed/rotated if the lap
counting line is not centered around 0,0,0 or not parallel to the
X axis.
Note that this requires all lap counting line in the scene.xml files
to be 'oriented', i.e. the first point must be the left point, and
the second one the right point (r5488 updated this for all current
tracks, and r5487 updated the track exporter to do this automatically).
As a result of this the start positions might now be a bit too close
to the starting line (depending on where the chess-pattern is on the
track), and that might need some additional adjustments.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-08 23:30:45 +00:00
hikerstk
ca66768c9e Removed unused code, updated docs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 21:49:14 +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
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
mbjornstk
93ef29f2ed Remove kart.hpp, it has been compiling fine (add back if compiler dependant).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 19:03:07 +00:00
mbjornstk
4ccfdfb059 Remove useless executable property.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 00:55:19 +00:00
mbjornstk
ac25665d1f Disable fog for overhead/debug camera.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 00:19:22 +00:00
auria
d114f2844b Extracted default group name into constants.hpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 23:40:50 +00:00
auria
fae4847d67 Minor : improved code that was indented very weirdly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 20:05:25 +00:00
hikerstk
7c91eb7f34 Fixed crash when using --check-debug and a check structure kind=toggle.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-28 23:00:44 +00:00
auria
5e6da715e9 Fixed silly warning. was useless but kept cropping up in build results ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 23:46:25 +00:00
mbjornstk
82639f6d00 Change definition of makeMiniMap to something more realistic.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 01:36:29 +00:00
auria
e272d8fcd0 More work to enhance Doxygen output
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:53:45 +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
hikerstk
ec83ef6cad Bugfix: tried to print a std::vector<bool>, instead of the bool.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 23:48:29 +00:00
auria
6a09162075 Code style and documentation minor improvements (cause readability does matter\!)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 16:51:14 +00:00
hikerstk
468507af8b Added debugging features for check structures (use --check-debug), which
prints when a checkline is triggered or activated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-19 12:37:45 +00:00
hikerstk
a3ebfce506 Fixed incorrect heading computation for start position (causing stadium not to work).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5191 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-13 01:36:50 +00:00
hikerstk
375e0882ff Removed unnecessary 'offset' added to quad graph. This code could cause the position of the
karts to be incorrect just after crossing the lap line. Problem was that the center point
of the first quad line (which by definition is on the line) would be considered to be not
on the line due to floating point errors (i.e. 0.5*(A+B) would not be on the line between
A and B).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-12 14:23:39 +00:00
hikerstk
b58c29b697 Added fog to karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-09 13:00:40 +00:00
auria
ada40cf7a3 Added the ability to specify a case color (fixed mine to have black clear color). Not supported yet by track exporter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5084 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 19:19:09 +00:00
hikerstk
078b1e0f2f Fixed music loading from non-track directories (fixes bug 2947899).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 00:01:29 +00:00
mbjornstk
8a91d2a09b Add note about fog params and change (commented out) ambient light to blueish.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5062 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 23:19:39 +00:00
hikerstk
6eecefdec6 1) Fixed fog - all track nodes are now with fog.
2) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 10:25:08 +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
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
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
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
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
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
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
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
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
hikerstk
326be2993a Fixed raycast to track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:12:00 +00:00
hikerstk
b5471de9fc Fixed minimap.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:10:49 +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
b656321ba6 Fixed losing lives in 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 01:52:00 +00:00
hikerstk
092a59a7d2 Very first changes. Doesn't really work yet and will most likely crash - not recommended to use :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 13:27:01 +00:00
auria
6577d770fb My latest (failed) attempt at fixing MrIceBlock : allow setting material settings for untextured surfaces too. Committing because we might eventually see an interest in this
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 00:09:09 +00:00
hikerstk
d34a697d5d Cosmetical change only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 00:43:36 +00:00
hikerstk
9a767dcdbe Added support of far camera to stk, updated final camera handling of track exporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-20 01:42:32 +00:00
auria
4119544ed7 Fixed the code-side confusion of track description vs designer (track exporter needs to be adapted accordingly)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 22:19:47 +00:00
auria
929482c802 Removed unnecessary includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:40:32 +00:00
hikerstk
da3de6d131 Big code refactoring: instead of having auto_kart, player_kart, the karts
now use a 'controller' object which is responsible for its steering, e.g.
a default_ai_controller, player_controller etc. This makes it easier to
switch a player kart to use a end-of-race computer controller to drive
the kart once the race is finished (though that's not implemented yet).
I expect some bugs with restarting race, and perhaps end of race
behaviour at this stage.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 00:54:28 +00:00
auria
6d4078d3c7 Fixed absolute vs relative paths for images, fixing lots of warnings printed on the terminal
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:44:07 +00:00
hikerstk
328373289a 1) Moved access to world object from race_manager to static functions in
world.
2) Removed more dujplicated/unnecessary functions from race_manager
   (getPlayerKart, getTrack).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 07:11:52 +00:00
hikerstk
ab567bc53c Removed test code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 12:01:37 +00:00
hikerstk
c6bf95a64c Started to remove the various kart lists in various objects.
1) Removed getKart from RaceManager.
2) Renamged RaceManager::getNumKarts() to getNumberOfKarts.
   This function should only be called when the world
   does not exist (or is not yet initialised). 	In all
   other cases world::getNumKarts() should be called.
3) Improved several 'const' functions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 11:40:33 +00:00
hikerstk
93e15df841 1) Replaced all .projectile files with one powerup.xml file,
replaced items.item with items.xml. Cleaned up item_manager
   and removed support for different item styles (since it
   didn't work anyway)
2) If a swapper item is used while items are swapped, they will
   now un-swap.
3) Moved all models and textures from data/items to data/models.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 02:05:21 +00:00
hikerstk
8be9c3397a Added first version of switch collectable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-04 22:53:24 +00:00
auria
4abd5310f7 Improved handling of empty 'squares' in scrolling ribbon grids
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 22:03:16 +00:00
hikerstk
17b20de61e Items will now (as a default) be dropped to the ground.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 11:34:19 +00:00
hikerstk
384469b950 Replaced octree with normal mesh, which is actually faster.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4558 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-29 02:50:26 +00:00
hikerstk
0fa80bd594 Fixed mirrored display of minimap if track has a driveline with maximum z < 0.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4545 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-27 12:28:35 +00:00
hikerstk
cf0e69b48f Removed #include of kart and player_kart from world.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 23:12:29 +00:00
hikerstk
81bb0ac8dc Fixed memory leaks due to missing destructor.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 01:14:46 +00:00
hikerstk
dcec9bafcf Added support for irrlicht 1.7.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 03:38:35 +00:00
auria
9859e0c4ad Fixed Hikerian mistake
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:40:59 +00:00
hikerstk
637aab7cf7 First version of improved track object support - not fully functional yet, but
should allow for movable and static track objects. Also fixes problems with
incorrect radius for spheres.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 00:08:20 +00:00
mbjornstk
5fe41e5625 Run expand -t4 to convert tabs to spaces. No other whitespace fixes, but
there are still trailing spaces and lines with 5 spaces as indent (fix them
as the files are changed for other reasons). src/guiengine/CGUIFont.* and
src/bullet/ not processed to allow cleaner updates from upstream.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-18 00:36:35 +00:00
hikerstk
5a938b4bf9 Removed more tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 23:45:42 +00:00
hikerstk
0ddcb9dc2c File missing in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 00:24:38 +00:00
hikerstk
d4c537c7e8 1) Added support for ignoring materials
2) Replaced tabs with spaces.
3) Removed unnecessary function parameter for loadTrackInfo.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 00:22:29 +00:00
hikerstk
de0e948c9a Simplified camera code somewhat, added support for final-camera, and made reverse
faster.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-16 21:37:33 +00:00
hikerstk
b65fbd8a23 Removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-16 01:00:15 +00:00
hikerstk
68ceea8619 Fixed time-trial mode - no more boxes will be added to the track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-10 02:10:19 +00:00
hikerstk
9e133ac141 Bugfix: distance-from-start calculations could become inconsistent at places where two drivelines
merge together, resulting in kart-order changing more or less randomly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-08 12:13:30 +00:00