auria
7b60ad1a9e
Better error checking: refuse to continue when no drivelines are found but we're playing with AIs, we can only handle lack of drivelines when there is 1 kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 22:43:00 +00:00
auria
ccecbf0ba3
Allow playing without driveline when no AI akrt is used
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 22:36:14 +00:00
auria
2a482d7577
Remove logging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-10 01:15:39 +00:00
auria
23711c7174
Try to add support for having dsome materials ignore fog. Works for lighthouse light, but not for lighthouse sky
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-09 01:29:25 +00:00
auria
9e4b17d76f
Fixed potential read of unset variable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 20:39:31 +00:00
auria
4157f7dc10
More work on 'thou shalt not include irrlicht.h everywhere carelessly'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:45:17 +00:00
auria
a37008d014
More work on 'thou shalt not include irrlicht.h everywhere carelessly', plus add debug checks to track.hpp in a desperate attempt to make STK Arthur_D-proof
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:31:25 +00:00
auria
d8abe4604d
Fix glitch in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:05:33 +00:00
auria
0a41c5fff8
Fix fog wrt LOD nodes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:00:26 +00:00
auria
11e925f867
Fix musical note hiccup bug by preparing track music in 2 phases
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-11 01:47:27 +00:00
hikerstk
5e61e050a8
Simplified physics track mesh handling.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-04 21:41:32 +00:00
hikerstk
788d8b08e2
Fixed more texture related memory leaks.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-02 21:57:39 +00:00
hikerstk
c216d2b35e
Fixed more texture memory leaks.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-01 22:38:23 +00:00
auria
0c788e14a4
Hopefully fixed crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-29 20:12:03 +00:00
hikerstk
fd78e796d2
Changed interface to sky box and sky cube (so that textures can be
...
tracked and released). Fixed memory leak in sky domes/boxes and
mini map.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-29 00:29:34 +00:00
hikerstk
fb4fb58ffd
Added memory debug output for texture cache usage.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-28 12:48:28 +00:00
hikerstk
afad571929
Added convenience functions to check for log messages of various
...
types.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-28 04:25:58 +00:00
hikerstk
92b0d334de
Made the m_old_mesh_buffer a member of the class instead of a global
...
variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 23:08:35 +00:00
hikerstk
b134eca433
Fixed memory corruption on cleanup when water nodes were used.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 22:46:48 +00:00
hikerstk
4b39b151cc
In debug mode with verbose memory output the names of all leaked buffers
...
is now printed (my apologies for using a global array, I want to reduce
compile time atm :) , will fix this later).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 22:02:52 +00:00
hikerstk
74f3baec20
Started to add bit-patterns to be used with verbosity setting so that
...
only certain debug messages can be enabled.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 12:47:47 +00:00
hikerstk
559edb6178
Renamed Track::m_all_meshes to m_all_cached_meshes, IrrDriver::removeMesh
...
to IrrDriver::removeFromCache to better describe their functions.
Started to add proper freeing of cached track meshes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 11:47:33 +00:00
hikerstk
34af681156
Fixed memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-19 12:14:43 +00:00
hikerstk
b807a3e608
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-19 03:56:50 +00:00
auria
b17307e4de
improve LOD, at samuncle's request
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-18 17:58:11 +00:00
auria
2e3a953004
Fixed crash when freeing LOD nodes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 21:50:13 +00:00
auria
01154fd6b4
Simplified attachModel method, it was confusing that it has a out-pointer parameter yet returns void
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-17 19:08:01 +00:00
hikerstk
1fed8b10fb
Fixed material settings in water scene nodes (ticket 104).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 21:03:23 +00:00
auria
e9c7a30b43
Fixed material properties on water
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 19:11:42 +00:00
auria
5d56ff3778
Fixed crash by moving scene_node->setName AFTER checking that scene_node is not null
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7947 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 15:39:46 +00:00
auria
f00af38fc7
Make LOD objects visible to the physics
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-05 20:50:36 +00:00
auria
4c4dd50e13
Simplify LOD handling, based on suggestions by Samuncle (note that the simplification is on the blender side, the C++ code is more complex)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-05 20:13:40 +00:00
auria
c08b9b3a7f
Add the basic infrastructure to support level-of-detail. Note that at this time the implementation is not the most efficient one can think of so let's not use this widely just yet
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 02:11:39 +00:00
auria
970fb985d3
Fooling around : added simple support for normal maps
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 00:58:00 +00:00
auria
2293fdbe80
Make snow follow kart, this should reduce the needed CPU and GPU demand to render snow. Note that the current effect is not perfect, you can 'outrun' snow
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-28 01:49:35 +00:00
auria
f7f01c144a
Stop snowing inside tunnels
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-28 00:59:02 +00:00
auria
0b1702502f
Better error handling + somewhat fix rain in lighthouse (for some reason it only works in multiplayer mode?)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 15:56:11 +00:00
auria
482cfbcb2a
Don't complain about unknown XML nodes when disabling particles
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 20:47:48 +00:00
hikerstk
66ff37eb80
Use normal particle terrain to make water splash; proper location
...
for water splashes is now being detected. Note: existing tracks
need to be updated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-15 21:12:24 +00:00
hikerstk
17c81d8c5c
Added warning message is a item projected on the terrain does not
...
hit the terrain. In this case the original position is kept.
Additionally the raycast starts from a slightly higher position
to allow for some floating point errors in the projection.
Fixe bug #63 (floating powerups).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-15 09:10:45 +00:00
hikerstk
ccc8ada054
Fixed ignoring of materials.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-13 23:14:23 +00:00
hikerstk
78eb5a09eb
Replaced raycast used in detecting the terrain is on: instead of raycast
...
against the dynamics world, it's now using a raycast against the triangle
mesh only (i.e. a single collision body instead of the whole world).
Besides being faster, this will allow raycasts with material detection
against the 'gfx' (surface) mesh.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-13 00:23:23 +00:00
hikerstk
240d39636c
Added support for 'graphical' meshes - atm mostly for water surfaces
...
(and below water meshes), so that water splashes can be displayed at
the proper position (not used atm).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 21:56:44 +00:00
auria
238f572c36
Say hello to the new rain, one that is much, much less CPU and GPU intensive. Joerg: sorry, you will need to modify the exporter again, since now we need support for some built-in weather types, which use a different XML syntax than particles
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:45:32 +00:00
auria
896e2664fc
Fixed track names not being translated on live language switch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:59:19 +00:00
hikerstk
f392d5f6fe
Support for weather effects stored in a separate xml node (track format 5).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 02:51:56 +00:00
hikerstk
967a9223fb
Added support for animated textures on water scene nodes (the track
...
exporter still needs support for this).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-04 13:38:38 +00:00
hikerstk
95a7e5c125
Added smoothing of normals for raycast wheels, but disabled for now (since
...
the normals of some tracks need to be fixed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 21:06:50 +00:00
auria
107f479e87
Don't use particles when GFX are off
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 03:10:44 +00:00
auria
aa9068070d
Demonstrating the new particles : fire effect in crecent crossing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 03:02:50 +00:00