Commit Graph

1797 Commits

Author SHA1 Message Date
auria
c08e0eaf0a Spinners can now contain text + the number; used it for the number of laps selector
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 18:17:11 +00:00
auria
c8e7c5b92b Cleaned up widget code so type is automatically determined and does not need to be manually set
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 18:06:04 +00:00
auria
43ec7af757 Removing a player now triggers a confirmation dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 17:52:13 +00:00
auria
1f2f028104 Improved player info dialog, with a cancel button, and by putting the delete button apart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 17:24:44 +00:00
auria
55a282c829 fixed compiler warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 17:17:10 +00:00
hikerstk
ec86727813 Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 03:54:33 +00:00
hikerstk
fbec6365c3 Added support for exporting physical objects.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 03:49:45 +00:00
auria
6b58198830 Improved Release target of Xcode to build application bundle with data cleanly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 01:44:55 +00:00
hikerstk
88600d7d2e 1) Animations can now be bullet rigid bodies, which means collisions are
possible.
2) The track exporter supports now exporting a single animation model only even
   if the model is used in several animations.
3) Changed the rad to/from degree macros to be uses as multiplication factors,
   i.e. RAD_TO_DEGREE*x instead if RAD_TO_DEGREE(x). This allows more compact
   code if vectors are convered (RAD_TO_DEGREE*vec3  instead of three separate
   macro invocations, once for each component)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 00:51:31 +00:00
