Commit Graph

2449 Commits

Author SHA1 Message Date
auria
dd95352fe2 Added file forgotten in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-12 00:34:40 +00:00
auria
a44b531525 Replaced usage of some confusing IDs with more explicit pointers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-12 00:18:37 +00:00
auria
d1c5c449f9 Improved sizing code + shriking effect in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 19:38:27 +00:00
auria
ab4787f884 Fixed in bug in the device manager that could cause crashes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 19:29:33 +00:00
auria
ab4cdcae00 A player can now remove himself by pressing rescue at the kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 19:24:42 +00:00
auria
0e890dc5cc Work on associating a player to its device in the kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 17:32:05 +00:00
auria
f987fff348 more work on multiplayer kart selection screen & multioplayer input
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 16:50:57 +00:00
auria
c92c33ccb8 more work on multiplayer kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 15:47:07 +00:00
auria
e088c97939 Fixed resizing spinners
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 15:34:30 +00:00
auria
71a2083819 Pressing fire on another devices in the kart selection screen will now cause new players to appear
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 15:20:18 +00:00
auria
d9cdb5415a removed old ugly unused code from ptr_vector [so hiker can't complain about it anymore ;)]
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 02:04:20 +00:00
auria
8eaef3f63b Better player detection. Still getting some problems with irrlicht widgets : they internally catch some events without asking me. For instance, in 'press fire to join', if player has 'fire' assiged to the spacebar, pressing the spacebar results in irrlicht pressing the currently button - not sure how to get around this.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 01:56:07 +00:00
auria
3c6ba08857 Fixed ambient light not present when starting race with -N
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 00:14:04 +00:00
hikerstk
54c3c08558 Bugfix: incorrect name in #ifdef.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-10 01:08:57 +00:00
hikerstk
2474e7a164 Fixed steering direction for animation, and made animation smoother
(i.e. when steering left and then start turning right, the animation
started only after the 'straight ahead' point was reached, now the
animation will start immediately).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-09 04:25:38 +00:00
hikerstk
0340a352fb Added Xapantu's kart exporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-09 03:22:12 +00:00
auria
d1e805ad78 dynamic casts are only used in debug builds
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-09 01:37:10 +00:00
auria
ae33627515 Added widget cast helper method to widget to accomodate windows not having RTTI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-09 01:29:23 +00:00
hikerstk
18f898f34e Added missing file from previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-09 01:13:01 +00:00
mbjornstk
d9d9cc13e8 Smooth bomb.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 23:27:32 +00:00
hikerstk
10f3541177 Bugfix: using char[128] for filenames is not long enough. Replaced with
std::string so there is no more length restriction.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 23:26:07 +00:00
mbjornstk
0e90316a99 Smooth box. Loop has correct reflection effect.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 23:17:22 +00:00
mbjornstk
3c50808965 Smooth tanks. Blue, cyan and green parts need something like EMT_SPHERE_MAP.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 23:09:00 +00:00
mbjornstk
412b1e9d58 Smooth cake.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 22:52:26 +00:00
mbjornstk
31fb2f971f Anchor is smooth too. Change naming a bit (but still some "anvils" around).
Bonus hack: temporarily using anchor as rescue model (avoids crashes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 22:40:54 +00:00
mbjornstk
c6c561c387 Smooth model (enable "Normals" in B3D export options).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 22:17:27 +00:00
hikerstk
f332c3a345 Moved timeToString into StringUtils.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 12:34:39 +00:00
hikerstk
e8c70f73af Finished support for lap counting using checklines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 12:33:22 +00:00
hikerstk
0f47c60042 Added support for VS heap check.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-08 12:32:25 +00:00
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