Commit Graph

6256 Commits

Author SHA1 Message Date
hikerstk
40c02fba2e Fixed #973: the main track mesh added to the bullet physics twice, since
the index 'main_track' was set at the wrong location (before the main
track was loaded, see r9757). Also removed unnecessary loop when reading
track.xml files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-14 13:53:43 +00:00
funto66
5dfa231a23 Added Visual Studio 2012 project files - but I got it to compile only for the "debug" target! That should hopefully become obsolete if we switch to a full CMake-based build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-14 11:16:13 +00:00
auria
9625eb58e3 Move sphere mapping in the GFX dropdown along other effects, no need for it to be a checkbox, especially since it can't be combined with others anyway
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-13 23:53:22 +00:00
auria
4d6e45ce00 Rework a bit material panel. For some reason, the flag that tells STK to produce a water splash upon collision was placed in a dropdown among a bunch of shaders... Left old settings in place for backwards compatibility for now, some day we can remove them
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-13 23:21:57 +00:00
hikerstk
1003e49984 Fix #969 - honk sound played when last item is fired. Thanks to unitraxx.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-13 23:20:42 +00:00
hikerstk
0149544763 Fix #966: replace printf, thanks to muditjaju.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-12 22:04:26 +00:00
hikerstk
6517830538 Fixed crash caused by new grass shaders (SHADER_COUNT was incorrect),
changed array of pointer to a std::vector to track this kind of
problem earlier. Renamed Shader constants to have a common
prefix to make it easier to see that they are all related.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-12 12:15:45 +00:00
auria
9a17110f33 Introduce a bit of random in grass
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-12 01:02:07 +00:00
auria
f1fe3e3428 Fix speed being computer per instance in grass shader
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-12 00:59:05 +00:00
auria
3b20637b48 Make grass speed and amplitude configurable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-12 00:14:53 +00:00
auria
3eb6c034d0 Add grass shader for samuncle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-11 23:09:03 +00:00
hikerstk
da9d75bbae Re-enabled windows console in debug mode - it's just handy to have ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-10 23:19:36 +00:00
auria
ad153aa14e Make Nolok boss a little harder. To make it a real fight though the AI will need to stop falling into lava
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-05 19:59:59 +00:00
hikerstk
47675eac1f Fixed #951 - use Log:: , thanks to alasin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-03 07:07:19 +00:00
hikerstk
7ab65aee16 Fixed #879: avoid too many basket balls at the same time by introducing
a minimum amount of time (atm 15 seconds) before the next basket ball
can be found. Thanks to nixt for the patch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-03 06:48:47 +00:00
auria
81378440ba Apply patch by Slagvi to make sure the last used kart is not locked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-01 21:41:51 +00:00
hikerstk
e362700a22 Fixed double newline added on console output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-01 00:49:21 +00:00
auria
0ace825d5f Apply patch by Uni_ to fix error reporting when downloading an addon fails. Thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-30 23:17:46 +00:00
hikerstk
09173c479a Fix linux compilation error.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-30 22:18:01 +00:00
hikerstk
e99e944f9b Fix #942. Thanks to hilnius.
(note I modified the original patch, and had no opportunity to verify it
again on linux. If it doesn't work, blame me, not hilnius).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-30 07:17:02 +00:00
hikerstk
eaed4f1acd Fixed #944: Fixed coding style, added docs.
Thanks to quentin-bellay.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-29 06:50:23 +00:00
hikerstk
2a0909c2a9 Fixed #950: "Add a build-time check that the irrlicht lib meets minimum requirements"
Thanks to curaga.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-28 22:20:42 +00:00
hikerstk
0d02f21e04 Fixed #949: Using Log:: in addons_manager. Thanks to alasin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-28 22:14:45 +00:00
hikerstk
52a094ea10 Minor code style change.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-24 06:09:51 +00:00
hikerstk
a6223250db Fixed #943 - replaced printf with Log - thanks to pkucoin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-23 11:06:50 +00:00
hikerstk
b5c90675d9 Fixed #941: highlight nitro bar when nitro is used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-23 07:02:46 +00:00
hikerstk
5776ae8b80 Log all important info to stdout.log on windows (part
of #836: remove console on windows).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-23 00:28:11 +00:00
auria
634c46906e Apply patch by marius1309 to fix #939, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-22 23:48:23 +00:00
hikerstk
3854da8189 Fixed crash in Easter mode when highest AI is selected (#926).
Thanks to hired777.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-22 07:09:29 +00:00
hikerstk
e43f86a860 Fixed wiiuse-debuig build.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-21 13:32:56 +00:00
hikerstk
c9695fa1d2 Disable console window on Windows (#836). Thanks to hired777 for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-21 12:39:25 +00:00
auria
950bb62f5a Apply patch to convert printfs to the log API
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-19 22:45:58 +00:00
auria
1b96d33a50 Try to ignore accelerometers on linux systems
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-19 22:36:25 +00:00
hikerstk
9d5c41f4ad Replaced many printf with log (see #937). Thanks to
unitraxx.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12674 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-19 06:53:17 +00:00
hikerstk
a693eb7eb5 Added reverse-sorting of addons (#916). Thanks to ingridmorstrad for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-18 22:44:18 +00:00
hikerstk
418b024d6d Updated codeblock support (#919), thanks to viscrisn.
Note that I can not test if this works, since I don't have
codeblocks installed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-18 07:09:10 +00:00
auria
f050eb418a Apply patch by Uni_ to change prints into logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-18 00:45:46 +00:00
auria
1883136948 Apply patch by Yasin to fix remembering last position on overworld, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-18 00:11:35 +00:00
hikerstk
455f11cb0a Fixed using switch in easter egg mode (#924) - thanks to hired777.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-17 22:18:14 +00:00
hikerstk
5648939d8f Fix clang warnings (#922).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-17 12:09:04 +00:00
hikerstk
23814a3145 Fixed 'fixmes': checking for locked tracks and karts did not work
anymore (since it's not known which player is actually selected to
use those). Since it can be assumed that whoever uses --track
or --kart will also use -N (otherwise the GUI will handle notification
of the player), this is now tested for player 0.
Also the corresponding --list-kart/track options will now use all
karts/tracks, but add '(locked)' at the end of locked items.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-17 07:18:23 +00:00
hikerstk
2829f711c6 Applied curaga's patch for #675: don't create GUI with certain
command line options - thanks!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-17 07:00:30 +00:00
auria
816a7e9bbe Apply patch by marius1309 to update printfs into log, thanks\! Accidentally got merged into some changes of mine to make the battle againt Nolok a little harder. Those changes are incomplete, but good to go for now, more tweaks may be done later
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-17 00:40:05 +00:00
hikerstk
9860f5f576 Moved call to RaceGUI::init out of world::reset to avoid
duplicated thunderbird: reset is called each time before
a race is (re)started, while an init function must only
be called once. This properly fixes #918 (referees not
removed), which was caused by init actually being called
twice. Also changed order of when the referee position
is computed: before it was computed before World::resetAllKarts
was executed (which settles the karts at their stable start
position). This resulted in slightly different start 
positions (depending on positions set in blender, not
the position in which the kart were finally stable. This
fixed #917.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-16 11:37:25 +00:00
hikerstk
9773df37ee Fixed crash (when some things are actually locked).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-15 23:01:44 +00:00
hikerstk
10317fe33c Applied nixt's patch to use the new speedometer and
nitro bar.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-15 22:54:28 +00:00
hikerstk
f2aeedc41f Fixed possible crash in debug mode, thanks to curaga.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-15 21:49:48 +00:00
hikerstk
8ed288e81d Added a separate ChallengeModeType as preparation for the
challenge for highest AI. Mostly this is a cleanup only.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-15 12:39:45 +00:00
auria
b731e8f7db Apply patch by Nbhat to correct double referee onr ace restart. Thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-14 02:00:14 +00:00
hikerstk
7565612c25 Make sure the #include files in leak_check are the same
in debug and release mode. This makes sure that missing
#include files don't show up only in release compilation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-13 14:31:20 +00:00
hikerstk
623513a22d Fixed compilation errors and warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-13 14:29:44 +00:00
wardje
b7bc1f0ec8 Fix compiling in release
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-13 10:44:15 +00:00
auria
5bd8f58923 Tweaked skidding particles by Deve
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-12 21:24:21 +00:00
mbjornstk
e466badb2f Remove duplicated declaration of videoData.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-11 22:45:02 +00:00
hikerstk
9a9ff77812 iAdded new 'best' AI difficulty. ATM this is not locked yet, and
art work (icon) is still missing. Also we have to find what
to call it (atm 'Iron Man').


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-11 06:17:46 +00:00
auria
58e06f6cd7 fix feature unlocked cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 23:41:13 +00:00
auria
b667501fa1 Show explanatory message when approaching tutorial in overworld
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 23:13:29 +00:00
auria
7454a133d8 Fix challenge orbs missing on overworld
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 23:04:51 +00:00
hikerstk
9871d556cd Fixed linux compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 12:51:01 +00:00
hikerstk
019e02bdb5 Fixed compiler warning (on OSX).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 07:09:10 +00:00
auria
b182e71865 Two unrelated changes : make scene node presentation fault-tolerant, and add fallback support for old XML xyz syntax
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 01:29:48 +00:00
magned
36b3f5d949 Removed line which caused errors for people without VS 2008
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-09 21:12:57 +00:00
hikerstk
f548a84071 Updated VS10 project files - x64 compilation is
now marked as 'experimental', and list of sources
updates.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-09 13:47:53 +00:00
hikerstk
b29b01107a Fixed VS2010 warnings (too long names when expanding
templates).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-09 13:45:51 +00:00
hikerstk
694b306f4f Updated (c).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-07 22:47:37 +00:00
hikerstk
617bbc8f16 Fix #889: Only play strike sfx when a bowling ball hits a kart (and not
when it hits another flyable).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-07 22:37:09 +00:00
hikerstk
9d46f847fc Fixed #906: screenshot filenames have an incorrect month.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-07 12:21:51 +00:00
auria
b502c96409 Allow LOD nodes to have a physical body
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-06 00:29:45 +00:00
auria
d1759b8d88 Add missing conversion from radians to degrees when moving track object from physics
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-06 00:21:57 +00:00
auria
35b508ae14 Fix uninitialized pointer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-06 00:17:35 +00:00
auria
a4f44ecebd Fix leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 23:38:58 +00:00
hikerstk
eb004a63a6 Updated source list, and fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 12:31:14 +00:00
hikerstk
7c509f5026 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12611 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 09:19:43 +00:00
auria
61720b2661 Add back ability to programmatically add track objects, use it in 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 01:30:34 +00:00
auria
f296461d21 Fix physics angles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 00:39:34 +00:00
auria
6bc216f203 Add full support for LOD in track objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 00:20:14 +00:00
auria
94cd32d20d Do not stop music during tutorial
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 23:14:52 +00:00
auria
3cd4cc1cad Fix reading freed memory after deleting world, plus add what it takes to detect further such issues easily
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 23:09:53 +00:00
auria
d807871ec6 Bring back LOD + particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 23:02:15 +00:00
auria
8bae4c1549 Minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 22:57:07 +00:00
mbjornstk
0e8eec0f88 Add new track files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 22:55:32 +00:00
auria
27d454ad05 Move some track object classes to new files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 22:52:37 +00:00
hikerstk
f4b121feff Fixed incorrect arrival time estimation (#903 and #859).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 21:17:39 +00:00
mbjornstk
5d58993364 Removed deleted files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 21:09:46 +00:00
auria
7a3989dd94 Cutscenes need a GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 01:52:02 +00:00
hikerstk
ca39376f25 Fixed windows compilation, updated VS9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 01:32:45 +00:00
auria
bc1d1e7d31 First part of track object refactor
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 01:15:37 +00:00
hikerstk
cc6446cd1c Removed unused files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 00:42:26 +00:00
hikerstk
8fe1875db1 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 00:41:34 +00:00
hikerstk
9429beef79 Simplified more code, fixed some coding style.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-03 21:15:13 +00:00
hikerstk
aea7a001c5 Bugfix: when playing batle mode, the number of karts is set to the number of players
(independent on the number of AIs selected), and UserConfigParam::m_num_karts is not
changed (which is correct imho).
When then a single race is started, the displayed number of AIs is based on this
m_num_karts. But if a normal race is started (without adjusting the number of
AI karts), the number of karts in the race_manager was not updated (it is only
updated when changing the number of AIs), resulting in the wrong number of karts to
be used (based on the battle mode, and not based on the number shown in the GUI).
This patch just updates the race_manager with the number of AI karts that is shown
in the GUI, so that those values are now in synch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-03 11:12:25 +00:00
hikerstk
820ebd2673 Refactoring: removed code duplication in some init() and restartRace()
functions of game modes (caused by restartRace only called in case of
a restart, not the first time a race is started). The function restartRace()
was renamed to reset(), which is now called always before a race is started
or restarted.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-03 06:05:34 +00:00
auria
4cd55d0dc5 Fix bogus documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-02 23:55:38 +00:00
hikerstk
ecfdae57f8 Yet another fix for addons :( Now installation of addons might
work as well as deleting them.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-27 21:52:40 +00:00
hikerstk
9dfb6c4ccb When pressing ctrl-F8 in artists debug mode only make player karts
invisible. This allows to take screenshots with AI (and if you don't
want AI, just race without AI).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-27 21:11:12 +00:00
hikerstk
b967e5a492 Fixed addons management (deleting), which I broke in r12581: Addons used
their id as directory name (and since the id was changed to have addon_
as prefix, this didn't work anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-27 21:01:05 +00:00
hikerstk
2ed38db288 Fix #890 - crash when deleting tracks (caused by not adjusting
indices in main track group when a track is deleted. That happened
since the soccer mode was added).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-27 12:17:09 +00:00
hikerstk
f78f254a3e Fixed #894: nameclash when an addon track/kart has the same directory name (and therefore
identifier) as a track included in STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-26 06:16:53 +00:00
hikerstk
81d6353d7b Fixed typoes (see #897), thanks to bkerensa for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-26 05:22:25 +00:00
hikerstk
516e57d274 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12575 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-25 22:13:16 +00:00