Commit Graph

1797 Commits

Author SHA1 Message Date
mbjornstk
ec4f9b2306 Source files should not be executable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3528 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-22 15:58:28 +00:00
hikerstk
864c1d6fff 1) More redesign of drivelines into quad graphs. Moved
graph related functions from Track to QuadGraph,
   removed plib usage. The AI is now able to drive
   a loop (re-using the same quad, before continuing
   on the original path). The beack track currently
   defines a simple look at the first right hand
   turn (the AI will drive down the hill, then
   up again and then keep on going).
2) During the conversion process some AI called
   function were significanly sped up, but it has
   to be tested if this has any ill effects for
   certain tracks or certain karts.
3) Tried to add support for moving sky domes, but
   that doesn't work yet.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3527 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-22 03:23:48 +00:00
mbjornstk
6042c2cb63 Remove exec prop/bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3526 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-20 00:05:01 +00:00
hikerstk
224278556e Bugfix for windows, where a stat on a directory ending with
'/' does not work.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-19 12:09:53 +00:00
hikerstk
afdb422635 Added first version of track debug output showing all quads.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-19 03:24:56 +00:00
auria
2d86430956 Tried to fix file issues on Linux
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3522 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 23:18:40 +00:00
auria
aca5918785 fixed warning (and non-working code) + updated xcode project to remove some absolute paths
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3521 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 19:31:10 +00:00
mbjornstk
99fccc6d0d Update makefile system, this time due to removed files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 19:23:57 +00:00
auria
c7873c7a39 minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 19:14:34 +00:00
auria
6a91218b62 replaced plib filesystem calls with irrlicht filesystem calls
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 19:11:58 +00:00
auria
d38c6672a1 improved my replacement for plib detectory detection functions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3517 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 18:38:51 +00:00
auria
bbce1a0407 refactored Xcode project to use pre-built frameworks (making it much easier) + more minor cleanup (removed some useless plib stuff left in code)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 18:29:58 +00:00
hikerstk
d40f096127 1) Removed unused TrackInfo objects for the AI.
2) More code cleanup to use the new quad structure
   instead of driveliens.
3) Updates VS project file to work with latest
   GUI additions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 04:08:00 +00:00
mbjornstk
5d47618ddb Update makefile system after new source files were added inside src/gui/.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 02:41:08 +00:00
auria
0226ad76bd Improved navigation in tabs with mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 00:49:16 +00:00
auria
778e015d0a fixed assertion failure
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 00:43:44 +00:00
auria
8295a10974 made combo ribbons not selected on mouse hover, only on click
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 00:31:16 +00:00
auria
902fad806e fixed Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 00:18:39 +00:00
auria
ebf30245a2 fixed Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 00:10:22 +00:00
auria
385f428010 improved credits
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-17 19:33:55 +00:00
auria
56b99ce73e Implemented credits screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-17 19:07:27 +00:00
auria
705962d501 updated Xcode project + made kart selection screen actually work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-17 15:18:24 +00:00
hikerstk
616acb985a 1) Removed some of the old driveline usage (not all yet, work
in progress).
2) Removed shortcut detection and handling.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-17 12:57:40 +00:00
auria
d95fcbf921 removed elephpant (new version to be added soon)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-16 23:46:18 +00:00
auria
c434af6dcd converted wilber to irrlicht format (by cheleb)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-16 23:11:42 +00:00
auria
104e771d76 removed puffy (new format to come)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-16 23:01:39 +00:00
auria
a151de816e removed karts in old format; converted files will follow in next commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-16 21:57:05 +00:00
auria
477e31f5b6 Added Pidgin kart by Cheleb
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-16 21:00:26 +00:00
hikerstk
ffe39e467a 1) Started adding support for quad graphs to have a more flexible way
of specifying the track to use (mainly for the AI).
   For beach/lighthouse files to specify the graphs have been added
   (note that if the graph is a simple look, no .graph file is
   necessary, since it will default to a simple loop), and a script
   to convert from the current driveline structure to quad graphs
   has been added, too.
   This information is currently read in, but not yet used!
2) Some memory leaks were fixed, the filemanager functions getXML*
   were renamed to createXML* to indicate that the return pointer
   needs to be freed.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-15 01:20:09 +00:00
