Commit Graph

1155 Commits

Author SHA1 Message Date
hikerstk
01a9f73b54 Started adding powerup functionality to irrlicht port.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 00:57:00 +00:00
hikerstk
511be41e70 Start adding support for physical objects (e.g. road cone).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-11 05:10:56 +00:00
hikerstk
2a242973b1 Configuration and highscore files on windows are now stored in
$APPDATA/supertuxkart (instead of .). This avoids problems with
losing configuration and highscores when uninstalling the game
(e.g. while installing a newer version).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-11 02:08:35 +00:00
auria
0c725aa9fe updated STK build system to work with irrlicht on mac. nothing should be broken on other systems hopefully
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-05 21:05:26 +00:00
hikerstk
ebb7c0b4e8 Updated makefile to support irrlicht (should have been part of commit
r3210).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-05 04:32:45 +00:00
mbjornstk
210fe11806 More EOL prop setting and fixing of files with mixed EOLs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-01 00:46:47 +00:00
mbjornstk
fc46307f54 Fixing all remaining "executable" flags.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 02:54:25 +00:00
hikerstk
7dfda9e304 Minor bugfixes for linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 01:32:09 +00:00
hikerstk
62bc9990ca Irrlicht only: Added preliminary support for reading materials.xml files
(though the information is not used atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 00:15:09 +00:00
hikerstk
253f495021 Irrlicht only: added support for height computation for items
(and other models loaded for a track), items now do rotate
and can be collected (though no icons are displayed yet,
nor do attachments work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-25 13:14:27 +00:00
auria
a9b0a695d4 updated Xcode project for irrLicht + fixed compilation warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-24 00:03:38 +00:00
hikerstk
b674f3dbc2 Applied MiniBjorn 'more random explosion' patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3192 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-22 23:39:59 +00:00
hikerstk
d55167930e Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-20 01:48:48 +00:00
hikerstk
1cbed5cfe2 Irrlicht only: improved XML handling, support xml files
for .track and .loc files, started working on items.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-20 01:42:34 +00:00
hikerstk
5083dc7eae Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-19 02:18:10 +00:00
hikerstk
ec69ff9f3f Applied Frederik Himpe's patch to support -Werror=format-security.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-18 22:56:48 +00:00
hikerstk
f4829edc94 Bugfix: in battle mode no groups were shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3169 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-18 22:09:24 +00:00
auria
af1f9b02a7 disabled traffic and empty_robot with #if 0s - this allows creating IDE projects by just dragging the source directory onto the source tree, without having to manually select out some files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-18 19:44:46 +00:00
hikerstk
4901a029e9 Fixed typo in Makefile.am, added missing newline at end of files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-17 03:24:43 +00:00
hikerstk
0267f7630c Irrlicht only:
1) Added better support for reading XML files.
2) Fixed keyboard handling (for some keys only
   key releases were recognised).
3) #ifdef-ed out more plib parts that would cause a 
   crash with irrlicht.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-17 02:57:28 +00:00
hikerstk
7c6e502a4f Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-16 01:26:28 +00:00
hikerstk
4fb76041ca Only save the last track if it's not a battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-15 23:01:42 +00:00
hikerstk
99ed2caf66 Bugfix: textures from the data/textures directory were preferred over track- and
kart-specific textures (unless they were listed in a materials.dat file).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-11 05:15:54 +00:00
hikerstk
1620ad012e Fixed incorrect paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-10 11:23:17 +00:00
hikerstk
be6b0f8085 Fixed compilation problem on non-irrlicht compilation (missing files,
missing ifdef - sorry for that).
In irrlicht karts have now (non-rotating) wheels, and the camera
points correctly at the kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-10 11:11:39 +00:00
hikerstk
3b7bfd5367 Update to irrlicht only, non-irrlicht part should be unchanged.
- Tracks and kart models are now loaded and converted into
  bullet physics. 
- A simple camera is implemented, so a loaded track can be
  displayed (note: the current SVN version does not contain
  a track converted for irrlicht yet)
- Otherwise the irrlicht version is not working, i.e. no
  menus atm, ...


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-10 05:30:59 +00:00
hikerstk
bce44c8956 Fixed typo in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-04 00:41:39 +00:00
hikerstk
4d2ace56b3 First irrlicht code added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-04 00:31:40 +00:00
hikerstk
00b98173ca Fixed crashes caused by having an old user config file (which can contain
invalid kart or track groups, or an invalid kart id).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-03 01:01:23 +00:00
hikerstk
f48f8e8dd2 When driving backwards karrs will now slowdown depending on terrain
(fixes bug 2554280).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-02 14:14:27 +00:00
hikerstk
8edc3fa23a Don't save the default number of karts when battle mode is played.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3090 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-01 23:15:58 +00:00
hikerstk
d49f009213 Removed the camera jump which happens on some tracks (e.g. snow
mountain) at the start of a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-01 22:54:00 +00:00
auria
0c5aae7b1b fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-01 02:17:39 +00:00
hikerstk
4b907c643a Fixed bug 2547586 (keys lock after pause): keys pressed when the
in-game menu is called would still considered to be pressed
when the game is continued.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3085 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-31 04:51:50 +00:00
hikerstk
2dd1752281 Bugfix: when switching from full screen back to window mode, in windows
an empty display would be shown.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-30 04:28:44 +00:00
hikerstk
7e03777aa1 Fixed compilation problem on some platforms.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-30 01:12:10 +00:00
hikerstk
d3960d810c Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-29 11:15:10 +00:00
hikerstk
113747ab07 Fixed incorrect display when only two tracks are displayed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-29 11:00:11 +00:00
hikerstk
f90042e2ff Removed debug statement.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-29 10:58:06 +00:00
hikerstk
a918d00198 Emptry track groups are not displayed anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-29 02:40:40 +00:00
auria
96ed4c4c24 fixed plunger staying upon restarting race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-29 01:34:16 +00:00
hikerstk
43e7b4bd45 Removed all snprintf statements and constants for maximum
message sizes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 21:49:28 +00:00
auria
6ac57f3c1f updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 14:55:07 +00:00
auria
7956b07d52 updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3061 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 14:34:48 +00:00
hikerstk
012f503d60 Added more flexible functions to simulate s(n)printf,
removed more snprintf.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3058 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 04:43:18 +00:00
hikerstk
61ad7ca615 Bugfix: ostringstream wasn't cleared between calls.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3057 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 04:12:16 +00:00
hikerstk
bf01026f43 Bugfix for linux compilations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3056 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 00:58:41 +00:00
hikerstk
067d3daf79 1) Renamed scene to stk_scene (since scene is a namespace in irrlicht).
Note that with irrlicht the scene objects is most likely going to
   be replaced anyway.
2) Removed more snprintf.
3) Removed unused modes from VS project file, added new mode for irrlicht.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 00:38:28 +00:00
hikerstk
1eb42a9ff6 Code cleanup (replaced unnecessary inlines, added missing inlines,
replaced Vec3 parameters with const &).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3052 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-27 02:36:37 +00:00
hikerstk
cdba286d28 Added README to indicate that those files are not used atm.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-27 02:27:26 +00:00