Commit Graph

1143 Commits

Author SHA1 Message Date
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
auria
ed5a0aab70 some debug code to try to fix an elusive bug on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-26 22:53:41 +00:00
auria
8ef09afb6c some debug code to try to fix an elusive bug on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-26 22:47:44 +00:00
auria
1534881cdf some debug code to try to fix an elusive bug on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-26 22:16:15 +00:00
auria
210764c66e some debug code to try to fix an elusive bug on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-26 22:14:24 +00:00
auria
d390c73466 some debug code to try to fix an elusive bug on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-26 22:02:46 +00:00
auria
09e275b3a0 fixed compilation under GCC 4.4
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-25 19:57:13 +00:00
hikerstk
80e412f6a0 Fixd linux compilation after previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3035 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-23 05:33:21 +00:00
hikerstk
6f34674b4c 1) Moved more files around.
2) Replaced many (though not all yet) snprintf with ostringstream
   (getting rid of the maximum length of messages).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-23 05:23:22 +00:00
auria
1f6782b14a updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3033 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-23 02:48:52 +00:00
hikerstk
b4fc761ee5 Bugfix for linux for previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-23 00:07:51 +00:00
hikerstk
6ce3803165 Moved more files into subdirs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-22 22:27:13 +00:00
hikerstk
bd383f0240 Fixed typos in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-22 12:16:52 +00:00