Commit Graph

4013 Commits

Author SHA1 Message Date
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
hikerstk
aac738300c Fixed crash in case that there are more start positions
defined in a scene file than there are karts in the race.
Fixed handling of start entries without position values
in scene.xml files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 21:54:08 +00:00
hikerstk
85979ee919 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 21:50:14 +00:00
hikerstk
c40e50f4f1 Fixed crash in battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 21:45:06 +00:00
xapantu
16b742358c [Addons] an addon object isn't passed to the dialog anymore, it is stupid since addons_manager is extern.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 17:21:58 +00:00
xapantu
23143a4018 Fix addons when we are offline:
- They can't be updated
- It doesn't crash when we uninstall them

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 17:04:58 +00:00
auria
54643a6d6b Fixed shiny elephant on GP win screen by reducing sun intensity
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 16:56:07 +00:00
xapantu
ba7f3c0ac4 [Addons] Download the news text directly in a string, we don't need a tmp file anymore, it was dirty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 16:53:53 +00:00
auria
9724be6622 Remove unused code + fixed wrong animation frame used on feature unlocked screen + fixed karts looking left on GP lose screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 16:00:21 +00:00
auria
c68d8cebb2 Fixed ironical situation : I wrote stupid code; Joerg's compiler produced warnings for said stupid code;de; Joerg adds cast to make compiler accept stupid code instead of fixing stupid code ;) Hopefully the code makes more sense now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 14:52:07 +00:00
hikerstk
3b6b6ad828 Fixed stupid AI behaviour: if an AI kart ended up
on a wrong part of the track (e.g. because of
an explosion or falling down), it would not
recover properly since it was still considering
that it's on the previous correct position.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 06:19:39 +00:00
hikerstk
22ddf1ae9d Added comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 06:18:07 +00:00
hikerstk
6c2eb260f0 Added (currently commented out) debug feature that F1 will
force the first kart to be rescued (which can be useful
to find places where the AI gets into a: rescue, drive,
crash, rescue-to-same-place,... loop).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 06:17:07 +00:00
hikerstk
a359b169a4 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 06:14:15 +00:00
auria
9a399a3bda At everyone's request, including Grand Master Joerg, improved fly hack ;) The controls are now simplified : no more J key, just I for up up and K for down. Also, it is now possible to land back on ground : simply go down until to hit the track. Also, the track also gains gravity back when rescued. Finally, the back key is now a break instead of moving backwards, this should be more useful during testing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 02:16:41 +00:00
hikerstk
24a34006c6 Renamed 'ambient-color' to 'ambient' to be consistent with other values
that don't use -color.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 00:18:32 +00:00
hikerstk
a47b730f3c Removed unnecessary/old code: support for track
specific number of karts, and light settings
in track.xml (which can be set using the track
exporter in scene.xml).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 23:58:12 +00:00
hikerstk
e3ff0acc95 Added call to reset in constructor, which will actually start the
animation loop.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 11:10:50 +00:00
auria
debdca6df6 Allow duplicate karts when there are too many players for the amount of karts in the current group + fix bug in random kart selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 02:03:30 +00:00
auria
1640542d36 Added GUI support for disabling and enablign gamepads
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 01:40:00 +00:00
auria
92e7be10d3 Started adding option to disable gamepads, this will allow shutting up gamepads that have soemthing constantly pressed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 01:26:31 +00:00
auria
e37880e55b Remove penalty for pressing sharp-turn
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-05 19:56:18 +00:00
auria
166f342a06 Fixed KroArtem-reported rare bug with music dimmed down during last lap fanfare
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-05 19:19:39 +00:00
hikerstk
158ca9fb20 Fixed rotational IPOs (problems were caused by a different order of rotations in
blender and irrlicht).
NOTE: all tracks that are using animations WILL NOT WORK PROPERLY till they have
been re-exported with the new track exporter (which will be done shortly).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-04 21:52:48 +00:00
hikerstk
af38843252 Added support for scaled objects.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-04 21:37:30 +00:00
hikerstk
aac8a503dc 1) Added support for scaled objects (previously scaling was included in
the mesh in the b3d file).
2) Changed m_init_* variables from Vec3 to core::vector3df.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-04 21:35:55 +00:00
hikerstk
58a8444112 Avoided 'wrong direction' message if a kart is rescued or playing
an emergency animation (see bug 3100384).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-02 09:11:47 +00:00
auria
de95e676d8 Yet improve handling of bad resolutions in config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-31 15:26:25 +00:00
auria
ac341d9e0b Add more sanity checks to make 'enter new player name' KroArtem-proof
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-29 17:10:12 +00:00
auria
f367170752 Always 3 karts on GP podium screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-29 01:39:27 +00:00
hikerstk
4eb096528f Removed code that was commented out.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-28 05:14:04 +00:00
auria
82214d0622 Fixed crash when deleting keyboard config + added assertions to detect more possible bugs in the future
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 23:13:18 +00:00
auria
9fa58cd856 Stomp on memory in dialog dtors to detect bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 23:02:03 +00:00
auria
3fc514d2f8 Remember user kart choice between sessions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 20:10:16 +00:00
auria
e42a390630 Display an error message if the user tries to create a new player with no name
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 19:26:06 +00:00
hikerstk
6881c51be8 Fixed crash in case that no music is defined for a track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 21:51:45 +00:00
hikerstk
2cdd7c1745 Fixed (one) rotation bug: rotation for objects in the xml file are
already degrees, they were converted to degrees again.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 21:45:32 +00:00
hikerstk
1f7a882c85 File forgotten in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 09:57:26 +00:00
hikerstk
87f849184d Added support for --material-debug command line option, which prints
the texture the kart is on and its slowdown related parameters.
This should help debugging incorrect slowdowns.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 09:29:44 +00:00
hikerstk
3e4e4e00f1 Forgotten controller/* in previous patch. They now also
define a proper slowdown on end controller without stopping
on hills.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 06:30:39 +00:00
hikerstk
c39cf57971 Support for nitro, slipstream and zipper to become faster than a kart's
maximum speed. Parameter in data/stk_config might need more tweaking.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 06:28:58 +00:00
hikerstk
062fa61d60 Handle tracks that are not found better (track manager does not
throw an exception anymore, it instead returns NULL).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 06:14:46 +00:00
auria
8ea72b1fa3 Added secret debug feature (hint : build in debug more and try keys JIK)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 23:07:35 +00:00
auria
08e44103c7 Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 01:24:23 +00:00
auria
4c1fc83a1a Shorten FTL definition to fit screen space
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 01:11:09 +00:00
hikerstk
67192a869d Removed compiler warning by adding missing newline at end of file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 01:11:07 +00:00
hikerstk
f4c72bd783 Updated makefile to include new files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 00:53:17 +00:00
hikerstk
0f0c74f391 Added new object to handle max-speed of karts. ATM it will slow down
depending on terrain, so zipper etc. handling is not yet finished but
will come soon.
Also zipper parameters can now be specified per kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 00:52:50 +00:00
hikerstk
6226a48b6b Fixed multi-item handling (no multiple items were given to anyone at all).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 00:41:23 +00:00
auria
6e69463c72 Fixed bogus tab switch in help
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 20:36:07 +00:00
auria
6b337dfe71 Made game mode choice persistent
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 01:53:50 +00:00
auria
852e3296c7 Improved persistence of difficulty setting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 01:10:13 +00:00
auria
dbf3ec0b09 Make number of laps value persistent
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 00:55:21 +00:00
mbjornstk
33d535a991 Add include, otherwise compile fails due to missing assert definition.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 00:05:26 +00:00
auria
f5f48d5861 Fixed binding conflict detection being based on name; really verify their values, not only their names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-23 21:27:56 +00:00
hikerstk
b7b0f1b41b Fixed splitsceen display: energy bar was moved down a bit,
lap and rank display are now on top of the energy bar (and
just under the time). Removed 'finished' display if the
race is finished.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-19 21:49:19 +00:00
hikerstk
8708d5b654 Hopefully fixed crash in case that a bubblegum is dropped 'over nothing'.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-19 20:35:18 +00:00
hikerstk
716f7e4942 Fixed one crash with battle mode (though it still doesn't work fully).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-19 20:16:26 +00:00
hikerstk
eae17a7133 Made the plunger-in-face duration configurable and dependent on
difficulty.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 11:08:22 +00:00
hikerstk
9d5b51e797 Only apply terrain-specific slowdown when being on the ground.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 06:04:05 +00:00
mbjornstk
6790b694b5 Make zipper fade out linearly (experimental hardcoded values and even formula).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 05:23:09 +00:00
hikerstk
6d3d6d69d0 Removed warning about "... element 'default-start' was met but is
unknown.".


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-18 03:10:18 +00:00
hikerstk
5460aa2058 Removed double display of 'finished' for laps and rank.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 12:28:46 +00:00
hikerstk
f517feeeba Renamed 'slowdown' for terrain specific max speed to slowdown-time.
Made slowdown in tuxtollway less abrupt.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 11:09:48 +00:00
hikerstk
e392a2a0af Fixed display of negative number of AI karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 11:06:00 +00:00
hikerstk
648d5a38d2 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 04:41:46 +00:00
xapantu
ead0f00638 Add addons search path for the tracks and reload the tracks list when an addons is installed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 14:01:17 +00:00
xapantu
2fa3c6bf43 The addons icons are now downloaded in a thread, we don't wait anymore that this download end
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:29:44 +00:00
hikerstk
b0ed33197b Improved/fixed terrain specific slowdown. Slowdowns are not specified in materials.xml
with two values: one specifying the percentage of max kart speed that can be reached
(e.g. 0.5 means a kart can only drive 50% of its maximum speed on this terrain),
the 'slowdown' value specifying how long it will take for a kart to be slowed down
to that value (e.g. a value of 3 for slowdown and 0.5 for max-speed means that
it will take 3 seconds of continuously driving on that terrain till the speed
is reduced to 50% of the karts maximum value).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:07:25 +00:00
xapantu
9451a488a1 Fix a crash when the kart which is focused in the kart selection screen is a deleted addon, it is a bit dirty, maybe there is a cleaner way ?
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:05:12 +00:00
auria
c7fec2a586 Fixed terrain sounds not being properly reset
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-14 14:15:10 +00:00
hikerstk
a83a40ec9f Made light position configurable, and automatically compute the
direction of light to point to (0,0,0).
ATM if no light position is specified, it will fall back to the
previous default value of (180, 45, 45) as direction, but some
tracks might need adjustment now.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-14 11:26:22 +00:00
hikerstk
50cd88e562 Improved start positions:
- Karts will now start forwards_distance after the lap counting line,
  meaning they will start behind the 'checkers' line.
- Every 2nd row is now moved 0.5*sidewards_distance to the right,
  meaning that there is much more space ahead of the kart for
  quick starts (i.e. the kart can drive between the karts in
  the row ahead of it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-14 00:56:25 +00:00
hikerstk
b900230305 Fixed compiler warning and some comment typos.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-13 22:37:41 +00:00
auria
5e482d9989 Fixed restart race bug + other issues possibly introduced by my scheduling of pausing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 22:32:33 +00:00
hikerstk
fa6ae21672 Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 22:04:36 +00:00
hikerstk
83b6eccf64 Due to floating point errors it could happen that a kart crosses
the lap counting line in the very first frame. To avoid this,
karts will now start 0.1 units behind the lap counting line.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 21:51:36 +00:00
hikerstk
77c0d66653 Added support for scaling IPOs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 10:17:08 +00:00
hikerstk
42d59865ad Fixed debug display of unlocked GP: beach track was removed so
displaying the beach screenshot failed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 10:06:37 +00:00
hikerstk
95e33fcd7d Fixed animation in GP end screen (where karts would
always look to their right).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 10:01:52 +00:00
hikerstk
53d241fb65 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 08:33:51 +00:00
auria
16408bc258 Reduce volume of background music while playing last lap fanfare + don't play last lap fanfare in one-lap races
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 01:24:26 +00:00
auria
1cb2b1caa3 Fixed sound being shortly unpaused when switching screen and sound is off
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 23:12:30 +00:00
auria
bad35f1595 Enable looped sounds only when unpausing sounds and not as soon as the checkbox is pressed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 22:35:58 +00:00
hikerstk
38d69360b1 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 21:55:14 +00:00
auria
157133673c Fixed compilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 21:53:04 +00:00
hikerstk
19b225a7ce Added improved default start positions. Start positions now follow the drivelines,
and the scene.xml file can specify how many karts to set in one row, and the
distance between karts in X and Z direction.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 21:49:35 +00:00
auria
12cb80f9d0 Enabling sound in-game works even for engines / looped sounds now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 20:26:31 +00:00
auria
7434604183 Fixed sound to be positional again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:46:04 +00:00
auria
947f9a5eb1 Improved disabling audio in-game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:33:27 +00:00
auria
b957d7923a Perform decent error checking when getting music file, previous code would silently return an empty file. Fixed the use of the 'smart' function used too early when loading title music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:19:31 +00:00
hikerstk
f6cd18f5c7 Fixed VS compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 05:23:59 +00:00
hikerstk
2dad6ea54f Fixed compilation in case of non-debug compilation when
DEBUG_KART_RANK is defined.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 02:49:35 +00:00
hikerstk
34a7a538fe Fixed debug code: a change of a kart rank was not detected
(and so no debug info for a rank change was printed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 02:29:50 +00:00
auria
3f0f1d4b57 More work on audio : enabling SFX in-game now works significantly better, cakes and zippers now work properly. Disabling SFX in-game still not checked; when when enabling SFX in-game, looping sounds like kart engines are not started
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 02:13:45 +00:00
auria
65fdc2f2ee Link each Sound Source to a Buffer, even if OpenAL is not inited. This will help correct the SFX enable bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 02:00:36 +00:00
auria
3adaeef476 Started refactoring audio code so that the SFX enable bug can be fixed easier later (bug not yet fixed)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 01:45:12 +00:00
auria
86b5b82c71 Make AIs drive slower during the end animation with an ugly hack
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 00:59:06 +00:00
auria
b38525c227 Removed nonsensical assert
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 16:35:09 +00:00
auria
b424856d6c Fixed kart wheels sinking into the podiums in GP win screen. Also tried to fix characters looking left but that didn't quite work out
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 15:12:40 +00:00
auria
f7762c3fa2 Minor update to Xcode project caused by me updating to the latest version (still backwards compatible as far as I can tell)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 15:03:08 +00:00