hikerstk
a522879389 Removed debug code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-13 22:44:03 +00:00
hikerstk
13da742100 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-13 06:13:01 +00:00
hikerstk
c123a9601f Fixed compilation error on VS (sqrt(int) is ambiguous, since it
can take long double, double, float).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-13 06:12:26 +00:00
stevo14
2b3dc3c668 Implemented CM_REVERSE camera mode for looking backwards.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-12 20:23:27 +00:00
auria
f4a76bc2ae removed 95% remaining dependencies on plib
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-11 01:28:18 +00:00
auria
b03f45605b switching resolution multiple times now works (i.e. you get no more [?] boxes and 'hello's
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-11 00:23:40 +00:00
auria
e7836dab60 Switching resolutions now works as expected (but only once) + misc other changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-11 00:09:40 +00:00
hikerstk
be56804672 Fixed kart rotation ... again :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-10 23:07:07 +00:00
auria
6bba0c2c28 Fixed issue with input gamepad buttons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-10 01:45:32 +00:00
auria
bd1eb46608 fixed default resolution being highlighted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-10 01:14:40 +00:00
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
auria
94bbe12636 show black before resolution switch so we don't see OpenGL's buffer garbage during switch; made the 'previous' width and height in user preferences valid again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-23 23:34:41 +00:00
auria
db978329ad added the necessary core code to allow resolution switching. currently you can't choose from list, but clicking the 'apply video changes' button will test it by going into 800x480 resolution (so don't try this when fullscreen...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-23 23:27:06 +00:00
auria
8bc4ed83e9 added scrolling ribbon component
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-23 01:05:17 +00:00
auria
b262fd7f96 made player list navigatable without mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 19:34:40 +00:00
auria
0ee65fc802 cleanup in gui/screen.cpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 19:14:55 +00:00
auria
f92c52582e music volume is now saved to config file, and read from it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 18:44:35 +00:00
auria
3a8fc00861 SFX volume is now saved to config file, and read from it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 18:36:53 +00:00
auria
2f20cb49b1 Removed debug print, made button text in options clearer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 18:20:01 +00:00
auria
e0ff3f3122 small cleanup over previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 18:10:58 +00:00
auria
7c365ee1ea the sound slider in preferences will now play a sound to help you know how loud the volume you chose is
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 18:07:03 +00:00
auria
a1826c8c0d fixed bug in scrolling icon grids - if more items than available space existed, scrolling would be useless
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 16:03:55 +00:00
auria
ccefa05789 improved presentation of audio/video options screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-20 15:27:57 +00:00
auria
546816d2d4 started adding resolution choice... a bit different from proposed design, but simpler this way. work in progress, does nothing yet, presentation can be improved
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-19 01:49:08 +00:00
auria
3e285d2e56 made gauges react properly to mouse clicks. this was very hard given irrlicht's skin system, so a consequence is that you can make the slider move by clicking slighlty next to it; probably not too important
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-19 00:58:07 +00:00
auria
966e3563ce fixed graphical glitches (stretched shadows under spinners, etc.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-19 00:21:02 +00:00
auria
7cea6e6c87 made checkboxes in audio options work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:56:58 +00:00
auria
c1bd49c8af code simplification; crash fix; checkboxes in options now work, but you need to restart STK
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:50:55 +00:00
auria
5e249e0aed added more documentation to GUI code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:38:29 +00:00
auria
54c61cb569 made checkboxes clickable (those in options don't have any effect yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:25:59 +00:00
auria
7ecc233171 improved focus behaviour of spinners when using mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:19:08 +00:00
auria
f875392acb skinned checkboxes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-18 23:12:41 +00:00
auria
05826d1e96 more fixes to xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-17 14:27:41 +00:00
auria
c26340a499 fixed assertion failure
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-17 00:23:07 +00:00
hikerstk
c603d48a06 Removed warnings on VS.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 10:35:35 +00:00
auria
956178350f fixed music volume gauge... actually the bug was mine *blush*, discard the explaination i gave in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 01:42:57 +00:00
auria
7ff6333abc minor improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 01:38:41 +00:00
auria
35d046ee42 skinned gauges. default value is now read from audio managers - it just doesn't work for music yet because no default value is set for music volume in preferences.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 01:29:06 +00:00
auria
5ddb03e272 music and sound volume can be modified in options. much left to do : make the gauge nicer-looking, save value to file, load value from file, make the slider start at an actual value, ...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 00:46:21 +00:00
auria
35bb0035be cosmetic changes to ribbons and spinners
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 00:21:32 +00:00
auria
ea16856103 gui docs update + some minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 00:10:49 +00:00
auria
c54a87d6a1 Fixed clicking spinner arrows
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-16 00:05:16 +00:00
auria
d6bb49e492 Added extensive documentation of my GUI engine to gui/engine.hpp + various minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-12 20:19:50 +00:00
auria
57ce9a3879 fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-12 18:22:54 +00:00
stevo14
e1f93c4527 Added support for changing the master SFX volume.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-12 11:20:13 +00:00
hikerstk
3ffcce3351 Fixed compiler warnings on VS.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-12 07:42:53 +00:00
auria
65268c3e5f made some textures power-of-two in size
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 23:18:33 +00:00
auria
2e7de89e69 added a different type of seleection for karts and tracks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 19:57:10 +00:00
auria
b057267db1 more on skinning : replaced ugly blue rectangle with a subtle glow. more tweakings necessary to make it good everywhere
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 19:02:33 +00:00
auria
6955c8214c skinned tabs + improved look of ribbons (removed some red rectangles)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 18:34:17 +00:00
auria
aa37c894fe improved spinner skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 18:13:06 +00:00
auria
0197d081d5 Added basic skinning to spinners
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 16:43:24 +00:00
auria
b8033334d6 starting to implement better skinning. currently, only plain buttons are skinned (you can see one in the help screens if you wish to see). I made a theme as proof of concept, if people don't like it, it can easily be replaced ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-11 16:07:41 +00:00
auria
de53cd22c1 fixed going back in menus with gamepad (use rescue, should now work)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-10 23:07:21 +00:00
auria
d7a032944e skin work (only in code, no visible change yet, but I'm preparing the way for visible changes :] )
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-08 20:31:50 +00:00
hikerstk
574ebfa94d Added support for steering animations. Note: since there is
currently no model with animations, there are no visible
changes atm.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-07 13:43:18 +00:00
auria
d0fc9b1179 you can now warp vertically in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-06 23:31:02 +00:00
auria
b1964b2bff you can now warp horizontally in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-06 23:09:39 +00:00
auria
060720c454 Improved main menu appearance
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-06 20:07:21 +00:00
auria
309528a7fc updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-05 15:23:03 +00:00
hikerstk
7cb77b8c5c Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-05 13:46:55 +00:00
hikerstk
5e30e66dc2 1) Prepared support for kart animations.
2) Removed unused plib only loader.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-05 12:53:17 +00:00
auria
0ad78e1168 introduced more help menus, improved their look and navigation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-05 01:15:38 +00:00
auria
951494cda9 first introduction of a help menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-05 00:58:52 +00:00
mbjornstk
43ce2014cc Only check FPS while gaming, so menus do not make maxFPS useless.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-05 00:28:50 +00:00
auria
55aa2dd525 only use timer for axis events
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-05 00:16:52 +00:00
auria
96ac216d34 removed debug checks, made time laps shorter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-05 00:10:44 +00:00
auria
2dbe5795eb added lots of debug checks so Conso and MiniBjorn can help me debug input code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-05 00:01:13 +00:00
auria
f08731fd7e updated timer set on gamepads (dt is in seconds, not milliseconds... oops)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:54:16 +00:00
auria
d3b93f6602 fixed navigation issue in kart-selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:52:30 +00:00
auria
924d087c88 pressing 'rescue' on gamepad should behave the same as 'escape' on keyboard in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:48:38 +00:00
auria
f66430574c attempt at timing so gamepad events don't happen too often in menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:47:38 +00:00
auria
acab33bc67 trying to make gamepad-GUI navigation work even when axes are pushed in the negative direction
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:36:57 +00:00
auria
b5f7ac87ce improved path flexibility in graphics files (can now access textures from data/textures too, will be useful in help to show weapons icons, etc.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:33:37 +00:00
auria
b43fefd68c added missing include
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:21:35 +00:00
auria
89f5994028 attempt at fixing crash when navigating menus with gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:15:34 +00:00
auria
89675045f1 fixed compiler warning + removed unused variable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:12:38 +00:00
auria
ef9206b569 attempt at menu navigation from gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:06:12 +00:00
auria
59ba8f1e44 fixed bug in menus when hitting escape to go back to the previous menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 18:59:42 +00:00
auria
325fe78fae removed unused option
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 17:33:20 +00:00
hikerstk
4418ac0bf8 Added support for alpha blending.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 03:12:12 +00:00
auria
054b656701 the difficulty setting in the race setup menu is now taken into consideration
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-02 00:30:09 +00:00
auria
199baee176 yet more cleanup in menu callbacks (now the code should be much less messy)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-02 00:09:55 +00:00
auria
017e004985 more cleanup in menu callbacks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-02 00:03:15 +00:00
auria
bc6caced03 much clean-up in menu event callbacks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 23:46:30 +00:00
auria
b2202d0a0f refined the option menu's skeleton
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 20:37:34 +00:00
auria
1bd89aa969 starting to introduce options menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 19:48:42 +00:00
mbjornstk
91c3b49eec Experiments in kart drifting and stopping, please test to decide.
Added penalization to drifting, so it reduces engine power and players
stop abusing it (AIs would need the same limit).
Added logic to engange full brakes so the kart can be stopped if there
is no power applied and the speed is low.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 18:02:07 +00:00
hikerstk
aca8bb39c7 Renaved MovingPhysics to PhysicalObject.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 01:30:10 +00:00
hikerstk
30de5e36f8 Removed callback manager, callbacks are not needed the way they were
with plib, and the track is now updating its animated textures and
physical objects.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 00:55:20 +00:00
hikerstk
0681523762 Fixed crash (assertion failure in btAcos).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 00:44:47 +00:00
hikerstk
4ccd7662ef 1) Added support for animated textures.
2) Removed static_ssg source files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 23:45:20 +00:00
auria
6da2c08e99 removed a few debug prints now that it works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 21:04:44 +00:00
auria
71f99430c1 more attempts at fixing gamepad buttons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 20:49:51 +00:00
auria
721348c2ce added debug check to help minibjorn find the cause of his issues with gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 20:42:32 +00:00
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
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
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
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
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
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
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
hikerstk
c3ad0b9bed Most attachments (except tinytux, and therefore rescue general) work now.
More code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 05:27:28 +00:00
hikerstk
f5d9330e77 Hide details about ambient light in irr_driver.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 01:45:49 +00:00
hikerstk
41020d56ac Fixed lighting issues by adding ambient lights, and cleaned up more code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 01:23:23 +00:00
auria
e3fdeaaa8c GUI will now react to user input (though menu navigation is not yet in so even though you can see it got the click nothing will happen)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-15 19:26:12 +00:00
hikerstk
e158423562 Updated VS project file, and fixed several compilation problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-15 13:22:28 +00:00
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
auria
c3f168bd3d fixed input, which wwas broken when introducing GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-14 22:35:00 +00:00
auria
61a26d9d44 removed debug code that should not have gone in
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-14 00:27:21 +00:00
auria
031b4b4a81 removed debug code that should not have gone in
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-14 00:26:18 +00:00
auria
f69086893e i think i broke game input in my previous commit. i'm trying to limit the damage here... don't think i got it right yet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-14 00:21:40 +00:00
auria
4acc6fc7c8 first introduction of new GUI code. It does *not* work, consider this a backup (and the removal of the old UI)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-13 13:50:24 +00:00
hikerstk
4a85118dbd Removed many warnings, mostly caused by texture that were not found.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-13 08:32:19 +00:00
hikerstk
ac00d6e1ea Avoid crash if model is missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-13 01:26:13 +00:00
hikerstk
921d9a34d5 Added more textures (by putting them for now in the same directory as the
model), fixed detection of terrain (e.g. triggering rescue when trying to
drive on water).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 23:35:15 +00:00
auria
ef3f73ad0b updated xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 15:59:29 +00:00
hikerstk
282c849af2 Made the time being displayed in white.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 05:24:11 +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
01a9f73b54 Started adding powerup functionality to irrlicht port.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 00:57:00 +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
hikerstk
2a242973b1 Configuration and highscore files on windows are now stored in
$APPDATA/supertuxkart (instead of .). This avoids problems with
losing configuration and highscores when uninstalling the game
(e.g. while installing a newer version).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-11 02:08:35 +00:00
auria
0c725aa9fe updated STK build system to work with irrlicht on mac. nothing should be broken on other systems hopefully
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-05 21:05:26 +00:00
hikerstk
ebb7c0b4e8 Updated makefile to support irrlicht (should have been part of commit
r3210).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-05 04:32:45 +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
7dfda9e304 Minor bugfixes for linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 01:32:09 +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
253f495021 Irrlicht only: added support for height computation for items
(and other models loaded for a track), items now do rotate
and can be collected (though no icons are displayed yet,
nor do attachments work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-25 13:14:27 +00:00
auria
a9b0a695d4 updated Xcode project for irrLicht + fixed compilation warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-24 00:03:38 +00:00
hikerstk
b674f3dbc2 Applied MiniBjorn 'more random explosion' patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3192 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-22 23:39:59 +00:00
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
hikerstk
340fc18548 1) Applied Jonan's patch to fix the layout for many files.
2) Moved STK specific extensions to bullet out of
   bullet src tree.
