Commit Graph

5213 Commits

Author SHA1 Message Date
auria
4e5e7f96a8 Removed particle visualisation, which was accidentally committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:39:34 +00:00
auria
89346d58f1 Stop using our hack of moving the emission direction around, when you fire lots of particles this hack is very obvious. Use only what irrlicht provides
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:37:55 +00:00
auria
4a6793178d Fix bug in emitter visualisation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:00:41 +00:00
auria
1e3515be04 Minor cleanup + add code to visualize emitter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:58:45 +00:00
auria
2847f8527e Now respecting rate in XML file for nitro (Kart was hardcoding rate...)+
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:40:00 +00:00
auria
b6b9f2810d Make more particle parameters configurable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:25:46 +00:00
auria
aa6c225684 Fix centering issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:06:52 +00:00
auria
3eeca13ce3 Add key to get free nitro + minor tweaks to particle code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:01:12 +00:00
mbjornstk
f11b67eacc Darken colours and remove alpha, to allow better additive effects.
More particles will be needed to overlap but it would look better.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 00:28:02 +00:00
auria
cd850cf300 Improvements to particle system, now fade out works as it should \o/
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 00:07:58 +00:00
auria
052a1664b3 Remove FIXME, add documentation itself, I found why things are like they are
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:49:50 +00:00
hikerstk
4571e76c03 Fixed non-addon compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:38:11 +00:00
hikerstk
fcbd7a4614 Fixed incorrect case of unzipped files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:07:07 +00:00
hikerstk
de50274e96 Fixed crash when installing a new addon.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 22:20:52 +00:00
asciimonster
b582266424 [stk_browser]: added "additive(Y/N)" to materials
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 22:16:53 +00:00
hikerstk
a4db783f7e Fixed deleting installed addons.
NOTE: it is still NOT safe to use this, esp. now that there is code to remove a directory :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 21:54:12 +00:00
hikerstk
0bbcfc2361 Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 21:50:07 +00:00
auria
c1c0a34897 Add braces in switch to please GCC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:57:05 +00:00
auria
e627ccc8f8 Fixed glitch in box emitters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:56:30 +00:00
auria
fc19059006 Add support for box emitters, use it back for nitro
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:54:36 +00:00
auria
9fac4d06c6 Fixed minor glitches caused by reading value from RaceManager before it was set
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:07:39 +00:00
auria
5ebab775c4 Make nitro somewhat less blocky by making transparent parts have black color
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 18:56:34 +00:00
auria
be1d0f5eac Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 18:56:03 +00:00
xapantu
56450a708a Added error handling in the addons code to handle path error when extracting archove files.
(Feel free to remove it if you find a better way ;) )

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 13:47:16 +00:00
xapantu
b9d3841fd9 Fix a bug with addons installing:
A directory was created, with the addons name, in lowercase, whereas it tried to instal it in the addons name, in standard case (e.g. python vs Python).
So, it worked on Windows and Mac OS X, since they aren't case sensitive, but we had a segfault on Linux

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 13:38:35 +00:00
hikerstk
f97067d313 Started work on deleting installed updates; deleted unused variables
and file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 06:02:17 +00:00
hikerstk
93daa15d73 Removed unused update-tab in addons manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 05:38:11 +00:00
hikerstk
cd8ea2eead Removed compiler warning, updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 05:27:59 +00:00
hikerstk
f0f97d0fbb Added support for SUPERTUXKART_SAVEDIR environment variable to
specify/overwrite where the user-specific files are written to.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 03:58:43 +00:00
auria
ef38236034 Remove alpha from nitro, you can't have both alpha and additive
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 03:09:07 +00:00
auria
fcba432e39 Cleaned up logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:57:17 +00:00
mbjornstk
d217866815 Adjust fadeout to old value too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:50:15 +00:00
auria
37b647badc Smoke is a point emitter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:47:34 +00:00
mbjornstk
1950663492 Adjust life to old values, so it does not cause clouds/tunnels of smoke.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:45:43 +00:00
auria
c669a425e5 More particles tweak + eye candy : add additive blending to materials.xml, now the nitro looks awesome
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:38:24 +00:00
auria
ec3c1f76a0 New XML-based particle system. May need a few tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 01:39:18 +00:00
auria
a3df5843aa Fixed makefiles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 23:06:13 +00:00
auria
38a8248fea Merge nitro and smoke emitters, as their code was almost identical. Next steps will likely involve allowing to specify particle effects in XML files. Note that atm nitro is slightly different from before, can be tweaked to be like before if wanted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 22:14:51 +00:00
hikerstk
3c729b4b0f 1) Added proper handling and detection of installed addons
2) Moved addon related data files into a separate 'addons' directory.
3) Directory names of addons are now lower case.
(Still addons are not stable enough to be used!)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 21:49:17 +00:00
auria
470832cd19 Minor documentation of particle code (since I may be looking at extending this soonish)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 20:34:21 +00:00
auria
41777828b8 Corrected invalid offset of 1.0 in V coord of UV texturing, which caused clamping to work improperly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 20:30:00 +00:00
auria
856d184a35 Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 19:01:09 +00:00
hikerstk
110af2b7ae Removed/replaced getKartFile/Dir functions in file_manager, which
should solve issues with addon karts not being found or textures
not correctly loaded.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:47:49 +00:00
hikerstk
c1bc3c58fe Bugfix: using variables of an object after it was deleted.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:44:23 +00:00
hikerstk
54b7d57d63 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 04:35:35 +00:00
mbjornstk
7fe57b9802 Make item fog be based in track fog. Remove old lighting flag comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 02:42:11 +00:00
mbjornstk
e43b50e28b Fix logos and valves in nitro tanks. 'clampV="Y"' caused mis-mapping (why?).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 01:03:53 +00:00
hikerstk
221f8899f3 Fixed missing icon display for addon karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 22:25:54 +00:00
hikerstk
1858a2e9f1 Removed the need of zip files including a 'file list' file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:47:54 +00:00
auria
1acb58ee59 Removed old code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:22:04 +00:00