Commit Graph

443 Commits

Author SHA1 Message Date
auria
f5ced788ac Game menu now shows up :) Input is not yet handled, so not yet usable. Some dummy placeholder datafiles included for the sake of having something testable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-15 01:34:21 +00:00
hikerstk
d2b45f0761 Converted DomesticManners to an irrlicht font, more cleanup.
Time is now displayed using the new font.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 05:21:13 +00:00
hikerstk
8a60edf241 Moved file manager to io subdir, made irrlicht compilation default,
started removing #ifdefs HAVE_IRRLICHT.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 03:49:31 +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
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
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
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
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
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
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
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
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
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
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
a24273abfc Fixed some minor memory leaks, added 'FIXME LEAK' comments
in many places which are either more complicated to fix for now,
or will be redesigned with irrlicht (and should therefore go
away anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 04:26:24 +00:00
auria
c119c8ba75 made nitro particles bigger for a nicer effect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 20:42:49 +00:00
auria
0ba91a7392 new nitro particles by MiniBjorn + fixed bugs that made particles look weird
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 20:40:07 +00:00
auria
4c3834e4e2 improved patch by MiniBjorn to remove skidding when it doesn't make sense
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 21:16:27 +00:00
hikerstk
3b3416a1af Disable skid marks when a kart is not steering.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 12:48:44 +00:00
hikerstk
0d593da26e 1) Skid marks fade out (fade out time set in stk_config: skid-fadeout-time,
currently one minute.
2) Skid marks now support proper culling, which should help with slowdown
   some people have seen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 00:20:23 +00:00
auria
9973d00ece fixed white skidmarks bug (by MiniBjorn)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:53:45 +00:00
auria
74a67206cb fixed white skidmarks bug (by MiniBjorn)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:47:25 +00:00
hikerstk
64921ddb90 Fixed typo in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:33:24 +00:00
hikerstk
b3590f40b8 Fixed compiler warnings (VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:32:08 +00:00
auria
25fc6e5f07 made skidmarks conditions even stricter for Ai karts, so they create a bit less of them (mixed success; they seem to reach maximal steering very fast)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:39:46 +00:00
auria
3edb628251 only show skidmarks if the player is turning (i.e. don't show skidmarks when player is going straight) caveat: if you press the skid button, turn sharp, then go straight while still holding the button, skid marks will still appear.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:27:36 +00:00
hikerstk
1c81e0f664 1) Removed references to wheelie and jump kart control structure.
2) Config files will now use nitro/drift instead of wheelie/jump.
   Old config files will automatically be updated (and a message
   be printed).
3) Renamed all members of the kart control structure to start
   with m_ .


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-21 21:40:00 +00:00
hikerstk
9d7a256458 Used 'UnNamed' suggested colours for skid marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 04:37:02 +00:00
hikerstk
582bd86cdd Bugfix: restarting a race could cause a crash in the skid marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 08:32:12 +00:00
hikerstk
e76c1dc87c 1) The number of drivelines per kart is now limited (stk_config.data setting)
2) Reduced smoke effect somewhat (and made it dependent on actually turning
   the wheel)
3) Removed skid marks when restarting a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:07:16 +00:00
hikerstk
45e00400a3 Minor improvements to nitro graphics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 06:13:02 +00:00
hikerstk
0723e095fd Made the skidding smoke appear from both wheels.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2561 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 05:46:40 +00:00
auria
49b6691474 improved fire particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 23:55:48 +00:00
hikerstk
325a9dce30 First version of new skidmark implementation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 13:01:39 +00:00
hikerstk
c20d6008d3 Moved Particle- and Smoke system into graphics subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2540 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:56:57 +00:00
hikerstk
cce4da5a62 Moved Vec3 and Coord into utils subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:43:50 +00:00
hikerstk
5b33cdc3c0 Added skid marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:05:25 +00:00
hikerstk
1c0c2d0ffe 1) Added graphical effect when 'nitro' is active
(texture and graphics still needs to be improved!)
2) Added new user_config setting for graphical effects.
3) Started to move graphics related file into separate
   subdirectory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 09:26:25 +00:00