Commit Graph

1887 Commits

Author SHA1 Message Date
auria
ac8192e53f some cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:23:54 +00:00
auria
5b50990c3e removed debug checks that are no more needed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:22:53 +00:00
auria
5ca3f169ca more gamepad fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:21:43 +00:00
auria
9c727717aa improved somewhat joystick loading from config, and added debug logging to help find what's wrong with minibjorn's
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:15:52 +00:00
auria
7fe245040a added warning when config file is not read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:02:54 +00:00
auria
15e2386398 attempt at saving and loading gamepad configs to/from config files. support for multiple gamepads is theorically possible though configs can only be changed by editing the config file. joystick users will need to test and report (and help me) since i can't go much farther than that
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 00:58:12 +00:00
auria
06cfbc2aeb keyboards will now read their config from file (only default keyboard, support for multiple configs to come later)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 00:19:24 +00:00
auria
51231429e1 started writing new XML config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 23:37:21 +00:00
auria
9f9f711070 trying to fix elusive build errors or Arthur's and Minibjorns' computers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 22:12:44 +00:00
auria
81d860a1ab improved joystick code again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 18:43:39 +00:00
auria
174a753997 restored more gamepad code (hopefully cleaner but not tested)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 16:15:17 +00:00
auria
34f8e281d7 bringing gamepad input a bit more in. help me with testing please - i can somewhat fake gamepad input with some utility but it's not too handy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 15:51:55 +00:00
hikerstk
13e8e2faf9 1) Changed transparency mode to use ..._REF material, which avoids the necessity
of additional changes to avoid issues with Z buffer sorting (and it is faster, too)
2) Added support for sphere maps.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 13:24:54 +00:00
hikerstk
00cec55a40 Added transparency for road cone.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 00:32:58 +00:00
hikerstk
591d997670 Bugfix: beach track would crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-27 12:34:52 +00:00
mbjornstk
aaa4214be8 Python files we will use will be mostly BPY kind (abused extension and
shebang first line *sigh*), and those are not stand alone executables, 
so better avoid the property.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-27 01:06:19 +00:00
hikerstk
517bd87063 1) Added improved version of b3d exporter (which supports writing more than one
.b3d file, which the original can't).
2) Added very first (and by far not complete) version of new track export
   script.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-26 23:35:57 +00:00
hikerstk
247914b566 1) Support for transparency added (mainly lighthouse track).
2) More cleanup, tests, ...


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-26 23:31:00 +00:00
mbjornstk
dddb98310e Improved road cone model, some more faces but better shape and
fully textured (transparency to make the tip hollow).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-25 01:05:10 +00:00
mbjornstk
ef44c1a2b2 Remove svn exec prop from more data files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-24 22:27:24 +00:00
mbjornstk
b47a67c8bf Removed svn exec prop.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-24 00:20:23 +00:00
hikerstk
f8e05cdbd2 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-24 00:18:12 +00:00
hikerstk
c14c06e830 1) First version of rubber band (to do: rubber bands are sometimes not visible)
2) Code cleanup.
3) Initial support for special water nodes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 23:50:50 +00:00
mbjornstk
c8e05cf0dd Updates so makefiles compile again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 20:35:53 +00:00
auria
bcd8287033 brought back static keypress detection (mostly F-keys)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 19:41:14 +00:00
auria
38ff0a3d46 bringing back some joystick code (can't test since i don't own one XD I will need help on this probably)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 19:09:16 +00:00
auria
10eadc6090 some cleanup over previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 18:46:35 +00:00
auria
098ce5b32e Introducing the new DeviceManager input API...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 18:38:06 +00:00
mbjornstk
63a94df516 EOL props were missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 18:24:28 +00:00
auria
b160406dd4 started reconstructing input...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 16:06:48 +00:00
auria
d0777369ea Tearing input apart : the current input module plain won't cut it for our needs. It works per-player, we now want it per-device. It also did messy stuff like like using a hardcoded variable for each player instead of passing playing ID as parameter, etc. So I'm tearing it apart. Consequence for now : only keyboard and mouse work, and it's not configurable, and it's not loaded from config files. More to come, obviously...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 16:00:47 +00:00
auria
e7905e0811 started input module by splitting sdldrv in more logical parts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 14:55:23 +00:00
auria
a357cea512 updated xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-21 17:39:43 +00:00
mbjornstk
65fae4e978 The toIrrVector in this code block converts coordinates systems, so Y
and Z axis must be swaped too. Currently and until further notice:
Bullet and Blender use Y forward, Z up.
         Irrlicht uses Y up,      Z forward.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 18:18:56 +00:00
auria
35a157fd74 fixed tabs introduced by Robert's patch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 15:25:20 +00:00
auria
b02992455f commited Robert's menu stack patch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 15:24:15 +00:00
auria
bd56ada2a4 removed debug code that should not have been commited (again)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 01:53:28 +00:00
auria
e9b4109c9b kart selection screen is now shown when you press new game, and a (black) model preview appears
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 01:52:35 +00:00
auria
a6f6c3d6ab replacement numerical constants with proper SDL key names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 01:18:33 +00:00
hikerstk
a8b1598683 Improved wheel steering rotation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-18 04:54:42 +00:00
mbjornstk
3f633972e2 Update file list so autoconf can create a working Makefile.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-18 02:40:11 +00:00
hikerstk
4aeb08f944 Added lighthouse track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-18 01:40:50 +00:00
hikerstk
9bc24c6a4e 1) Added support for sky-domes (this needs to be nicer, this is
only a proof of concept (sky boxes are wip).
2) Started work on explosions using the particle engine.
3) Removed plunger when the rubber band snaps.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 02:52:58 +00:00
hikerstk
11b35c3fa9 Bugfix: detecing '.' as data root didn't work anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 02:19:11 +00:00
auria
a831204696 Escape can now be used in-game to abort the game. It however does not clean-up the irrLucht scene properly : hiker, this is for you ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 00:25:04 +00:00
auria
3eb1ed09b5 escape and quit now work again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 00:19:52 +00:00
auria
59d55bc324 some cleanup - removed a few warnings, + started input refactor : input events really have no reason to go through a menu class when in-game. Starting to rework the code so they're disptached directly to the right location
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 00:01:56 +00:00
auria
a7295bde70 some cleanup - removed a few warnings, + started input refactor : input events really have no reason to go through a menu class when in-game. Starting to rework the code so they're disptached directly to the right location
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 23:52:34 +00:00
auria
73d8aa063e you can now start a game from within the GUI! No matter where you click, it will always start in beach with hard settings, Tux and 1 kart only though
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 18:02:45 +00:00
auria
87a726ff74 The GUI will now react to clicks, so you can navigate it somewhat. Note that the event callback function provided is mainly a test one; it should eventually be replaced with something better organized
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 17:27:05 +00:00