hikerstk
853bd9a0d3 Added some ambient light for windows only, since otherwise the
tracks are just too dark. Reason for this is not known, it looks
fine on Macs without this call.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-02 23:59:39 +00:00
auria
3d68830c60 Updated Xcode project so that executing STK will work out-of-the-box without needing to give data path to executable manually
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-02 01:47:01 +00:00
hikerstk
da030d923d Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-01 12:05:24 +00:00
hikerstk
d9e90576c7 Added support for bezier interpolation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-01 12:04:26 +00:00
hikerstk
d1807bf4c4 More animation support (still not complete) - animated objects in
blender will now be exported with local coordinates, and the
right location is exported in the .scene file and used in STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-01 02:14:30 +00:00
auria
f4c08a75bf updated Xcode project with new files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-01 01:40:56 +00:00
hikerstk
6cefc34b31 More work on animations (still work in progress)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-30 12:51:38 +00:00
auria
d9f3a197cc Fixed compiler warnings (and potential memory issues)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-29 23:56:26 +00:00
auria
fc52b751b6 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-29 23:54:37 +00:00
hikerstk
e6fb0c9231 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-29 03:38:48 +00:00
auria
555a6cb8e8 Implemented FPS display. Limited FPS in menus where it's really not necessary to push the graphics card hard
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-29 01:40:15 +00:00
auria
ac66e015c9 Removed much useless calculations (done over and over on every frame) from skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-29 01:09:03 +00:00
auria
ade547bd2e Removed a little unneeded overhead in skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-29 00:32:09 +00:00
auria
9ccd391906 Improved input sensing for gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-29 00:06:37 +00:00
auria
b8f2ef6c16 Some cleanup in input sensing code + fixed a totally stupid bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 23:24:58 +00:00
auria
d2f3e9d70c Improved keyboard navigation within lists somewhat (it's still wrong when going up, but i have no idea how to avoid this problem without rewriting the list control)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 21:03:53 +00:00
auria
47224bd947 Improved keyboard navigation within lists somewhat
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 20:52:10 +00:00
auria
94c1addf3f Fixed broken 'new player' dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 20:49:47 +00:00
auria
23192bfe21 Allowed deleting players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 20:46:20 +00:00
auria
fc826538f6 Allowed renaming players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 20:39:05 +00:00
auria
ec8a77041d Small improvements to 'enter player' dialog code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 20:22:49 +00:00
auria
33899210b2 Implemented 'press esc to cancel' buttons in some modal dialogs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 20:07:06 +00:00
auria
aba5e61935 Fixed some absolute paths in Xcode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 13:26:24 +00:00
auria
186e4515b6 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-27 15:29:51 +00:00
hikerstk
fadb3692f8 Added files missing in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-26 23:56:37 +00:00
hikerstk
c14ffd586e Added framework for animation (doesn't do anything atm).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-26 03:21:22 +00:00
auria
7a2e67505f Tux now has wheels in the kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3655 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-26 01:19:57 +00:00
auria
708b65b0af Fixed pressing escape in-game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-26 00:40:18 +00:00
auria
5b5d4f3ee9 Updated Xcode project + updated translation code to work with libintl framework on mac
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-26 00:07:56 +00:00
auria
1914a06d55 improved in-game shading (used values that make more sense)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-25 01:50:16 +00:00
auria
b52d4e0dc8 improved in-game shading (some fine-tuning will be required for it to look good. consider this an initial implementation)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-25 01:44:32 +00:00
auria
ec590c76b8 Gave some light to kart preview (not smooth yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-25 00:50:58 +00:00
auria
e7433c50dd Improved the kart model view
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-24 23:01:45 +00:00
auria
9646c029f7 Worked around a irrLicht bug that caused a crash upon entering a new player
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-24 18:59:01 +00:00
auria
5c57b19a0a Improved text box widget implementation. Main consequence is that keyboard naviagtion is now possible in player info dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-24 18:18:20 +00:00
auria
cf85ff876d Player dialog is now shown when pressing enter/double-clicking on a player in the list. Fixed dismissing dialogs with escape.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-24 17:53:22 +00:00
auria
604c7adeea Widgets in modal dialogs can now be skinned
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-24 16:09:59 +00:00
hikerstk
238b401cc2 Added initial support for bezier curves to be exported from blender
and imported into stk (though they are not used for anything atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-24 01:27:05 +00:00
auria
09ce7366c8 Added saving challenges to config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-23 01:44:49 +00:00
auria
d2cd16910a Fixed bug with config file when switching resolution
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-23 00:46:13 +00:00
mbjornstk
516fb47751 Some clean up documentation strings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 22:34:42 +00:00
hikerstk
2dd3153a87 Fixed some compiler warnings (turned track-debug back into an int since
it will be used in future to switch on/off different options at runtime).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 02:00:36 +00:00
hikerstk
0b96e842fe Updared VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 01:54:48 +00:00
auria
bd48fc0b8e protection against bogus config files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 01:45:56 +00:00
mbjornstk
7f709e4abb Rearrange modal dialog files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 01:32:19 +00:00
auria
30b2f8472e Fixed old LISP config file crashing STK.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 00:31:46 +00:00
auria
28503654ad Started implementing track-screen pop-up
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 20:00:39 +00:00
auria
a1c3cc54f9 fixed makefiles (@Hiker: still don't want to use globbing? :P )
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 19:39:21 +00:00
auria
36bfc5e7fe The player list can now be extended in Options, and is saved to file and loaded too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 18:55:12 +00:00
auria
2e22e1c58a improved XML generation for user config (noew contains all comments)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 17:13:54 +00:00
auria
b15cd04c5f Further improved XML generation for user config + prepared infrastructure for saving challenges/players (groups)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 16:15:27 +00:00
auria
6f2f918590 improved XML generation for user config
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 15:44:02 +00:00
auria
7624194dd5 saving/loading to/from user config file should now work (in XML)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 01:44:11 +00:00
auria
2f6b05bace started converting user config to XML. Implementation is not 100% complete yet; saving works, not lodading. Implementation is not the prettiest but designed for minimal maintenance.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 01:10:43 +00:00
auria
c06dd7cbe2 initial support for the 'enter a new player' dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3623 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-20 01:05:10 +00:00
auria
7f925012a6 fixed text in modal dialog moving when you clicked it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-20 00:42:13 +00:00
auria
bfa5b18f24 misc cleanup (especially in modal dialogs)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-20 00:28:25 +00:00
mbjornstk
72ef6843ad Experiment just to show what ambient and a light can do.
It should help figure what objects need fixing, what ambient range is useful
or what mood we can get (redish ambient for lava tracks, etc).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-19 18:38:26 +00:00
hikerstk
8161ee32cc 1) Removed ambient light.
2) Made all items 'not lighted' since they appear (without ambient lighting) very
   blocky.
3) Renamed 'isCollected' to collected (since isCollected sounds more like a boolean
   function returning if an item is collected or not).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-19 00:02:17 +00:00
hikerstk
f6c37bd837 Minor changes and code cleanup (still no fading/transparency).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-18 23:54:46 +00:00
hikerstk
7bb91862ff First version of skid marks (though the skid marks are not yet
transparent, nor do they fade).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-18 05:36:52 +00:00
hikerstk
8130ab34af Bugfix: include of cstring was missing, resulting in strcmp not
defined on some platforms.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-18 02:13:00 +00:00
auria
35faf740ca working towards players list + added more control over widget positions when in sizers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-14 00:10:44 +00:00
auria
8af725a5ab Completed skin-file implementation + documented it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 19:37:43 +00:00
auria
6dd30317ae moved skin-specific files to a skins/skinname subdirectory, making it flexible and allowing for future modes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3611 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 19:05:41 +00:00
auria
1548e1f5b4 font color is now also specified in STK skin file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 18:17:44 +00:00
auria
dc26002e79 skin info is now mostly read from a config file, making it cleaner and opening the door for futur modding capabilities (continued)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 02:02:51 +00:00
auria
a1044011d3 skin info is now mostly read from a config file, making it cleaner and opening the door for futur modding capabilities
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 01:47:06 +00:00
hikerstk
ee90eca26e 1) Created new config subdir and moved the last remaining files into
appropriate subdirs (only main.cpp and main_loop.?pp are now directly
   in the src directory).
2) Cleaned up all #include directives, so that all files now use
   the right subdirectories.
