hikerstk
af6e19e21d
Removed VS compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 03:52:31 +00:00
davemk
276f3575e4
use kart projection after rescue in 3-strikes-battle-mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3928 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 02:14:38 +00:00
davemk
454463a919
add hit to kart rescued in 3-strikes-battle mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 02:04:37 +00:00
davemk
9ab21ce5fe
speed up battle music when all opponents down to 1 life.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 02:00:59 +00:00
davemk
e06845c4af
remove bubble gum item from 3-strikes-battle mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 01:57:24 +00:00
davemk
39ec20c4b6
reintroduce separate start vector for 3-strikes-battle mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 01:53:51 +00:00
auria
8417a50796
Fixed keyboard navigation on kart selection screen (still 1-p only though)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 20:05:51 +00:00
auria
d6202cd493
Fixed weird sky in beach track
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 19:29:20 +00:00
auria
3dcf00c8d5
Somewhat fixed keyboard navigation with ribbons; kart selection still thinks that the player name is at the bottom though (because it's added latest)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 18:43:30 +00:00
auria
67b46fe67c
Fixed bug I introduced while fixing warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 18:12:11 +00:00
auria
298ad53514
Fixed selection handling in combo ribbons. Unfotrunately I broke keyboard navigation to the ribbon in the process.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 17:58:05 +00:00
auria
4aaddbba4b
Improved grid/scrollable ribbons : arrows no more appear if there is room for everything to be shown, less [?] will be added if there is room for everything
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 16:59:11 +00:00
auria
edf6760b75
Cleanun in grid ribbons to allow for future visible improvements
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 16:06:38 +00:00
auria
452808838a
Fixed various warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 15:18:14 +00:00
hikerstk
4ce732574a
1) Added support for new --trackdir command line parameter (which specifies a directory with more
...
tracks).
2) Challenges are now saved in its own file (not in user config file anymore).
3) The TRACKNAME.{irrtrack,scene,graph,quads} files are now called {track,scene,graph,quads}.xml
(so not containing the name of the track anymore). Beach and lighthouse tracks have been
updated.
4) Track exporter uses the new filenames above.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-25 11:58:25 +00:00
rforder
abbd8bd618
Improved documentation. Added code to stop() any currently playing character voice sample before playing a different sample for the same kart (prevents the kart from talking over itself, which sounds stupid).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3914 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 22:07:30 +00:00
davemk
fe6ed7b8f2
Fix 'auto-rescue' when not on rescue material
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3913 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 10:05:10 +00:00
hikerstk
96dc2a8fe2
Cleaned up StringUtils: used 'better' names (e.g. getPath()
...
instead of path()), and used our convention of using capitalization
for words (and not _). Started adding support for additional track
directories, but that's not working yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 05:56:53 +00:00
hikerstk
b9d965bfdf
stk_config.xml was missing (still called .data in the commit),
...
and had the default value for zipper-max-speed-fraction) missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 05:53:05 +00:00
cosmosninja
15902af969
Added XML support for the stk_config.data file and challenges; removed the LISP support.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 19:44:31 +00:00
hikerstk
c1d69986b0
1) Profile mode now works, and is now completely implemented
...
in ProfileWorld only (no more m_profile in UserConfig)
2) Added some more virtual functions to the modes to simply
code a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 15:42:58 +00:00
davemk
96e2c28799
Set contact point and max suspension when 1 wheel off ground
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 14:38:46 +00:00
rforder
0549c9c965
Added code for custom kart zipper sound
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3907 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-22 17:59:35 +00:00
rforder
e8dc5d4f4d
Improved location of custom SFX calls to avoid multiple calls being made simultaneously
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-22 16:45:24 +00:00
rforder
537c90dd41
Properly updates default horn position
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-22 02:29:27 +00:00
auria
33c8eb9723
Deleted a few update files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-22 00:13:58 +00:00
auria
bb0b353a0c
Updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-22 00:13:24 +00:00
rforder
43c0bdbc61
Remembered to actually add the new sounds this time.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-21 17:28:57 +00:00
rforder
5f071a7759
Recorded some voice samples for Tux for testing, continuing to include sfx calls for special in game events.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3901 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-21 17:28:10 +00:00
hikerstk
6318008c87
Restructured modes to be easier to inerhit from:
...
- cleanly split into constructor and init()
phase
- added new isRaceFinished() function
Some minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-21 13:05:52 +00:00
hikerstk
ef175e94d4
1) Added alpha version of profile-mode (which replaces if-statements
...
in world).
2) Moved camera management into race gui, so that the number of split screens
used can be adjusted (and not only indirect via number of player) - this
allows e.g. debug modes where you can see 4 AI karts at the same time,
for profile mode, ...
3) Code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-21 00:32:24 +00:00
rforder
bbfb30d4c5
Implemented voice event when attachment occurs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 21:22:34 +00:00
rforder
1c6cb1115b
Writing in playCustomSFX calls where special kart sounds will be played (when shooting a weapon, when hitting another kart, etc.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 20:21:21 +00:00
rforder
8da41850d3
Cleaning up new custom kart sfx code, better documentation, more readable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 20:04:24 +00:00
rforder
97bbad19e7
Implementing easily extensible kart sfx system. See sfx_manager.hpp for sparse notes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 18:29:59 +00:00
hikerstk
5aee938257
Bugfix: kart icons were not made permanent, resuling in the last kart
...
icon (wilber atm) to be deleted when a track was deleted, and in a 2nd
race the kart icon could not be displayed anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 12:30:34 +00:00
hikerstk
4c31a5548e
Fixed VS compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 04:29:50 +00:00
rforder
4f2f272d37
Implemented ability to add custom horn sounds to each kart in order to test code that will support character voices. Adding a horn-sound
...
tag to the .irrkart file that specifies the filename of the sound effect will ensure that sound effect will act as a horn for that kart
(see tux for an example). Added m_horn_sfx_file attribute to kart_properties class.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 03:44:32 +00:00
rforder
6c0f94190b
Created addSingleSfx() to the sfx_manager. Extends ability of sfx_manager to load custom sounds during run-time. Will be used for loading character voices. Replaced SFXType with int in several places and added bounds checking.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 18:34:49 +00:00
rforder
b5e25d1298
Fixes key-up propagation bug in menu system
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 17:48:02 +00:00
davemk
344f203d18
Add configurable parameter for zipper max speed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 14:28:07 +00:00
davemk
779003befe
Make z-offset after rescue a configurable parameter (z-rescue-offset)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 14:07:15 +00:00
davemk
329124a3ba
oops. Include btkart.hpp to world.cpp so it compiles again.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3887 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 13:48:28 +00:00
davemk
7315b74865
initially project karts onto track from slightly higher
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 13:45:44 +00:00
davemk
361174536a
project karts with rest suspension in wheel direction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 13:43:17 +00:00
hikerstk
a4b2c3f4b5
Updated version of kart exporter (thanks to Xapantu): it now supports
...
animations by using markers in the timeline.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 04:18:31 +00:00
hikerstk
63e16e3e8a
Removed scene.?pp (which didn't do much anyway except for
...
handling the cameras, which can as easily be handled by
player karts instead).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 04:03:25 +00:00
davemk
271a157c6c
use kart projection for rescue and initial simulation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-18 11:05:40 +00:00
davemk
9b45fdc547
more cosmetic changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-18 10:59:21 +00:00
hikerstk
91e1f0d1ba
Added some AI debugging support: for AI hard the
...
point it is aiming at is displayed when compiled
with AI_DEBUG.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3880 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-18 10:37:05 +00:00