auria
43ed6ea083
fixed bug related to axes vs buttons
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3331 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 20:33:44 +00:00
mbjornstk
4eadddd8ab
Small logic changes to the FPS reporting, only update if FPS>1. Still disabled,
...
but at least nobody would say there is a bug like min FPS being 999.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 18:04:04 +00:00
auria
d2ecdcafff
updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 16:03:12 +00:00
auria
b08c2045d0
added default bindings for gamepad buttons + other minor fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 16:01:42 +00:00
auria
ac211ab6de
made input config file valid XML by adding a global container tag
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 15:14:23 +00:00
hikerstk
17fbf73334
Minor update to create well formed XML files (to be compatible
...
with r3324).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 04:59:02 +00:00
hikerstk
4da63bbe90
Removed warnings about missing new lines at end of file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 03:15:41 +00:00
hikerstk
f860816241
1) Added support for nested tags to XMLNode.
...
2) Made all xml files well formed.
3) Minor code cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 02:52:01 +00:00
mbjornstk
3f4e171872
Hacky FPS reporting (look for lastFPS to see the code involved). It is off by
...
default, with #if 0, but this way anybody can enable it. When we get "on game"
text, speed, etc it must be moved to the right place (and better code, the
chain of "->" is pretty ugly).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 18:09:33 +00:00
auria
a32dd4c5aa
only write config file when needed + other cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:42:12 +00:00
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