3) Started to move more files into separate subdirs.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-22 12:02:40 +00:00
hikerstk
7f84a7f0a9 Removed rotating kart when a group is selected (r3016).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-21 01:40:29 +00:00
hikerstk
e6ff1e8e52 Added a challenge for the Gnu kart, put it in a new
group ('special'). Additionally, groups are now only
shown if there is at least one (unlocked) kart in it,
so it becomes only visible after unlocking the Gnu
kart. Putting it in its own group means the AI will
not use this kart (see r3014 on 0.6 branch).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3015 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-21 01:13:15 +00:00
hikerstk
219c28dba6 Updated comment and made maths slightly more efficient.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3013 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-21 00:45:08 +00:00
hikerstk
3db2b9cab0 Cosmetic change only (so that the file is consistent with 0.6 branch, see
r3002, which was already included here in r3001).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3003 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 13:59:36 +00:00
hikerstk
7e02093329 Added new 'has-skidmarks' property which defaults to true.
If it is set to false, the kart will have neither skid marks
nor skiddinf sfx. Currently used for the gnu kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 13:51:08 +00:00
hikerstk
e84d24b02d Enabled <esc> key in race result gui (to return to the
main menu).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 13:24:46 +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
hikerstk
389454181c Changed the default settings for player 1 to be easier accessible,
and disabled the defaults for player 3 and 4 (to avoid issues
with not saving the settings correctly if the same key is used
more than once).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 02:46:37 +00:00
hikerstk
c7da51ec46 Made faster music optional (default is not to use faster music at all).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-19 03:48:01 +00:00
hikerstk
c0f4e4555a Improved splitscreen camera settings (thanks to Minibjorn).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-19 02:40:50 +00:00
hikerstk
ef49250a11 Bugfix: the target energy indicator in challenges in which nitro must
be collected didn't work.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-18 23:45:32 +00:00
hikerstk
d68ac2b8ac Fixed memory leak, adjusted camera angle for split screen (which
showed the kart in the middle of the screen, not in the lower).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-18 23:38:24 +00:00
hikerstk
8fa70e44c7 Fixed Lap display for split screen (it was too big, the letters and numbers
would run into each other and into the time display of the characters).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-18 03:27:44 +00:00
hikerstk
9b32ce8d99 Added version numbers to tracks and karts (which helps
not to load older tracks and kart, e.g. if STK is
installed on top of an existing older STK installation).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 11:13:55 +00:00
hikerstk
8ab51b0c72 Removed shadow when kart is rescued, too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 01:01:27 +00:00
hikerstk
a370685685 Added files missing from previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 00:41:42 +00:00
auria
aa76b77583 enabled GLUT in Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 00:37:45 +00:00
hikerstk
165c196ef2 Removed shadows when the kart is not on the ground (work around
for the problem that shadows are glued under the kart, even if
the kart is in the air).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 00:37:31 +00:00
hikerstk
d2e45864b0 1) If the bowling ball is too slow (i.e. stuck somewhere), make it explode.
2) If a ball has exactly speed zero, correctly set dummy speed vector. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 00:12:46 +00:00
hikerstk
c0ed7a5737 Fixed balls starting to vibrate on the spot.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 23:53:47 +00:00
hikerstk
2287757c6e Made STK more robust in case that the name of a track requested on the
command line does not exist. It now aborts with a useful error message
in this case.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2934 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 23:05:50 +00:00
hikerstk
b0dcfcb0a6 Avoid crash if the music file does not exist.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 23:02:23 +00:00
hikerstk
d0f713e03d Added code to simplify finding good final positions for the camera
(though it involves setting a breakpoint etc, so it's only for
developers).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 22:36:42 +00:00
hikerstk
f861652587 Bugfix: a crash could occur if the owner of a plunger is rescued while the
plunger is still flying.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 12:54:00 +00:00
hikerstk
31da6b69e0 Some minor improvements to the position of the rotation kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2928 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 12:39:08 +00:00
hikerstk
1832402961 Updates to make glut optional in VS (though it is defined in the
project files and needs to be removed manually to disable glut).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 04:30:34 +00:00
hikerstk
0b5bee042e Made glut optional (if it's installed it is used and optional
bullet debug via the --bullet-debug command line option can be used, 
otherwise this command line option is not available).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 04:08:41 +00:00
hikerstk
d9db33a3a0 Don't use 'final camera' in FTL mode (since karts will usually
not be near the finish line when the race is over)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 00:50:39 +00:00
hikerstk
b41bd96125 1) Fixed 'wild rotation' on sand (which was only a graphical effect, it
didn't really happen in reality)
2) Applied Minibjorn's patch to allow more violent explosions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 23:36:30 +00:00
auria
e31386966a play anvil/parachute sound effects on human players (so you can hear the sound when throwing one)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 23:20:48 +00:00
auria
419dcd0774 reduced plunger-in-face time after feedback + add svn-ignore property to Xcode-generated files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 22:15:57 +00:00
auria
6b8aa4ab7b removed unused sound (which BTW had obscure license), and tweaked some volumes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 21:37:47 +00:00
hikerstk
e9ceca6ec0 Made the time for the camera to move to the final
position configurable in stk_config and increased this
value from 1.0 sec to 1.5 sec.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2907 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 11:44:33 +00:00
hikerstk
4d81e7ba00 Bugfix: uninitialised variable (thanks to valgrind).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 00:27:46 +00:00
hikerstk
fbae0505ff AI is now trying actively to pass on a bomb to a kart
ahead of it.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 13:32:44 +00:00
hikerstk
b21d98e5ea Bugfix: a crash would happen if a kart that is eliminated
had a plunger flying around.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 03:25:19 +00:00
hikerstk
6773718dbd Going from one driveline sector to the next is now never
considered to be a shortcut (in case that some new track
has a secgtor length of more than 90).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 03:00:15 +00:00
hikerstk
514619fd69 Removed some compiler warning - thanks to Jonan for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 01:07:12 +00:00
hikerstk
2c0a135d94 Improved shortcut handling:
1) on road/off road is now detected with a certain tolerance
   to the drivelines (currently 15%), i.e. the drivelines are
   made 15% wider.
