Commit Graph

1358 Commits

Author SHA1 Message Date
auria
80b73d2533 fixed detecting resolution on linux
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-10 00:55:46 +00:00
auria
b0b3b9d3ae Resolutions in options menu are now obtained from irrlicht
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-09 20:20:16 +00:00
stevo14
5d1727e5dd Implemented CM_FINAL camera mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-09 16:01:16 +00:00
auria
9383b7800a updated polish translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3470 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-09 14:49:19 +00:00
stevo14
a488b489ef Camera now points where the kart is turning based on steering angle and skidding amount, not on speed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-08 21:19:29 +00:00
mbjornstk
d964805365 Make the camera look at/above the kart, not the ground; and make the rotation
range depend in a variable (like position and target speeds, so it can
be adjusted later). Also some white space cleanups.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3468 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-08 16:07:01 +00:00
stevo14
d72aaa70f5 Camera now points in the direction that the kart will be turning (but less so at higher speeds in order to reduce sudden camera movement).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-07 15:17:58 +00:00
stevo14
7dd6011a8e Brand new camera using smooth transitions.
Does not yet support: splitscreen, 'final camera' mode, 'replay' mode, or looking backwards. 
Also, *No support for plib* uses only irrlicht. 

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-06 19:47:14 +00:00
hikerstk
14b49c58cb Worked around the 'kart shaking when braking' problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-04 23:27:13 +00:00
hikerstk
092183844f Removed irrlicht debug output (only non-trivial messages are printed
to stdout now).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3464 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-04 12:25:00 +00:00
hikerstk
9316d3ed28 Fixed incorrect pitch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-04 12:23:48 +00:00
hikerstk
d50debb0e4 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3462 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-04 12:04:07 +00:00
auria
911f98fcca got sick with my own gauge implementation using an irrlicht scrollbar(irrlicht has no gauge widget) - it had all kinds of weird side effects. I rewrote it using my Spinner widget instead. Some functionnality is lost but at least it's pretty much bug-free
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3461 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-04 01:15:12 +00:00
auria
f813e09106 fixed crash when starting race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-03 16:57:05 +00:00
auria
392a6f1c50 improved look of kart and track selection screens
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-03 16:53:37 +00:00
auria
720bbbaee0 massive improvements to looks of options and help menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-03 16:16:11 +00:00
hikerstk
99c171e3f4 Fixed kart rotation in bullet debug view (reason was actually incorrect
culling).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-03 12:33:26 +00:00
hikerstk
199725ca20 VS project file updated for latest changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-03 12:32:19 +00:00
auria
31921abd8d fixed mouse navigation on tabs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3453 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-03 01:23:01 +00:00
mbjornstk
879b3b6ab6 Drop references to SDL (still some in configure.ac).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-03 01:13:29 +00:00
auria
99e6752200 totally removed SDL dependency. wav sounds have been converted to OGG, since we already have an OGG reader in - why require an additionnal dep like SDL, that does input, graphics, etc. when we only need audio and already have an audio reader in? Original .wav files (lossless) will be added tomedia repository (second part)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-03 00:50:09 +00:00
auria
b5af09764f improved look of tabs in options/help. mouse navigation still clunky
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-02 21:06:48 +00:00
auria
66cc077beb improved layout in preferences to adapt to more resolutions. added max_width/max_height properties
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-02 19:34:07 +00:00
auria
f6d8943c70 replaced some plain ribbons with tabs (help, preferences)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-02 19:20:31 +00:00
auria
1a481fb227 removed useless events triggered every time mouse moved over a ribbon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-02 00:53:21 +00:00
auria
7a0a862994 fixed sound being faint after playing a game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-02 00:31:56 +00:00
hikerstk
fd82138d8f Added support for bullet debug view (still somewhat buggy, karts are
not shown correctly atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-29 14:48:18 +00:00
auria
9f6575c72b fixed starting directly in-game with option -N
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-29 00:21:47 +00:00
auria
a6ca49a561 made current selection clearer in combo ribbons (also fixing logical issues in showing the user which is the current resolution - not done yet but we're closer now)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 23:37:29 +00:00
auria
a15c23d878 the input config screen now contains some stuff... ugly and will need some serious thinking, but going along
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 01:31:56 +00:00
auria
505f19d267 cleanup : removed some old unused code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 00:56:24 +00:00
auria
184da61d55 removed debug prints now that the bug is fixed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 00:47:34 +00:00
auria
b0ead848bc removed debug prints now that the bug is fixed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 00:43:31 +00:00
auria
915a64b15f fix over previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 00:37:38 +00:00
auria
afcbe8cf82 possibly a fix this time for the jpenguin bug. It would be a bug related to having >1 gamepads.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 00:32:33 +00:00
auria
12cef62751 added more debug checks for jpenguin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 00:29:24 +00:00
auria
7e0714bd9e added more debug checks for jpenguin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 00:24:16 +00:00
auria
94e795655e added more debug checks for jpenguin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 00:12:55 +00:00
auria
3b0c85f05d added placeholder input config screen. added debug logs for jpenguin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-26 00:03:46 +00:00
auria
36f5450c88 fixed navigating players list from gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-25 23:37:04 +00:00
auria
a18250a599 gauges can now be edited from gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-25 23:18:55 +00:00
auria
aeb559bdde made some workaround mac-only as apparently other versions of irrlicht don't suffer from this bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-25 23:14:30 +00:00
auria
9d6d2618b0 fixed pressing 'enter' on gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-25 22:58:25 +00:00
auria
ecc9cbaa30 made navigation with gamepad smoother
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-25 19:50:41 +00:00
auria
b3bebcb1a2 gamepad buttons work again, except for 'fire' in menus (can't find why)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-25 19:47:41 +00:00
auria
9eea5f5aac gamepad axes work again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-25 19:26:44 +00:00
auria
6ed09ea3c5 bringing gamepad back in (won't work in game but will be detected, watch terminal)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-25 18:25:08 +00:00
auria
87a274fc77 started removing SDL from STK. Gamepad input broken, maybe keyboard a bit too. Default bindings changed because some keys on mac are ignored by irrlicht (known bug, fixed in enxt version IIRC)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-25 17:55:39 +00:00
auria
f21c7e9aa9 added a better font. but for now it's not any better because the irrlicht font system is too crappy to alow resizing fonts at runtime *sigh*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-24 14:19:20 +00:00
auria
f3cbe0984b attempt to detect available video modes. fails miserably for the moment, please test on other platforms...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-24 00:14:04 +00:00