Commit Graph

366 Commits

Author SHA1 Message Date
auria
60ac3f8491 Removed unused code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 16:53:45 +00:00
hikerstk
85979ee919 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 21:50:14 +00:00
auria
de95e676d8 Yet improve handling of bad resolutions in config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-31 15:26:25 +00:00
hikerstk
f517feeeba Renamed 'slowdown' for terrain specific max speed to slowdown-time.
Made slowdown in tuxtollway less abrupt.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 11:09:48 +00:00
hikerstk
b0ed33197b Improved/fixed terrain specific slowdown. Slowdowns are not specified in materials.xml
with two values: one specifying the percentage of max kart speed that can be reached
(e.g. 0.5 means a kart can only drive 50% of its maximum speed on this terrain),
the 'slowdown' value specifying how long it will take for a kart to be slowed down
to that value (e.g. a value of 3 for slowdown and 0.5 for max-speed means that
it will take 3 seconds of continuously driving on that terrain till the speed
is reduced to 50% of the karts maximum value).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:07:25 +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
4976d9d60c Made the backwards facing camera using a higher angle to make
it more useful (actual angle can be determined in stk_config.xml).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 12:15:19 +00:00
auria
a2edd2a9de Fixed several vertex color problems (re-exported fort magma because some per-plane vertex colors were not supported by B3D and/or irrlicht so I needed to split a few objects to have vertex colors work fine)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 23:39:08 +00:00
hikerstk
0c5c9496cf Fixed bug 3074299 (slipstream in air on low level AI).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 13:48:41 +00:00
hikerstk
87bb1cea34 Fixed incorrect camera angle when the kart is driving up a steep hill.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 12:22:56 +00:00
hikerstk
58116b66be Made the up-angle relative to the pitch of the kart configurable.
It now defaults to 15 degrees (it was 30 degrees, but accidentally
a hard coded value of 15 was committed in r6110).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 03:43:10 +00:00
auria
81aca22434 Fixed weird music being used on XR591
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-22 02:01:52 +00:00
hikerstk
b754d9c879 Fixed camera aiming at incorrect (previous) position when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 12:25:17 +00:00
auria
37901f7f39 Absolutely frivolous, but very cute, change : show icons of what is being loaded during the loading screen (sorry, couldn't help but waste time on this =)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 23:09:02 +00:00
auria
599d0a806a Bye bye EvilTux, Welcome Konqi\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:47:05 +00:00
auria
4df28afc80 Properly unload screens before exiting, correcting a FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:29:53 +00:00
auria
d0896de07e Fixed bogus Doxygen comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 01:03:30 +00:00
hikerstk
c1a239a7e6 More NoCopy - embarrassingly left out in previous commit :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:30:58 +00:00
hikerstk
42581e1719 Added more NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:29:28 +00:00
hikerstk
426cedcacb Fixed rare bug in which stk aborts (because it receives a WM_QUIT message)
immediately after start (after closing the null device and opening the actual
screen).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-10 01:15:53 +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
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
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
hikerstk
626f83087a Added new base class for race gui (in prepration for improved
result gui).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 23:03:54 +00:00
hikerstk
87256f58e8 1) Finally fixed (hopefully) all crashes related to HW buffers (replaced two
more deletes with drop).
2) Simplified skidmarks by completely removing the saved meshes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 22:54:35 +00:00
hikerstk
d0b96f462e Simplified skid structure by removing pointer to mesh
(which is not needed at all).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 13:26:26 +00:00
hikerstk
949f6380ba Fixed incorrect delete (which can cause a crash if long skidmarks
are used that will utilise hardware buffer). The crash could actually
happen in another race or when ending stk (since then hw buffers are
deleted).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 13:14:09 +00:00
hikerstk
2bb985313d Fixed minor memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 23:03:19 +00:00
hikerstk
6c7cdb1b7b Fixed crash in end camera - hopefully the last problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 00:10:58 +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
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
f1c187d5d5 Fixed VS compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 23:24:04 +00:00
auria
ee514b08a7 Hopefully fixed bug where camera hanged
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 00:39:45 +00:00
auria
c19280e6d1 Added assertions to Camera so that we can catch the camera getting stuck bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5575 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 23:18:52 +00:00
hikerstk
07ac6f5c76 Added separate camera mode for end camera, added experimental new end camera
(which atm has hardcoded values for lighthouse track only and is disabled).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-23 22:37:48 +00:00
hikerstk
e22d03d4bd Bugfix: incorrect parameter in warning message.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-22 06:50:15 +00:00
hikerstk
f1438d6354 Added support for terrain specific sfx. As an example
this has been used for the wooden terrain in snowtuxpeak.
Note that atm changing the pitch is used to make the sfx
depend on speed, but since I am not too happy with this
I might add support for a customisable pause between
looping the sfx.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5527 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-20 23:01:23 +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
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
hikerstk
0628d7f565 Some bugfixes to resolution changing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-11 12:49:32 +00:00
auria
c9ddf98f3d Added assertions to catch the bug reported on the forum earlier (when doing the resolution switch, not when plasying afterwards). Seems it has to deal with the material manager and the handling of 'permanent' materials (but I can't make any sense of your code there Joerg, so please help -.-)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 15:28:05 +00:00
mbjornstk
92ae1673ab Add back twisting trick every other circle (with fixed UV). Raise polycount.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 00:22:23 +00:00
hikerstk
0b12fb45ae Fixed 'disturbed' slipstream graphics (sharp bend).
Also removed additional turn of every 2nd ring in the
cylinder, which made it much harder to get the texture
coordinates right.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 23:28:58 +00:00
hikerstk
7cdefb4101 Enabled slip streaming, slip-stream graphics now scales according to the distance
between the karts, successful slipstreaming (for atm 2 seconds, see stk_config.xml)
will give a zipper boost.
This is pretty much work in progress, mostly meant to test playability, and allow
more tuning of graphics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 23:36:01 +00:00
mbjornstk
32b1300adc Set camera near distance (magic number, needs fixing and documenting why 52
when range is 30) to see inside tunnels with --camera-debug.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-27 00:59:08 +00:00
hikerstk
200aa4ca36 Added new command line flag to enable debug debug camera (showing the view from high above
the kart down).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 23:28:11 +00:00
auria
400a102241 Code cleanup and documentation improvements in GUI code; fixed compilation error mysteriously introduced by removing LISP (WTF, I did a clean build, why didn't this error pop up then???)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 20:08:13 +00:00
auria
2810193fb2 Lots of small changes to make the output Doxygen file much more useful
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:36:13 +00:00
hikerstk
eefeab5fd0 Added better debug output for missing textures.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:19:24 +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
auria
c12618a48a Moved some audio code around because the previous organisation was confusing, there was some SFX code among the music code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:16:49 +00:00
auria
986f74d333 Install a temporary event handler in the irrlicht device, until EventHandler is ready to take upon to task, to shut up irrlicht's chatty logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 23:45:54 +00:00
auria
4fa641692c Irrdriver no more has a method to receive events from irrlicht. anyway it did nothing with them so that was just uselessly confusing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-16 00:32:31 +00:00
hikerstk
ca9eb71087 Removed unused file coord.hpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-16 00:01:25 +00:00
hikerstk
511afe11d2 Removed unsupported texture warning. Feel free to change the type to
a more appropriate type if necessary.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-15 23:54:18 +00:00
hikerstk
91feb49998 1) Added animation support for attachments, atm hardcoded for bomb only.
2) Instead of creating a new scene node every time something is attached
   to a kart, the same node will now be re-used (and is set as invisible
   otherwise).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 22:48:01 +00:00
