Commit Graph

2220 Commits

Author SHA1 Message Date
hikerstk
67091b1b4e Bugfix: dynamic_cast does not work if irrlicht is compiled without rtti (which it happens to be by
default with visual studio).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 03:21:13 +00:00
auria
c5afb804c3 Patch by StephenIRC to fix input when starting with -N
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 00:46:47 +00:00
hikerstk
1b6d075346 Lap counting is now done using checklines, old code for this removed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 00:44:55 +00:00
hikerstk
9d88f0c07a 1) Fixed several typos (self. missing in function calls before I added an object for
the exporter)
2) Bugfix: Checklines are now convverted to world coordinates.
3) Added 'main-driveline' type, and simplified driveline definition (e.g. it can have
   connecting vertices from the left to the right driveline, but it also works if they
   are not there).
4) Fixed support for old-style items defined using the name RHERRING, which can have a number
   attached to it, e.g. RHERRING.001.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 00:42:45 +00:00
hikerstk
7f5fccbeff Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-06 13:46:11 +00:00
hikerstk
8c1bba8abb Added initial support for checklines (though atm they don't do anything yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-06 13:35:33 +00:00
auria
18dc556fe6 Added functions to clean-up input after a game (though they're not called yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-04 20:09:49 +00:00
auria
a7abbf4c82 More work towards multiplayer (player 1 is now assigned an input device when pressing 'new game'). Cleanup when restarting game not implemented
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-04 20:00:18 +00:00
auria
1c256c7805 Refactored kart selection screen code to work towards multiplayer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-04 17:24:09 +00:00
auria
a3af7f63a9 Added forward to help compilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 22:57:21 +00:00
auria
1e6373f999 The list of players shown in the kart selection screen now comes directly from preferences
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 19:13:53 +00:00
auria
58cfaa27fa Implemented model preview for all karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-03 19:06:24 +00:00
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
0fffe4c97f Fixed typo (writing incorrect coordinate).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-01 12:03:08 +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
hikerstk
ab115262f1 Added support for exporting IPO based animations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3674 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-29 00:47:50 +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
a359f74ea4 Added label to players preferences to explain how to edit a player
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-28 21:08:19 +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