auria
59b43cdbaf
Bugfix : particle emission direction now rotates along the node
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 16:42:52 +00:00
hikerstk
04f007ac97
Added VS 10 project files (atm only debug configuration is fully working).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 09:40:34 +00:00
hikerstk
129f75da4f
Fixed compilation problem of non-addon version if no pthread.h
...
is available.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 09:11:24 +00:00
hikerstk
993161e3a5
Updated project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-08 04:09:37 +00:00
auria
8a3b74a951
Fix smoke particles to not hardcode rate
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-08 01:49:10 +00:00
auria
ffc6fd299c
Allow particles when normal driving
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-08 01:34:13 +00:00
auria
47add64448
Fix weird opaque particles
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 02:25:34 +00:00
mbjornstk
e034d1e345
Update with new graphics/particle_kind_manager.[ch]pp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:51:34 +00:00
auria
9413b7e97e
Improve render order of particles. They're still wrong looknig though (WHY?? the same code worked moments ago)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:37:34 +00:00
auria
9f4e949874
Made per-material particles almost a reality. Sadly now we have terrible problems with irrlicht's render order
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:32:46 +00:00
magned
18b3c91954
Move all challenge files into one directory. Please tell if any problems occur.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:16:15 +00:00
mbjornstk
aac10e198d
Adjust nitro particles a bit and recover the more solid image.
...
Emission angle is wrong, it should be kart based but looks world based.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:43:06 +00:00
auria
e76aace67c
There was a name clash with my new proeprty. Oops\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:39:41 +00:00
auria
332209fde8
Support improved syntax in materials.xml
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:29:18 +00:00
auria
279e551371
Remove outdated FIXMES + fix possible crash if section is missing in XML file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 21:11:32 +00:00
hikerstk
37b057a60e
Removed unused m_abort variable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 20:56:32 +00:00
hikerstk
e7d5b2314a
Store icons in addons/icons and zip files in addons/tmp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 20:50:23 +00:00
xapantu
d6a2eea452
Fix addons path, I removed the 'icon/' +, to have a nicer way to change the path on the server
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 18:33:28 +00:00
hikerstk
002b9b8311
Bugfix: a dismissed dialog was accessed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 05:36:48 +00:00
auria
8724502d91
We now have only one spread angle
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:47:34 +00:00
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
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
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
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
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
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
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
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
auria
8ddb9aee41
Removed more useless FIXMEs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:18:52 +00:00
auria
eea6279db2
Fix for 3 strikes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:11:17 +00:00
auria
b11a8602b9
Still reduce the count of FIXMEs a little
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:07:09 +00:00
auria
847d67e3a5
Correct/remove a few more FIXMEs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:02:19 +00:00
auria
fa8b2a8ed6
Improve documentation of race manager; this is one huge class so having good doxygen docs is important. Also clarify difference between setNumPlayers and setNumLocalPlayers; replace many calls to setNumPlayers with calls to setNumLocalPlayers, since setNumPlayers is called by the network manager already and as such calls to setNumPlayers had no effect (the same method was called again later) and were just confusing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 20:17:44 +00:00
auria
9c3f46521e
Move some code from GUI screens to RaceManager, where it makes more sense to find the said code, and correcting 2 FIXMEs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:25:56 +00:00
auria
d22ec956b6
Clean up deactivating spinners, removing a few FIXMEs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:13:47 +00:00
auria
fdbafeb5ff
More FIXME cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:06:45 +00:00
auria
27d75d2414
Correct code duplication (and FIXMEs) in challenges manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:55:01 +00:00
auria
7e04cb4f75
Implement a few long0misisng features in the layout manager, correcting FIXMEs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:43:26 +00:00
auria
04e08b78ad
Remove a few unuseful FIXMEs, replace with appropriate documentation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:41:19 +00:00
auria
6ad54434e0
Correct a few FIXMEs + minor style improvements
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:23:52 +00:00
hikerstk
76b595e303
Fixed incorrect kart display after installing a new kart
...
(still pretty much work in progress, so not recommended to use right now).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 12:17:43 +00:00
hikerstk
503723967f
Fixed more hard coded paths. Icon path in KartProperties now
...
stores the absolute path (and getKartIconFile is now called
getAbsoluteKartIconFile).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 10:45:31 +00:00
mbjornstk
76ee2036d8
Update comment about items' fog, remove some lighting flags that just hide
...
wrong export options (resave with normals to fix) and make the items look 2d.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 04:39:18 +00:00
hikerstk
7e34b5d970
Further improvements to addons loading. Addons are now downloaded and installed,
...
but the kart icon display is still messed up (restarting stk solves that)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:34:16 +00:00
hikerstk
4a6b709685
Minor code cleanup.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:31:11 +00:00
hikerstk
d11fed1471
Fixed incorrect/hard coded paths.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:28:18 +00:00
hikerstk
d82fe3350a
Removed hard coded paths for karts and some duplicated code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:25:36 +00:00
hikerstk
e98f95697c
Fixed progress callback for curl (incorrect parameter declaration).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:21:14 +00:00
mbjornstk
73a771632b
Enable fog for boxes, bananas, etc.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 02:47:09 +00:00
auria
f196a544a2
Deactivate writing unicode XML until irrlicht devs fix thing son their side
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-02 19:02:31 +00:00
auria
d78a1c0700
Replace assertion failure and possible crash by printing a warning and keeping going
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-02 00:01:16 +00:00
auria
93503a8451
Better handle filler ribbon items
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 23:49:46 +00:00
auria
39ebfcb9ea
Make code more robust to print an error message instead of crashing in weird case reproduced by Arthur_D only
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 22:11:15 +00:00
auria
74c0c19688
Slightly improved confusing error message
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 21:29:55 +00:00
mbjornstk
810dbc3edc
Add --animations=[01] and --gfx=[01] to control effects from command line.
...
Plus clean a bunch of tabs and trailing whitespace.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 05:04:59 +00:00
auria
ff33f8782f
Add minor error checking
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 02:41:11 +00:00
auria
7a6fbbde51
Nitro target line remains on restart. Important everyone : if you find a sequence of events that causes the nitro line to remain when it shouldn't, tell me, it's hard to think of every possible case
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 02:24:44 +00:00
auria
e7734931f2
Added support for %0 type syntax in StringUtils::insertValue, since tools that verify translations integrity don't all like the older %0 syntax I used
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 01:29:04 +00:00
hikerstk
6129cfaa39
Made NetworkHttp::downloadFileSynchron to be able to be used from a thread;
...
fixed addons_loading to display the icon correctly.
Note: addons installing will still crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 23:05:54 +00:00
auria
031b96a55f
Update Xcode project for latest addons changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 18:58:34 +00:00
hikerstk
cdc1591a11
Some code cleanups, mostly for addons_loading.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7190 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:40:33 +00:00
hikerstk
809558f1cc
More code simplification (removed m_type).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:23:04 +00:00
hikerstk
9097ece07c
More cleanup and code simplification for addons_screen.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:17:10 +00:00
mbjornstk
9dbd09f812
Remove svn:executable prop.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 03:02:07 +00:00
hikerstk
f859156e76
Completely remove used of m_index (i.e. the addons_manager
...
does not have a concept of a current addon anymore).
Note that downloading addons still crashes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 23:19:26 +00:00
hikerstk
141ae9f5da
Moved AddonProp into a separate class Addon with proper
...
getter; started to remove usage of m_index in addon_manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 21:52:33 +00:00
auria
ad44673071
Play a short sound when enabling sound effects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 19:45:32 +00:00
hikerstk
d78310c9e3
Made ListWidget::addItem to take const &; started to remove use of
...
m_index in addon_manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 05:43:10 +00:00
mbjornstk
976f2f463a
Fix misplaced #endif and missing #ifdef ADDONS_MANAGER / #endif.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 23:50:19 +00:00
hikerstk
ce986d623d
Many style changes and code improvements to addons management.
...
The addons icon is now greyed out in case of an error (and till
the list of addons is downloaded, though usually that is done by
the time the main gui is shown). Moved synchronisations/threading
from addons_manager to network_http. Added 'Synchron' template
to hide usage of mutex to provide synchronised accesses to a variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 22:48:44 +00:00
mbjornstk
1c57310b41
Add io/xml_writer.[ch]pp to build system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 04:38:17 +00:00
auria
41e1d57f0b
Fix player names so that they may contain accentuated characters
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:50:24 +00:00
auria
5bd9afdd7f
Big refactor : move a lot of strings and config files to use wide strings. For instance to be able to cope with foreign characters in player names
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:29:36 +00:00
auria
fb8c9edf5e
Add gamepad button info to --gamepad-debug, from our current bug reports this looks like info we need
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 00:34:26 +00:00
mbjornstk
c405c1de4a
Replace static parachute with animated one. Adjust speed by hand in code.
...
Testing was near impossible, as this computer is too slow to reliable keep
a basic 25FPS rate, so it may need further speed tweaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-26 03:38:37 +00:00
auria
6bf16b651e
Mark another forgotten string as translatable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 18:35:47 +00:00
auria
afa16287ea
Mark a few forgotten strings as translatable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 18:30:23 +00:00
aeonphyxius
86ba25bc59
Tutorial incremental commit. Add main loading and improving xml loading
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 13:38:38 +00:00
hikerstk
d8afbe9750
Added missing newline to information message.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 04:52:42 +00:00
auria
51cc6b8d5c
Improved StringUtils::insertValues to only print warnings, not crash, when something is wrong
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 01:30:38 +00:00
auria
dbfe55071f
Use irrlicht framework from now on
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 00:02:07 +00:00
hikerstk
588870d9bd
Renamed network.?pp to network_http.?pp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 10:37:23 +00:00
hikerstk
a8f8be4023
Re-enabled kart honking sound when a player kart is overtaken (which
...
was disabled accidentally). If it should be too annoying, it should
be properly removed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 10:35:22 +00:00
hikerstk
7305efd8ba
Fixed linux compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 06:09:16 +00:00
hikerstk
29e29c7bb7
Renamed addons.?pp to addons_manager.?pp.
...
NOTE: make distclean is most likely necessary on linux!!!!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 06:00:58 +00:00
mbjornstk
47a7f77b33
Wrap code with {}. g++ dislikes new variables in switch/case if labels follow.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 01:00:56 +00:00
auria
a49c2f81e7
Fixed compilation (#include <string.h> includes the old C string functions, not std::string)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 23:39:59 +00:00
auria
a0eed0f31c
Fix compile warning
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 23:39:20 +00:00
hikerstk
b5837a624b
Many more coding style adjustments.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7134 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 22:06:38 +00:00
auria
e472d7459c
Fix typo
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7133 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 21:30:28 +00:00
auria
9260038719
Fix 2 minor warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 17:10:44 +00:00
aeonphyxius
704ea6ac7b
tutorial incremental commit. first works on TutorialManager and Tutorial
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7130 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 08:23:08 +00:00
hikerstk
13241636d4
Simplified loading of news: no more threading in main_menu.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 06:13:40 +00:00
hikerstk
83a9993f68
Bugfix: difficulty was not tested in non GP challenges.
...
Also accept higher difficulties in challenges.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 06:10:28 +00:00
auria
04fd8df730
Don't allow restartign a race in GP mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 17:52:39 +00:00
auria
f4e0f7c1d9
Allow skipping feature unlocked animation while still seeing what was unlocked
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7114 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 16:42:04 +00:00
auria
ae1f162d28
Update Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 16:38:04 +00:00
hikerstk
4f1af3a862
Auto-rescue will now not be counted as a hit in battle mode anymore.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 12:21:48 +00:00
hikerstk
214bf5deec
Fix bug in FTL: if the kart on position 1 was eliminated (i.e. it had
...
overtaken the leader), and the race is over, the leader was moved back
to position 1 (so that all points are given correct), but the ranks
were not adjusted properly, potentially resulting in duplicated ranks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 11:58:10 +00:00
hikerstk
39d4fe5fb7
Fixed incorrect rescue positions in battle mode, which could
...
result in a crash (bug #3140030 ).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 02:41:02 +00:00
auria
10299aae86
Don't display rank in 3 strikes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 01:19:05 +00:00
hikerstk
fd3895b45f
Fixed severals problems with FTL GP: GP rank od the leader must be -1
...
(some GP ranks were not set at all).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 01:16:03 +00:00
hikerstk
4d2a1d9faf
Removed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 01:01:53 +00:00
hikerstk
7e1c8a4c50
Updated makefile for new files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 00:59:53 +00:00
aeonphyxius
2427aed571
Tutorial development incremental commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 00:52:59 +00:00
auria
a8ae299119
At everyone's request, speed up feature unlocked screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7094 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 23:35:48 +00:00
aeonphyxius
2e5689134c
tutorial developing progress commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 20:23:32 +00:00
auria
5a74502c29
Fixed accidentally committed debug print
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7083 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 01:57:57 +00:00
auria
9f27068fb7
Fixed kart paths randomness issue (and probably many others) : don't continuously call srand, srand is made to be called ONCE only, repeatedly calling srand gives very poor randomisation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 01:55:29 +00:00
auria
1b6d3b794c
Removed dbeug print that shouldn't have been printed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 23:05:27 +00:00
auria
c78a85ea68
Apply NetBSD fix from bug tracker
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7075 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 15:05:49 +00:00
hikerstk
47661bf772
Fixed crashes in case of FTL GP (in 2nd races no number of laps was defined).
...
Note that the ordering in FTL GP is still broken and can still result in crashes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 12:58:09 +00:00
auria
d9ed9e5299
Removed unused code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 00:40:29 +00:00
auria
53e4546b09
Fixed debug mode build
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-17 18:55:34 +00:00
aeonphyxius
183ac72c2f
New files for tutorial added to Codeblocks project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-17 13:28:03 +00:00
hikerstk
b232fa2f56
Bugfix (pressing F10 when no game is running could crash).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-17 12:17:13 +00:00
hikerstk
aa3b801dba
Fixed line endings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:09:12 +00:00
auria
ac4d0806ca
Updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:08:49 +00:00
hikerstk
811550eb7f
Removed tabs, fixed compiler warning ("/*" inside a comment).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:04:23 +00:00
hikerstk
407e91a1bc
Updated makefile for new files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7044 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:03:24 +00:00
aeonphyxius
d672a5446b
tutorial new classes, VC project and main menu screen.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 22:57:13 +00:00
hikerstk
5bbbea2d3c
Fixed compilation problems when not using addon manager.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 22:28:33 +00:00
hikerstk
8ecee44a35
Renamed getConfigFile to getDataFile (since getConfigFile
...
would actually not return a directory under getConfigDir).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:59:06 +00:00
hikerstk
1c90d679e2
Removed unused animation_manager (track object manager takes care
...
of animations).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:15:59 +00:00
hikerstk
f5662118c6
Made addon manager compiler with windows (though not working yet).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:07:14 +00:00
hikerstk
fc4e59dc6e
Bugfix: billboard nodes did not use materials.xml for setting the material properties.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 02:48:57 +00:00
hikerstk
731bb83ad3
Fixed position of non-animated billboards (new export of model required).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 02:34:00 +00:00
auria
03c6245e21
Added more copyright statements
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:59:55 +00:00
auria
d725d5daea
Added a few missing copyiright statements. More to come most likely
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:56:57 +00:00
hikerstk
eee27834d1
Fixed line endings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:52:59 +00:00
hikerstk
c17ec200cf
The --track-debug flag now also tests all reset positions for all
...
karts and prints a warning if the rescue position would result in
an immediate rescue again (which usually indicates that the
driveline is too low, and the kart is rescued 'under' the track).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:50:17 +00:00
hikerstk
7de2c4de41
Replaced unicode characters in comments with normal ASCII characters.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:46:06 +00:00
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
5478aac7ca
Save options before leaving options screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 00:23:42 +00:00
hikerstk
ed8b3c4e6f
Added list of Asian translations to use.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:53:38 +00:00
hikerstk
d81be16715
Removed display of highest speed when wheels are not on ground.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:50:42 +00:00
hikerstk
970d261f4b
Removed warning for duplicated characters, since they are now ordered properly
...
and not considered an error anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:31:20 +00:00
hikerstk
283c47fad5
Added offset to texture for Asian font to avoid clash with other
...
fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 10:43:08 +00:00
hikerstk
d4513f0b40
Fixed memory leaks.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 11:49:00 +00:00
mbjornstk
16991a6bc7
Do not use/show nitro if no contact with ground.
...
This way saving nitro is automatic (ie, simpler controls).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 03:49:33 +00:00
auria
bcb3e7243a
Fixed more leaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:36:22 +00:00
auria
70bc94b3df
Fixed another memory leak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:23:38 +00:00
auria
9d854c7301
Fixed leak (Joerg: I'm not 100% sure on this one, can you check if what I did makes sense?)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:14:29 +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
65d2fff63c
Fixed more leaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 01:25:47 +00:00
auria
4392b42bb7
Fixed another memory leak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 01:09:54 +00:00
auria
4ec08502b2
Fixed small memory leak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:59:56 +00:00
auria
2e6ebaa63b
Fixed memory leak (Joerg: phew, I'm not the only one writing stupid code ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:53:25 +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
154369a7f5
Bowling balls now explode if they are rolling on a reset material.
...
I also fixed a bug in the 'height above terrain' computation, which
might have caused bowling balls to be more bouncy than they should be.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 13:03:38 +00:00
hikerstk
d0acfaae3c
Fixed incorrect warnings when reading fonts.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 06:20:12 +00:00
hikerstk
be7e8793b6
Fixed various compilation problems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 05:54:04 +00:00
mbjornstk
1eacc8fe59
Add tutorial_screen.[ch]pp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 03:08:25 +00:00
aeonphyxius
30c5ae81ab
Rolled back to old version(6772)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 02:12:48 +00:00
aeonphyxius
cf1c0a6959
Rolled back to old version(6727)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 02:06:56 +00:00
aeonphyxius
777292a74f
<stkgui>
...
<div x="5%" y="0" width="90%" height="98%" layout="vertical-row" >
<icon id="logo" align="center" proportion="8" width="100%" icon="gui/logo.png"/>
<buttonbar id="menu_toprow" proportion="3" width="75%" align="center">
<icon-button id="new" width="128" height="128" icon="gui/main_race.png"
I18N="Main menu button" text="Race"/>
<icon-button id="network" width="128" height="128" icon="gui/main_options.png"
I18N="Main menu button" text="DEBUG"/>
<icon-button id="challenges" width="128" height="128"
icon="gui/challenge.png"
I18N="Main menu button" text="Challenges"/>
<icon-button id="tutorial" width="128" height="128"
icon="gui/tutorial.png"
I18N="Main menu button" text="Tutorial"/>
</buttonbar>
<spacer width="10" proportion="1"/>
<buttonbar id="menu_bottomrow" proportion="3" width="85%" align="center">
<icon-button id="options" width="128" height="128" icon="gui/main_options.png"
I18N="Main menu button" text="Options"/>
<icon-button id="help" width="128" height="128" icon="gui/main_help.png"
I18N="Main menu button" text="Help"/>
<icon-button id="about" width="128" height="128" icon="gui/main_about.png"
I18N="Main menu button" text="About"/>
<icon-button id="quit" width="128" height="128" icon="gui/main_quit.png"
I18N="Main menu button" text="Quit"/>
</buttonbar>
<spacer width="10" proportion="1"/>
</div>
</stkgui>
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 01:42:08 +00:00
hikerstk
fd55bc2273
Avoid crash if history.dat file can not be written; also added
...
2nd location to test for (where the config.xml etc files are stored)
to test, which makes history usable in standard windows installation
(where . is not writable). Fixes bug 3128511.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 00:04:08 +00:00
hikerstk
37892fc06d
Fixed rank display in FTL races - the number of karts was not
...
decreased when a kart was removed (bug 3133631).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 21:19:01 +00:00
auria
fb86f84c3e
Add debug checks to font class so that font conflicts are detected and reported
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 14:23:06 +00:00
hikerstk
af9f6d651e
Fixed memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 05:49:30 +00:00
mbjornstk
2d33688f4a
Apply SVN props to keep in line with the rest of the tree.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:41:00 +00:00
hikerstk
b701626c79
Added missing file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:36:25 +00:00
hikerstk
b675ef8810
Added acme_pjz's name in the header file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:28:23 +00:00
hikerstk
b7d6989624
Added acme_pjz's modified irrlicht font tool, which only
...
writes the characters necessary for the translation (this
significantly reduces the number of textures needed for
Chinese).
This tool only works on windows!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:24:52 +00:00
auria
3a149c5a78
Reduce font size for long GP names to avoid clipping (long translations can still cause clipping though)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:06:44 +00:00
auria
243c9f37c0
Fixed rare crash with explosions, when m_remaining_time is exactly equal to explosion_time
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 01:22:22 +00:00
auria
d737425fe5
Fixed gamepad input after changing resolutions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 23:42:10 +00:00
auria
7f97094b87
Fixed numerous leaks, especially audio leaks + add debug functions to be able to easily check for audio leaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 22:18:55 +00:00
auria
1b426216e6
Minor improvements to OpenAL error reporting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 20:29:08 +00:00
mbjornstk
8848ade794
Fix SVN properties before something backfires.
...
Probably aeonphyxius forgot to read SVN-CONFIG.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 17:45:10 +00:00
aeonphyxius
ce5ca9c572
tutorial changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 16:28:13 +00:00
aeonphyxius
820a7c7bd0
new tutorial screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:58:28 +00:00
aeonphyxius
a1cb7e0b63
codeblocks projects & workspace
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:13:06 +00:00
aeonphyxius
90a0bf28cc
build under linux + codeblocks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:08:28 +00:00
auria
a0a85ed1c2
Fixed little glitch that could cause explosions to be cut before they had time to fade out
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 02:04:00 +00:00
auria
a6f7b7df9d
Fixed white puff bug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:54:48 +00:00
auria
b49a807f2d
More from feedback on RC1 : rescue removes the plunger from your face
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:48:32 +00:00
auria
23cde9398f
Added 16:9 icon + icon for unknown ratios
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:14:34 +00:00
mbjornstk
261b9d61f3
Change verb as suggested by Iron Seagull's comment in blog.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-07 00:47:43 +00:00
auria
c6b61f8a55
Add hidden feature to remove the race GUI: will be helpful to take track screenshots.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-07 00:28:13 +00:00
hikerstk
68920bd3e3
Fixed odd engine sfx at high speed (speed wasn't capped when it
...
was used, resulting in a fraction becoming >1, resulting in incorrect
gear usage). See bug 3124797.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-06 06:07:50 +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
07c2a3b3b0
Removed debug output.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 22:24:01 +00:00
hikerstk
89de4d5483
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 20:57:25 +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
auria
5c372e2f81
Make timer in race gui resolution-independent + fixed some very fishy code along the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 16:25:51 +00:00
auria
08b33dc2fe
Fixed crash when random kart was last used and then trying to play challenges + move error messages to where they belong, no error message should be printed when doing a valid check if a kart exists
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 16:12:35 +00:00
auria
f6985bd379
Remember sfx volume even when it's off
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 18:45:17 +00:00
hikerstk
7470074b4d
Fixed display of reset icon in the icons in the race gui.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 05:58:28 +00:00
hikerstk
9cddb351cd
Bugfix: paths were looked up using the file manager
...
even if is_full_path was true (and where then not found).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 05:57:04 +00:00
auria
cc892ee8ad
Various fixes to Xcode project : copy the fribidi framework, support spaces in paths, define NDEBUG in release mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 02:38:30 +00:00
auria
b6eb46e68b
Xcode project : fix building from paths with spaces
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 00:59:50 +00:00
hikerstk
3fa1a65c01
Properly fixed warning for undefined texture for reset-button
...
(which is not used). Note that in 0.7rc1 we added a dummy
texture as a work around.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 00:26:13 +00:00
auria
4447f3431e
Don't show lap message on last lap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 23:36:14 +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
auria
e137c16788
Make spinner for laps warp around
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 23:27:38 +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
b83f850cd4
Don't show lap message on first lap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 02:07:38 +00:00
auria
3fe9acd0e9
Show a message on every lap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 02:04:18 +00:00
hikerstk
b800ddd200
Made the 'wrap around' lap counting approach work correctly.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 22:01:59 +00:00
hikerstk
99aa5b1960
Fixed memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 22:01:01 +00:00
auria
09eaaebd64
Minor: make fly mode easier to use by preventing kart from rolling when turning
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 21:50:45 +00:00
auria
1cec1b597e
Clean up logging in kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 18:53:04 +00:00
auria
3543dc4f86
Fixed warning (and, on the way, make the code slightly faster)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 17:01:58 +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
auria
4ac69fefa2
Use peach skin by default
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 16:42:55 +00:00
auria
591c4e8281
Updated Windows icon
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 15:38:55 +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
a1e6c01dae
Reverted commit that added backface culling ... which was already supported
...
(also the patch did not initialise memory).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:31:07 +00:00
hikerstk
e9365d3a70
Fixed memory leak (title music was not freed).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:03:22 +00:00
hikerstk
9dbe8120e2
Fixed compilation problems when compiling without -DDEBUG.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 10:02:47 +00:00
hikerstk
d7e78fa23a
Fixed memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 05:42:27 +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
7e4257e689
Allowed transparency, and usee setFlag instead of directly accessing the attributes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 05:24:31 +00:00
hikerstk
8170b64fb2
Ugly removal of compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 03:40:44 +00:00
hikerstk
65d563ee2e
Fixed profile world (ProfileWorld::CreateKart was not called anymore
...
since the parameters for that function had changed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 02:34:25 +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
hikerstk
7c36638e63
Fixed memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 20:54:45 +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
7ec971309a
Fixed continuous warnings message "Ignoring '...', you needed to join earlier to play!"
...
This is caused by polling the joystick device, and the joystick events triggering
the message. For now the message is not printed if the joystick value is inside
the deadzone value for the joystick (this means that the deadzone is tested at
two locations - once in input manager to avoid the message, once in input_device
- but the latter is not triggered in this case since player is NULL). Not ideal,
so a better solution would be welcome.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 11:39:09 +00:00
hikerstk
53e75bfaa8
Made getGamePadFromIrrId slighlty more efficient, added
...
some comments to follow our style guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 11:28:07 +00:00
hikerstk
f21ede30e3
Fixed bug 3090931: in some circumstances the key bindings for
...
the 2nd player would become the default, so if the first player
presses 'select' to select a kart, instead a new kart was added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 10:21:36 +00:00
auria
9fe7bd21a0
Minor : gui messages shouldn't stay after starting game and exiting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 23:57:55 +00:00
hikerstk
d93c33dcdb
1) Multiplied all weights by 10 (to have more granularity adjusting weights for
...
global powerups).
2) Weights for global powerups (parachute and switch) are divided by num_karts-4
if more than 4 karts are being used (see bug 3107638).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 05:44:38 +00:00
auria
5b7d055f2c
Applied patch by samuncle to support disabling backface culling, thanks! (even though I helped quite a bit ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 01:02:33 +00:00
hikerstk
ec93b9889a
Added explit delete of m_all_players to avoid a (non-reproducible)
...
crash that might depend on the order in which objects are freed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 00:23:19 +00:00
hikerstk
a123718680
Fixed incorrect axis (though it shouldn't matter, since the model is a
...
ball anyway).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 23:18:46 +00:00
hikerstk
70b840bb6c
Removed adjusting the plunger height (which was overcompensating,
...
resulting in the plunger being pushed into the ground).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 22:25:57 +00:00
hikerstk
16d969fa39
1) Fixed incorrect start positions of plunger (getY instead of getZ).
...
2) Some code cleanup (renamed variables to follow our style, renamed
Kart::getKartHeading to Kart::getKartTransform).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 22:22:41 +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
148d09c4ba
Hopefully fixed gamepad related issues (esp. bug 3114440 - can't assign axis+0).
...
Simplified code somewhat.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:53:34 +00:00
hikerstk
d4eae38349
Fixed line endings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:52:01 +00:00
hikerstk
d64a436ef8
Removed files that had been removed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:51:24 +00:00
hikerstk
e8cbb98369
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 04:34:58 +00:00
hikerstk
37623fc218
Updated VS project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 04:30:21 +00:00
auria
ba619eeb22
Check for more 'types' of shift keys
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 02:31:18 +00:00
auria
f18ead6820
Show wanring dialog when trying to use shift as a key binding
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 02:16:21 +00:00
auria
507b9e5822
Fixed rare assertion failure
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 01:40:27 +00:00
hikerstk
f93d8dc66c
Fixed uninitialised variable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 00:51:47 +00:00
hikerstk
ce3c115a86
Removed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 22:18:47 +00:00
hikerstk
f99d1bd9dc
Fixed compilation on linux.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 22:17:39 +00:00
hikerstk
f23a247fd2
Replaced while(1) loop with a for loop to definitely avoid infinite loops
...
(which fixes bug 3113988).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:55:19 +00:00
hikerstk
8c129ccde6
Fixed quick test for slipstreaming, which would sometimes discard
...
slipstreaming even though the distance was fine.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:53:13 +00:00
hikerstk
6f28bb281c
Added visual debug support (--slipstream-debug).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:05:45 +00:00
hikerstk
d576dadf78
Minor code cleanup.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:04:09 +00:00
hikerstk
7d5b6b084b
Removed duplicated call to slipstream update.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:00:19 +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
efcb1029d5
Removed debug output.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 09:35:51 +00:00
hikerstk
e73ca4bbee
Moved all slipstream handling from kart into slipstream
...
(also started to add debug features).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 05:57:06 +00:00
hikerstk
daf2bc5e7e
Fixed resolution changing on linux: previously the resolution was
...
changed (and the old window/device deleted) while the old device was
still actively delivering events, so deleting caused a crash. Now
changing the resolution is only setting a flag, and the resolution
change will be applied during the next update, i.e. while the device is
not busy anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 23:23:40 +00:00
hikerstk
829b015314
Properly delete the first window (esp. on Linux) when switching resolutions.
...
ATM this results in a crash for me (though this patch should be correct, so
the reason for the crash must be something else).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 21:16:19 +00:00
hikerstk
4696f1b323
Increase max speed if a rubber band is being used. Settings can
...
be adjusted in stk_config.xml.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 10:41:13 +00:00
hikerstk
6fa0eea7b4
Fix bug 3113806: when no kart animations are displayed
...
and a plunger is fired, the kart animation would
display the 'steer left' frame when the rubber band
is removed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 06:04:35 +00:00
hikerstk
6b660b9fe6
Added calls when switching resolutions (based on
...
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=39342&highlight=fullscreen
run() needs to be called).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 00:14:13 +00:00
hikerstk
9cd0ec2544
Don't activate zipper if kart is driving backwards (that feels
...
imho better game-play-wise than accelerating the kart backwards).
This fixes bug 3114776. Also added some docs to btKart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 09:27:12 +00:00
hikerstk
7d65be553f
Fixed VS compilation (no isnan, isinf on VS).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:54:08 +00:00
hikerstk
3b14605cbd
More cleanup (and STK will now compile again - my apologies).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:29:12 +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
hikerstk
d1238b58f4
Removed duplicated debug output which was only added to chase a strange
...
bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:10:37 +00:00
hikerstk
98b1c1991f
Bugfix: set zipper-fade-out time, which was left uninitialised before
...
(causing bug 3108549: crash in quantize because the uninitialised value
could be close to 0 but not 0, resulting in speed becoming -inf, ...).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 00:57:15 +00:00
hikerstk
72192160bb
Added more debug code to find crash.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 00:41:01 +00:00
hikerstk
8903fdf791
Added assert to help catching a bullet bug.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 23:48:43 +00:00
hikerstk
a2e0fb805d
Added additional debug output, since it appears that:
...
if( (point.getX() > m_bvhAabbMax.getX() ) ||
(point.getY() > m_bvhAabbMax.getY() ) ||
(point.getZ() > m_bvhAabbMax.getZ() ) ||
is NOT true, but:
btAssert(point.getX() <= m_bvhAabbMax.getX());
isn't true either - so point.getX() not > m_bvhAabbMax.getX() and
point.getX() not <= m_bvhAabbMax.getX() ???
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 22:07:10 +00:00
auria
5fe492dd70
Write chal;enges file when none is found
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 21:59:49 +00:00
hikerstk
6cea4142c8
Fixed missing sound when a powerup zipper is used (bug 3109198).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 11:13:11 +00:00
hikerstk
e8a4fc66e1
Removed debug output.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 11:08:26 +00:00
auria
466e65b3d7
Renamed method hasBinding and changed its docs, both were misleading
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 19:10:43 +00:00
hikerstk
d84ff3f7eb
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 12:15:13 +00:00
xapantu
d4f9b381b3
Fix compilation, maybe it isn't the right way ?
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 11:55:08 +00:00
hikerstk
0b55b9fe5c
Added additional debug output for bug 3108549.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 10:48:10 +00:00
hikerstk
2bf841d95f
Fixed (or work around?) crash when using gamepad: sometimes a menu command
...
would be delivered to the player controller - I assume because I might
have moded the gamepad up/down a bit(?). Auria, please have a look
if this needs a 'better' fix than just ignoring any unexpected
commands in player controller.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 04:36:38 +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
36554d38bc
Fixed bug when kart animations are disabled + a kart.xml file points o a bad model - don't crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 21:47:59 +00:00
auria
2b3f8cc27a
More work on deactivating gfx; gfx can now be deactivated from options screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 21:44:20 +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
29ef4826a6
Allow disabling kart animations from options menu, to get a fps boost on lower end computers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 21:06:58 +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
48478bbe15
Fixed a couple warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-18 15:49:00 +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
ca8e585e00
Removed unused function.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-18 05:59:10 +00:00
hikerstk
2f5bfd02cc
Fix for bug 3109198: sound for a powerup zipper was not played anymore.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-18 05:58:34 +00:00
hikerstk
4959703ec3
Remove compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-18 05:54:14 +00:00
auria
2ceb82e33c
More sanity checks with challenges + avoid crashing at all costs when bad challenges are found
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-18 02:38:06 +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
0c3f8a72b9
Fixed crash reported by KroArtem: when flying in debug mode and
...
landing on the lighthouse in scotland, a segfault occurred.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-16 21:41:14 +00:00
hikerstk
df1f8c631b
Only player zipper sound once per material, i.e. avoid the
...
machine gun effect on the zipper ramps in canyon (bug 3109198).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-16 10:11:32 +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
hikerstk
59eac9c1d5
Used existing (but unused) support for material specific friction
...
to disable friction on certain materials (indicated by a friction
value of 10000 or higher).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-16 06:04:09 +00:00
hikerstk
18f8b831aa
Fixed bug in bugfix for 3090183: kart positions were
...
changed incorrectly down instead of up.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-16 06:02:58 +00:00
hikerstk
507dd4cbde
Fix bug 3090183: if the leader in a FTL race is on position
...
3 just before the last kart is eliminated (and a kart on
position 1 will be eliminated), the kart on previous position
2 (after elimination on position 1) will get too many points.
This situation is now detected, and the position of the
remaining karts are adjusted before scoring.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6583 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 23:28:05 +00:00
auria
3d992ff7ff
Updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 22:15:09 +00:00
hikerstk
b898032c57
Fixed crash when reading in old-style input files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 22:08:51 +00:00
hikerstk
732f8e0c61
Fixed handling of [] in linux: if a key code is 0 (which is the case on
...
linux for [] and other keys) the unicode character is now used to
identify the key. This solves displaying the key code in the GUI, and
also to handle keys with identical key codes (0) properly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 21:55:50 +00:00
auria
2df77fbc5e
Fixed machine gun effect when riding on zipper ramps
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 19:15:34 +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
1987c155f0
If no valid start position is found, automatically enter flying mode
...
(in debug compilations).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 09:47:44 +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
940fb65e8a
Bugfix: if an xml attribute for an integer array is an empty string,
...
an array of length 1 with a 0 would be returned instead of an empty
array.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6529 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-14 21:08:40 +00:00
auria
5bde7a572d
Slightly simplify semantincs (and code) of dialog notification of events
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-13 23:35:25 +00:00
auria
fd28f792ab
Fixed missing notification to dialogs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-13 23:31:37 +00:00
auria
c10f695bd5
Hopefully fixed all sliding introduced by recent changes to friction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-12 00:02:15 +00:00
hikerstk
30cb112c46
Fix bug in previous commit (why on earth didn't VS complain???).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 22:05:46 +00:00
hikerstk
fc202a57f5
Some code cleanup: made input data structure to follow the m_
...
notation, removed unnecessary include.
Added new field to input that stores the character (i.e. the
visual character) of a key (but it's not used yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 20:59:49 +00:00
hikerstk
0d8f157ecc
Added support for setting zipper properties per material.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 10:35:55 +00:00
hikerstk
81be97dd56
Removed old and unused environment variables (which was used
...
to specify an include path. If this variable was not set,
VS would see /I "" /D WIN32 --> the "" is ignore, VS
used /D as include path and then tries to compile WIN32).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 03:19:59 +00:00
hikerstk
4f31ce6f2b
Fixed documentation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 01:50:21 +00:00
auria
dbb1f6ef86
Use Joerg's Nice Formula to determine the amount of 'vertical slipperinness' to apply - quite more elegant than my approximation. hacienda shortcut still impossible to take, but I tweaked it so that we keep friction of mild slopes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 01:28:09 +00:00
auria
73b87f8540
Use squares when calculating 'vertical slipperiness', helps recover from jumps
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 01:03:15 +00:00
auria
905219f0b2
Added to-be-reviewed code to make driving vertically impossible (I'm not sure of the way I determine how vertical we are so I'd welcome testing and revieing)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 23:53:14 +00:00
hikerstk
07f6ffb194
Re-enabled skidding, but tuned so that it won't affect
...
'normal' driving, but will stop some of the vertical
driving.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6494 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 22:01:14 +00:00
auria
1f147f3544
Fixed crash when using flying keys (I/K) outside of a game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 16:54:08 +00:00
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
b4d7de5c59
Added an end-controller to battle mode to fix bug #3104309 .
...
The controller committed in r6489 are now aware of battle
mode (i.e. do nothing in battle mode, and don't even use
any quad data structure, which doesn't exist in battle
mode).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 22:13:09 +00:00
hikerstk
8d40c65190
Moved the path selection and track quad determination code from
...
default_ai_controller to ai_base_controller. This way all
controllers (esp end controller) benefit from the fix in quad
determination without having to apply the same patch in several
files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 22:10:38 +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