3) Some minor code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 10:00:43 +00:00
hikerstk
2eceacbd70 1) Added new water splash effect (though it needs a proper texture, and
better tweaked parameters).
2) Water and smoke special effects can now be triggered depending on
   terrain (default is off for everything). For testing purposes the
   lighthouse track has smoke for sand, and water splashed for sea
   (i.e. it is currently possible to drive on the water ... for
   testing purposes only :)  )


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 05:57:46 +00:00
auria
807e0dd011 improved skinning of list control
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 01:00:42 +00:00
auria
cc184e2115 updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 00:06:22 +00:00
hikerstk
c0ab52bfb3 Simplified smoke system (to use only one particle system instead of two),
and improved the origin of the smoke to be the actual position of the
wheels (though this is sometimes still not 'correct' enough atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-10 13:04:30 +00:00
mbjornstk
2a99182969 Edited nitro PNG to be more circular and tweaked emision so it looks like
the kart is leaving a fire trail. Also made it fire even if stopped, so
driver sees nitro works (wasting it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-09 23:04:18 +00:00
auria
3e62911873 game mode selection screen now features a description of the mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-09 01:03:48 +00:00
auria
ef2d5b6229 Configuring gamepad from GUI should now work on Linux
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-07 23:04:18 +00:00
auria
63c6229fbc Fixed passing reolution on the command-line with -s. Improved command-line flags handling to not create a graphical context when none is required (like for --help or --version)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-07 15:20:51 +00:00
auria
b3a4e5b66b Fixed problem with race setup : kart amount would only be considered if you changed it, if you left the default value of 4 you'd be alone
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-05 01:03:46 +00:00
mbjornstk
3cc2aad628 Tuning of skid smoke. Particle is more transparent and has slight cyan shade.
More particles but smaller, with different life times. And trying to get them
to fade, but that is not working (trying to get them to become red as test,
final version should just fade transparency).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-04 20:16:38 +00:00
auria
bab247c3f0 updated Xcode project to be friendly with built-in SVN support (this is user-specific, so each user will need to configure the repository on their end. But at least all project settings are friendly to allow this.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-04 01:50:01 +00:00
auria
6ba50b831d tweaked material-specific slowdowns so that if you stop on e.g. sand, it's not hard to get out of there (before since acceleration was strongly cut at all times you could have trouble starting again if you stopped on sand)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-04 00:25:16 +00:00
auria
537a4613d6 updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-04 00:16:21 +00:00
mbjornstk
f964dc5723 Cloned original smoke code by hiker to create nitro particles so I can
test and tweak images if needed. xml was wrong but no obvious output in 
console so missing png was a real headache to figure. Tweaked drifting 
power loss (0.75 -> 0.5) and default brake power (100 -> 20).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-04 00:16:13 +00:00
mbjornstk
c5fbf40736 Experiments with smoke size and position.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 23:00:16 +00:00
hikerstk
9d407561dc Fixed compilation problem (missing function getKartWidth).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 13:41:02 +00:00
hikerstk
25b9d9643c Replaced all remaining HEADER_.*_H with HEADER_.*_HPP .
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 02:17:43 +00:00
hikerstk
590eab3315 Missed one file in previous commit - another wrong include fixed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 02:14:32 +00:00
hikerstk
64d72dabad Fixed incorrect include paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3583 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 02:12:37 +00:00
mbjornstk
f84a77cf59 Test with two smoke trails. Easily undoable (not mixed the right and left
parts yet, so erase _r part and mass replace s/_l//g). If this stays,
better find the common parts and mix the rest so any change is done for
both sides.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 01:49:57 +00:00
hikerstk
96805cfc71 Moved race related files into new subdir 'race'.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 01:36:48 +00:00
hikerstk
83a032a27e Mover user_pointer into subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 00:54:17 +00:00
auria
70a924c105 fixed warning (and potential problem)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 00:44:37 +00:00
hikerstk
9e6b1fb103 Removed unused file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3578 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 00:42:21 +00:00
hikerstk
e1b835cafd Fixed smoke system (minor issues: smoke comes from the middle of the kart,
not from the two wheels anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 00:39:20 +00:00
auria
d814a4b94d Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 00:21:33 +00:00
hikerstk
839ddc140f Removed unused file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3575 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:51:53 +00:00
hikerstk
075c9dbb86 Moved more files into appropriate subdirs, update build
system for VS (verified) and autoconf (not verified).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:37:29 +00:00
hikerstk
55c7bbe600 1) Explosions now work, though need a new texture and
better particle parameters.
2) Minor work on smoke particle system, not finished.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3573 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:06:35 +00:00
hikerstk
2b9d7a0b55 Cleaned up #includes, for debugging F1 triggers now also an explosion.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3572 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:01:27 +00:00
hikerstk
a93191dc49 1) Bugfix: exploding flyables could trigger a crash.
2) Moved explosion closer to ground.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3571 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 11:59:17 +00:00
hikerstk
d7a6494f5b Fixed VS compilation warnings/errors.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 11:56:48 +00:00
hikerstk
102a601192 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3569 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 11:51:26 +00:00
auria
7d8d053157 Kart amount can now be set from GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 01:06:05 +00:00
mbjornstk
ab41b6fa78 Fixed shadow (front was back) and lowered it (overlapped wheels too many
times). Probably it should made to follow the ground instead, maybe split
into 2*2 (or equivalent triangles, to have control over the edges) or 4*4
quads too, for better shape adaptability.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 20:35:55 +00:00
auria
a6460ee84c gamepads can now be configured! I cannot test if it works when you have mutliple gamepad models, people will need to help me here
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 02:04:14 +00:00
auria
54c2514148 fixed typo in code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 01:31:37 +00:00
auria
1f7ec5ae58 hopefully fixed Arthur's issue + more code work towards gamepad support
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 01:27:21 +00:00
auria
11703a68bd trying another potential fix for Arthur
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3562 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 00:46:54 +00:00
auria
72c4ac468a playing around a bit more with input. added debug prints to corner what's happening on Arthur's computer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3561 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 00:40:42 +00:00
auria
99ab952a5f fixed glitch in input config + cleaned up a bit the code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 23:45:51 +00:00
auria
4972f247be made some keyboard keys always usable in menus (like arrows) when bindings don't use them
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3559 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 20:54:59 +00:00
auria
1a47cc900f default value for 'rescue' is now 'backspace' rather than 'escape' since escape has a special meaning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3558 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 20:48:25 +00:00
auria
42b965a254 pressing 'escape' in input sensing mode will now behave as expected instead of crashing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 20:47:03 +00:00
auria
e066360e79 when settings keys in Options, focus will stay where it was, making it much less annoying to configure without mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 19:41:04 +00:00
auria
ff77ab2184 Can now configure keyboard bindings from Options screen (gamepad probably doesn't work)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 19:35:47 +00:00
auria
4601dfcc8a fixed left/right keys selecting kart/track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 19:02:53 +00:00
auria
dc84e15685 cleaned up old TuxKart crap left in input module (variables id0, id1, id2, whose meaning change from device to device... how brilliant)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 18:57:25 +00:00
auria
83a731500c started implementing input sensing in options. currently, detects keypresses and prints them to the console. No gamepad supprot yet, bindings are not actually changed yet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-30 01:41:09 +00:00
hikerstk
7926d5fe97 Added 'old style'/simplified shadows back in - to be used for lower
end hardware.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-29 15:45:27 +00:00
hikerstk
d6a325b879 Fixed 'disappearing' rubber bands.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-29 15:43:21 +00:00
hikerstk
6b1974c459 Fixed incorrect culling of debug track, some minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-29 15:42:00 +00:00
auria
21c5795deb endianness test is now done at runtime and not at compile time; this allows cross-compilation and makes some stuff quite easier (namely cross-building universal binaries on mac)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3548 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-29 00:55:43 +00:00
auria
f16339fc9f updated Xcode project (see ya in hell, plib\!) + fixed a couple warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-29 00:06:39 +00:00
hikerstk
9b38b69057 Renamed GUIEngine::free() to GUIEngine::cleanUp(), which allows
the usage of the VS memory debugger (which redefines free using a macro).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-28 03:15:43 +00:00
hikerstk
043c4c0671 Removed dependency on plib - hooorayyyy!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3545 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-28 02:29:09 +00:00
hikerstk
eac584b350 Removed warning about macro redefinition (incorrect order of includes).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3544 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-28 02:13:42 +00:00
hikerstk
59d5098ade 1) More support for quad graphs added. Now the AI should
be able to use shortcuts and loops (e.g. using the same quads
   more than once).
2) More AI simplifications, and adjustments to handle off road
   driving with the new quad graph structure.
