auria
221b784680
Apply alpha mask in constructor, not every time. Apart from being faster it uses less RAM.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-20 01:53:25 +00:00
hikerstk
dd778cfc8c
Fixed memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-19 04:02:10 +00:00
auria
75209cb1ce
Fixed minor memory leak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-17 23:32:17 +00:00
hikerstk
62fb47aeed
Added support for textures to trigger a reset on collision (separately from
...
triggering reset when driving on).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-17 22:06:45 +00:00
hikerstk
99e38de2db
Fixed VS compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-14 11:51:39 +00:00
auria
4023a0bb49
More precise polygon count, as requested by Kinsu
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-13 12:43:58 +00:00
auria
717213a303
Fix listener position not updated when looking back
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-13 00:55:30 +00:00
auria
719e9c3622
Oops, in Doxygen the tag for preconditions is \pre
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 20:42:57 +00:00
hikerstk
0fcfc3d5cf
Added lighning support to minimal race gui.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-10 22:10:33 +00:00
auria
454139bb7d
At samuncle's request, don't randomize the last LOD level
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-09 19:18:41 +00:00
auria
c54809ebe2
Fixed lightning being multiplied in multiplayer mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-01 14:41:18 +00:00
auria
7bc9cfb3ff
Fixed eliminating karts in three strikes mode looking ugly
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 19:36:29 +00:00
auria
41b9f6b8f7
After feedback on IRC, make lightning occur les often
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 19:22:44 +00:00
auria
1d60d24d48
Fixed silly copy and paste error in my new code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 17:35:42 +00:00
auria
7ce7daa5ac
Added support for external masks; this allows using JPEG even on images that need transparency. Reduced palmacacia from 800 KB to 300 KB using this feature
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 23:52:30 +00:00
auria
b65915a919
Raise ignore level in temp logger; irrlicht 1.8 is a little more chatty than 1.7 so shut it up
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8061 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 19:25:31 +00:00
hikerstk
1815b6f223
Added files missing in previous commit (started adding
...
support for new addon list, but that's work-in-progress).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-23 12:07:16 +00:00
hikerstk
fa512b8010
Fixed memory leak in LOD node.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8020 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-21 22:38:42 +00:00
auria
950dbd8688
Display the FPS stirng even when waiting for data, sometimes I'd wonder whether FPS display was activated or not...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-18 15:47:41 +00:00
auria
8b76268b8b
Make vsync configurable in config file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-18 15:39:52 +00:00
auria
d113bc4104
Added (disabled by default) support for anti-aliasing (edit your config file to get it)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-17 23:13:33 +00:00
auria
7c729ca6f4
Not sure I should introduce this so close to a release, but anyway let's go, we can disable if it causes issues ;) use LOD on karts : far away karts will not be animated.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-17 20:19:09 +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
c6c61f7f3e
Missing file in commit 7593.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 21:43:58 +00:00
hikerstk
e6aa7b0cf9
Used proper base class for setAllMaterialFlags.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 21:04:26 +00:00
auria
965add53f8
Enable anisotropic filtering for all textures
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 20:35:12 +00:00
hikerstk
7922459ca6
Fixed falling camera (ticket 102).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 05:38:03 +00:00
hikerstk
79f690aceb
Fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 05:34:58 +00:00
auria
bfeb8b6f31
Add thunder to lighthouse
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-15 22:48:59 +00:00
auria
6b3757e6d7
Improved error handling (don't crash when invalid particles are defined)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7901 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-15 18:25:27 +00:00
hikerstk
d5d37b26e4
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-10 02:45:31 +00:00
hikerstk
765905b514
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-08 23:59:39 +00:00
auria
3c3a5985cf
samuncle suggested to put a slight randomisation in LOD; I'm not convinced it's useful but he's the artist so I listen ;P
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-08 02:54:27 +00:00
auria
be60946f28
Added support for heightmaps in parallax and normal mapping, since that seems to be irrlicht's preferred way to go
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-06 01:13:02 +00:00
auria
9af2cc36eb
Add support for parallax mapping
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-05 23:04:26 +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
e869757d7c
removed uneeded code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 02:51:07 +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
hikerstk
4fac382508
Fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 02:10:26 +00:00
auria
362514998b
Removed uneeded TODO in normal map code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 01:17:17 +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
a92e888fbb
Make slipstream fade in smoothly
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-03 03:15:27 +00:00
auria
ffd690a546
Fix harmless warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-02 02:13:41 +00:00
auria
3a3619750a
Artist debug features are now enabled even in release builds, but disabled in config by default
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-02 00:04:13 +00:00
hikerstk
16f32c4471
Fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-28 22:56:51 +00:00
hikerstk
b36597ba1b
Simplified camera settings, fixed jump in camera when rescue is triggered.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-28 22:35:30 +00:00
auria
04adf0bf63
spread particles a bit on start so that snow is there right when you start playing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-28 02:15:01 +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
42626329b3
Improve wather splash : 1) remove old unused class 2) the splash should only occur when touching the surface, and not keep on splashing when you're underwater
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-27 19:49:32 +00:00