auria
2da96bb71b Minor change to resolution switch code, so that my work around what seems a bug in the mac version of irrlicht doesn't introduce issues where this bug doesn't manifest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 23:54:18 +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
88160e5a0c Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5069 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 05:19:00 +00:00
mbjornstk
94144b3a04 Add triangle count (in thousands) to the on screen FPS reporting.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 00:03:37 +00:00
hikerstk
c966c121c9 Added setting to disable backface culling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 10:29:41 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
hikerstk
5682cd0d4c Work around for bright light on Linux and Windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:12:45 +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
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
f4a830fed4 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 22:08:19 +00:00
auria
77d2032682 Removed previous attempt, since irr docs clearly say 'This flag is ignored, if the material type is a transparent type.' (i.e. they're making it official that their support for alpha textures is crappy -.-)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 20:29:17 +00:00
auria
da45ef4721 Some tweaks with alpha. I thought this'd fix Mr Ice Block floating eyes, but it's not the case *sigh*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 20:26:26 +00:00
hikerstk
f41150eae7 Replaced OpenGL bullet debug view with irrlicht bullet debug view.
Debug view can now be switch on and off during a race (ctl-F11),
but currenlty does not display as much information as the 
original debug view (more to be implemented here).
Removed glut dependency.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 12:02:13 +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
93cc5209f7 Converted sound effects file to XML. Along the way, refactored the audio code to be more flexible. before, when a sound changed, you needed to edit the config file of STK, edit the enum in the header, edit the loader in the .cpp... was annoying. Now you only need to edit the config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 19:17:35 +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
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
47a1a1dfa2 Removed m_local_player_karts vector from world.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 12:47:18 +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
auria
f78001c7b2 Misc nitpicking
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 02:11:56 +00:00