3) Fixed bug in LinearWorld: last_valid_sector was not defined
   anymore, resulting in crashes when a kart was rescued.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-28 00:43:12 +00:00
hikerstk
62f5c82882 Removed VS warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-25 04:29:09 +00:00
hikerstk
cdb092ba05 Updates VS build environment (ssg_help.?pp were still listed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-25 03:51:11 +00:00
hikerstk
d14bbb5150 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3540 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 10:59:46 +00:00
hikerstk
b5d7d2b506 Improved handling of using the same quad more than once
(note: since esp. findOutOfRoadSector is not yet
converted to use the quad graph structure, bugs and
crashes can occur in some circumstances).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 10:58:45 +00:00
auria
1f362f88b0 fixed issue with ribbons when not using mouse + improved looks of input config screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 01:28:56 +00:00
auria
cc2c62e024 options screen will now show current binding
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 01:22:13 +00:00
mbjornstk
e9a136b556 Files to process are input.cpp and input.hpp, not input.hpp twice.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 01:06:22 +00:00
auria
7e45011c6e cleaned up options menu code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 00:52:31 +00:00
mbjornstk
2a7052de02 Fix compiling issue in Linux, definition of variables after case labels fail.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 23:43:26 +00:00
auria
becdbdf2f5 minor cleanup; removed some code from old input module that was left over and not used; replaced 'hello's in the GUI with a more appropriate empty label
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 23:04:57 +00:00
auria
4f2574818d dampened camera moving around. should make you feel less dizzy while not ebing as static as it used to be
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 01:45:50 +00:00
auria
a08a59cc17 Added 'back' buttons to option screens
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 01:28:14 +00:00
auria
e7fcea9c09 updated Xcode project again (\me should check it works before committing)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3530 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 01:04:50 +00:00
auria
a2ceac5f2f updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3529 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-23 01:03:04 +00:00
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