2) Skipped segments distance was shortened to 50m (since it
   should be used less with the above higher tolerance, and
   it caused problems with shortcut not being detected.
3) The new drivelines with tolerance can be seen with --track-debug=4
   (--track-debug=2 shows the original drivelines)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 00:16:09 +00:00
hikerstk
bddf82e272 Bugfix: moving physical objects (i.e. road cone) could be in
a deactivated state when restarting (which means they could be
hovering in mid-air).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 12:32:14 +00:00
hikerstk
d1eea398a1 Added support (incl. gui) to change the menu background
pictures.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 12:29:31 +00:00
hikerstk
cc79071ae0 Removed rectangle from (non-selectable) challenge
description field.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2887 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 12:17:43 +00:00
hikerstk
7787fc21b1 Remember the last selected difficulty, #laps and #karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 09:05:03 +00:00
hikerstk
0a74a453bc 1) Bugfix: if a zipper was used at very low speed, the karts
would jump or move into an unexpected direction.
2) AI karts now uses some random-ness when to use the
   zipper at the start of a race. This make it look
   less 'in synch'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 01:28:55 +00:00
auria
e44ac903d3 added support for by-menu bg pictures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 00:49:25 +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
5d474582f1 new title screen by tobsi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 20:32:54 +00:00
hikerstk
626878ce9b 1) AI can now shoot balls and plungers backwards.
2) Save nitro when speed is already high.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2872 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 12:01:36 +00:00
hikerstk
54cafb7f25 Added look_back as a kart control, which means that the AI
karts can (though atm don't yet) fire backwards.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 04:58:24 +00:00
hikerstk
152fb363dd 1) AI will now use items a bit more aggressively (i.e. before
they would only use an item after a collision, now they
   will fire when the kart ahead is close enough.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 23:29:31 +00:00
hikerstk
634b6044ae Enabled anvil for FTL races again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 23:25:19 +00:00
hikerstk
eae3653470 The first kart to use in profiling can now be set on the command line.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 23:19:50 +00:00
auria
d974cf80f7 updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 21:22:31 +00:00
auria
c30665dc61 fixed crash when finishing FTL GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 21:22:05 +00:00
hikerstk
fa4bdf8850 Bugfix: some karts would on some tracks not skid - caused by
rounding problems (evil tux on the old race track for example).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 13:24:32 +00:00
hikerstk
3ca8f80253 Bugfix: used wrong constant for attached parachute.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 04:03:12 +00:00
hikerstk
050785e37e Bugfix: Parachutes attached as a result of usage of the parachute item
by another kart could not be detached by slowing down.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 02:01:57 +00:00
hikerstk
d68203c6cd Bugfix: sometimes a raycast to determine the material a kart is on
would actually hit a kart (which could then cause the camera to
jump since it gets an incorrect normal).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 00:12:41 +00:00
hikerstk
eb57425538 Made the AI use zipper instead of nitro (if available).
Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 00:04:20 +00:00
hikerstk
de10712c19 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-07 01:32:49 +00:00
hikerstk
b643cfd599 Bugfix: incorrect track name or GP in a challenge will not cause a crash
when trying to use to do the challenge, instead STK will abort with an
error message indicating the problem at startup (see bug 2316973).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2851 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-07 00:54:20 +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
6db1a0c9ce Adjusted the driver icon size and position in game so that they
don't overlap with the mini map anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 13:29:48 +00:00
hikerstk
7490d1878f Made icons a bit more square.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 13:12:32 +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
28effae153 Bugfix: releasing skidding was frame rate dependent.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 12:45:51 +00:00
hikerstk
cf264418c7 Applied Minibjorn patch to prevent skidding when going straight and
charging of skids.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 03:44:03 +00:00
hikerstk
ac3d18c004 Some tuning to slow down.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 02:39:30 +00:00
hikerstk
77dedf6cbf Bugfix: missing initialisation of variables.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2841 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 00:36:56 +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
hikerstk
1419948f02 Removed debug setting.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 23:17:00 +00:00
hikerstk
3b7f2a878d Initial support for terrain dependent slow downs (at the moment
only set for grass, sand, sandgrass textures).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 22:55:25 +00:00
hikerstk
2d48b0e1c2 Cleaned up some unnecessary includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 22:51:02 +00:00
hikerstk
f602999114 Fixed some compiler warning, simplified code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 04:56:54 +00:00
hikerstk
e7bba5bdd2 Bugfix: the command for steering left on a gamepad could not
be changed anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 01:12:59 +00:00
hikerstk
161605ceb0 Bugfix: in OMC when driving backwards at start, and then drive towards the
small gap between the book and the wall (to the right), an invalid
driveline index would be accessed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 00:36:40 +00:00
auria
1f38f1afb2 removed debug command that hsouldn't have been committed (yes, agin...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 00:19:01 +00:00
auria
566260b3c0 attempt at fixing bug of breaking not removing parachute (unlikely to be this though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 00:04:03 +00:00
auria
d1dd588c79 fixed compilation problem with gcc
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-04 23:38:21 +00:00
hikerstk
0556858147 User configuration now stores the last used input configuration for each
device (i.e. for gamepad one mapping of gamepad axis/buttons to kart
controls). When changing the player conntrol option for 'left', the
last corresponding input configuration is loaded. This allows for example
to switch from keyboard to gamepad and back with one keystroke (in each
case).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-04 23:03:37 +00:00
auria
bccfdf4eec patch by MiniBjorn to rotate wheels like they're skidding when kart is skidding
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-04 01:14:59 +00:00
auria
7eed13d7cd updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-03 00:24:05 +00:00
hikerstk
373e3244f5 1) If a gamepad is configured and the axis is selected for the first time,
the corresponding steering direction is set automatically
   (e.g.: you have keyboard configured, then select axis 0 - for left,
   the gui will then automatically select axis 0 + for right).
2) Made user_config more const correct (and used more references instead
   of objects)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-02 22:26:01 +00:00
hikerstk
ed768932fa Update for latest build environment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-02 22:20:42 +00:00
hikerstk
a0b3e358ed Applied SciYann's build system improvement.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-02 19:34:38 +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
d7e541a1a0 Fixed minor compilation warnings on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:36:23 +00:00
hikerstk
8eaeebd1e3 1) When selecting player input options, the axis that is
furthest moved is now chosen (and not a random one
   depending on sdl). 
2) For steering, axis controls are now 'preferred', while
   for all other controls buttons are preferred. This is
   important for certain gamepads that have 'analogue
   buttons' (e.g. buttons that can be partly pressed) and
   that deliver two events (one analogue and one digital)
   when pressed. See thread 'Not sure if this is a bug exactly.'
   in the forum for details.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:06:55 +00:00
hikerstk
092aa75686 Removed VS compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 23:35:28 +00:00
hikerstk
43042a63a9 Bugfix: my previous commit to sdldrv made it impossible to
select a joystick axis in the option menu. Instead applied
patch by samjam (forum) which fixes the original issue.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 10:22:34 +00:00
auria
e39dd53795 fixed sound when hitting a puddle of bubblegum
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 01:07:22 +00:00
auria
737738c855 restored braking sound. as a result, skid sound will play even if you go straight (les simportant than braking sound IMO)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 01:01:56 +00:00
auria
a8132ae245 added FIXMEs in cake (reasons why it sometimes doesn't aim well)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 00:36:38 +00:00
auria
0e8b10a2d7 cleaned up code documentation to be clearer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 21:20:05 +00:00
auria
2c2f8d0ebc removed FIXME that wasn't relevant anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 20:59:19 +00:00
auria
56ea83e9ee documented previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 20:46:51 +00:00
auria
6d2292f3c7 possibly fixed aiming issues when throwing plunger backwards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 20:44:36 +00:00
hikerstk
488e5a4aab Added some documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 08:16:38 +00:00
hikerstk
6e69ed3390 Bugfix: under certain conditions a gamepad could appear to
be locked, i.e. it would steer to the left or right while
the joystick is in 'neutral' position.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 08:12:24 +00:00
auria
586a4a3a84 code cleanup in new suspension damping
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-28 20:17:34 +00:00
hikerstk
b1698e2cc5 The keyboard sequence: press accel, press brake, release
brake now results in the kart still accelerating (and 
similar sequences work as expected, too).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-28 19:53:27 +00:00
hikerstk
0749b37e80 Bugfix: the control sequence: press accel, press brake,
release brake (while the speed is still >0) would result
in the kart accelerating with reduced power since the bullet
brakes were stills set.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-28 19:29:08 +00:00
auria
c32741b11a attempt at making suspension look better - made the view quadratic instead of linear (shows small moves more, big ones less), reduced amplitude to look less weird. (sorry hiker, my implementation may need to be reviewed :) The effect varies much from kart to kart, for instance on karts like hexley the effect is much more visible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-27 01:01:28 +00:00
auria
94c99349ea in battle mode, disable pull-back and akways use block-view, since opullign back does'nt make sense in a battle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:57:48 +00:00
auria
4ff60bff67 attempt at changing AI behaviour when has a plunger in the face
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:48:56 +00:00
auria
dad1ce5592 attempt at changing AI behaviour when has a plunger in the face
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:32:00 +00:00
auria
6bc1fd5311 moved harcoded constant to config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:26:15 +00:00
auria
c008108f68 moved harcoded constant to config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:23:27 +00:00
auria
943fa76519 added backwards aiming for plunger
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:11:08 +00:00
auria
fe49e9f8cf 1) remove plunger model when it hits a kart (backwards) 2) tweaked duration of plunger blocking view to be less of a punition
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:54:23 +00:00
auria
c403bc0037 reverted debug code that shouldn't have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:49:21 +00:00
auria
4a032ca32e plunger now blocks view as planned when thrown backwards; no aiming yet though
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:45:56 +00:00
auria
eb85dd1c8b reverted debug code that shouldn't have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2786 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:14:26 +00:00
auria
16beb446c3 made it possible to add a big plunger blocking a player's view (does not yet work with plunger, to be completed)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2785 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:12:57 +00:00
hikerstk
77914fcf05 Made the skidding frame rate independent.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:05:41 +00:00
auria
a74923349a rubber band detaching committed previously should only happen when attached to track, not karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:48:12 +00:00
auria
78bff749b9 detach rubber band if kart gets very close to hit point
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:43:54 +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
auria
aaf3b8bfd8 improved plunger : 1) gave it actual aiming 2) made it move up/down a bit to follow ground
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:32:52 +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
928f59d596 tweaked cakes to hit better with new physics
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 16:44:41 +00:00
auria
2cc926b381 last lap-coutning-with-rescue bug should be fixed now...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 19:07:56 +00:00
auria
f489ae57cd fixed rescuing bugs with lap count (free laps or missing laps) hopefully for good this time. Instead of the previous weak implementation, which substracted laps, this time I just keep a variable of the lap number when the kart was last on a valid sector. Then on rescue I just set back this number of laps - I can't think of any way to trick this system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:49:34 +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
auria
18262806d5 made end-of-screen results GUI human-readable in Grands Prix (before it was just a bunch of numbers, some of which didn't make sense to show) first part of this comnmit accidentally committed in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:16:49 +00:00
auria
a2fe608ef7 slightly refactored GP ending, so the final rank is only calculated once.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 17:59:41 +00:00
auria
6f358f52d6 fixed Gp challenges only checking last race results (hackish)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 03:33:57 +00:00
auria
727079c330 fixed inner-name used instead of player-name when GP challenge is unlocked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-24 16:40:09 +00:00
auria
3fb5ac5a98 tweaked text shadow to enhance readabilty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-23 18:24:34 +00:00
auria
dfc2545b4c fixed warning message with new menu layout
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-23 18:23:17 +00:00
hikerstk
7b449f9188 Fixed typo in gamepad debug output (see r2758 on 0.6rc1 branch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 13:01:18 +00:00
hikerstk
b6e05d7067 Minor bugfix: enet release version would not compile (see r2756 on 0.6rc1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 13:00:17 +00:00
hikerstk
165a8e0081 Fixed several typos in Makefile.am (which prevented make dist-bzip2 from working).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 05:30:04 +00:00
hikerstk
95054dbd52 Added command line option to activate some gamepad debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 01:49:05 +00:00
hikerstk
b9571a41f0 Bugfix: it was possible to take a shortcut and in the process of being
rescued get a lap counted incorrectly, see bug 2453274 for details.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 00:33:25 +00:00
hikerstk
2e0c4f7738 Fixed 'wrong way' message (which wasn't working at all
anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 00:21:43 +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
039eb6733d Minor refactoring.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-21 07:43:41 +00:00
auria
2332f1fcc4 camera tweaks by MiniBjorn
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-21 01:18:35 +00:00
auria
7ab8087a5d fixed bug with modulo not working on negative numbers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 20:38:15 +00:00
auria
3f3c0a8c5f forgot file in last commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 00:56:47 +00:00
hikerstk
9db135e9a5 Simplified computations of kart id.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 00:37:45 +00:00