hikerstk
1033bfdf59
1) Only Track is now using the ItemManager.
...
2) Fixed several memory leaks in animation code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 11:12:26 +00:00
hikerstk
756335fc8b
Fixed incorrect scaling of mini map.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 10:58:42 +00:00
hikerstk
83e19ff817
Added a test version for slipsteam support. Note that besides
...
tweaking parameter (and potentially the implementation) there is
currently no graphical indication that you are slipstreaming,
or using a speed boost due to slipstreaming.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 04:58:37 +00:00
hikerstk
2b5a273b95
Renamed RaceManager::getKartName to getKartIdent, since this is was the function actually does :)
...
(prevents us printing the id instead of the name somewhere).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 04:53:51 +00:00
rforder
3c7e489698
Still tweaking kart selection menu input & menu input in general.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 01:48:15 +00:00
rforder
f3cab7c2b3
Cleaning up multi-player handling in the kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-12 19:04:01 +00:00
rforder
db1c53fa94
Moved the handling for the fire & rescue buttons in the kart selection menu out of the device manager & into the input manager (which makes more sense). No more setting the action to PA_FIRST to signify that it was handled internally (too hackish).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-12 18:19:02 +00:00
hikerstk
209d679a56
'Prepared' bugfix (for once we have a in-race menu):
...
if a player presses esc. after finishing a race in a
GP, but before the race is finished, rerunRace() will
reset the scores and times to the previous values -
but in case of karts who haven't finished the race
that was undefined.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-12 02:55:53 +00:00
hikerstk
bd2c6c27b5
Bugfix for 2354315
: items explode over void.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-12 00:14:51 +00:00
hikerstk
4439e7df49
Bugfix for 2804407: Playing challenges after split screen starts
...
the challenges in split screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-12 00:05:19 +00:00
auria
72c17d391b
Improvements to input actions handling in GUI, implemented selection of other game modes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-11 00:55:48 +00:00
rforder
2a23fa33a8
Fixed sticky joysticks... again.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 19:04:06 +00:00
rforder
abfda2b933
Input cleanup, only relays button events when the button state has actually changed. Won't issue multiple button events when the button
...
is only pressed once (doesn't unload arsenal when fire button is tapped, etc.).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 18:47:01 +00:00
rforder
aee48faca8
Updated input configuration GUI to work correctly with recent changes to the input system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 18:12:35 +00:00
rforder
3ef3c67213
Fix problem with DeviceConfig::getBindingAsString(), input config gui works again.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 17:05:41 +00:00
hikerstk
f1a46e6d38
Fixed rotation of physical objects (like road cones).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 05:54:33 +00:00
rforder
cf8e767f5c
more input code clean-up
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 04:12:04 +00:00
rforder
21fb622a6d
Broke down mapInputToPlayerAndAction() into several composite functions to increase readability & ease efforts to debug.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-07 17:31:14 +00:00
hikerstk
f7183492cf
Improved handling of physical objects (size computation and matching of physical
...
and graphical position now better) - rotations still need to be fixed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-07 06:21:39 +00:00
hikerstk
989220af7e
Replaces tabs with spaces.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-07 06:16:01 +00:00
hikerstk
5fb0903694
Updated VS project file for new files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-07 01:52:55 +00:00
rforder
1d681112af
Fixed sticky joystick bug that cropped up in the last commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-07 00:29:43 +00:00
rforder
f12463b4c9
Fixed temporarily broken keyboard support.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-06 20:13:22 +00:00
rforder
f3e3206b26
More cleanup for the input system. Removed a lot of functions from InputDevice that won't be used there anymore.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-06 19:05:26 +00:00
rforder
9ba0bd67d2
Added new DeviceConfig class (/config/device_config.cpp) for review. The DeviceConfig class will be responsibile for handling Gamepad and Keyboard configurations. It is now possible to share a single configuration between identical devices. Begun integration, still needs *a lot* of cleanup, but basically works.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-06 18:00:18 +00:00
hikerstk
671fde19cf
Some code cleanup.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-06 05:11:16 +00:00
hikerstk
6bed41add5
Bugfix: removed debug/test code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-05 12:58:08 +00:00
hikerstk
c64608eec7
Added fixes to STK to work with current irrlicht SVN. All changes
...
are in #ifdef IRR_SVN - and at this stage linking fails for atm unknown
reasons. No changes to irrlicht 1.5 compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-05 12:45:11 +00:00
rforder
d46558fff4
Moved m_animated_textures.clear(), m_all_nodes.clear(), & m_all_meshes.clear() *outside* of the respective for loops & removed the
...
redundant null pointer check for m_animated textures per Joerg's observations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-05 02:03:47 +00:00
hikerstk
fedb99fb34
Replaced several dynamic_cast with getIrrlichtElement
...
(which avoids dynamic_casts in non-debug mode and
on windows, where irrlicht as default is compiled without
RTTI information).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-04 23:56:54 +00:00
hikerstk
0b98a1eaea
Replaced dynamic_cast with irrlicht getType function (since
...
irrlicht on windows per default is not compiled with
RTTI).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-04 23:07:23 +00:00
rforder
c4bcec281f
Fixed the messy Track::cleanup function (correctly this time). No longer crashes when you re-play a track that you had previously played.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-04 21:31:44 +00:00
rforder
9f38ccb15b
================================================================================
...
Temporary fix for multicontroller problems. This fix will support multiple
controllers with the same name, but there will be one entry in the config file
for each controller. No longer creates multiple entries for each controller.
Need to correct a few other problems before this can truly be completed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-04 20:18:43 +00:00
hikerstk
2acfc48e3e
Updated animation rotations.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-04 13:05:13 +00:00
hikerstk
05567fea39
Removed HAVE_IRRLICHT
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-03 05:02:30 +00:00
auria
6b15d31d6b
Added much documentation and did some cleanup to GUI engine (hopefully if I'm hit by a meteorite, others will be able to continue working with the code)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-03 01:47:28 +00:00
auria
86e5f5c71d
Configuring gamepad input works again
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3801 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-03 00:29:20 +00:00
hikerstk
6f2eeae5a7
Code cleanup (removed HAVE_IRRLICHT, ...).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3800 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 23:42:03 +00:00
hikerstk
217ff4741a
Added support for the kart files to specify the shape of its symbol in the mini map.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 23:40:46 +00:00
hikerstk
f3bc93f69a
Fixed (at least some) incorrect rotations in 3d animations.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 23:35:35 +00:00
hikerstk
ece925bdcc
1) Removed wire-frame support (which didn't work anyway, and would need
...
a fair amount of work to get it to work with irrlicht).
2) Added ctrl-f11 support to switch from bullet debug view back to
track view (full toggling back and for is not supported yet and
ends up with a grey screen in bullet debug view).
3) Code cleanup (removed tabs, HAVE_IRRLICHT, ...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 23:34:22 +00:00
hikerstk
024e0d545e
Fixed bullet debug view, improved bullet debug camera to be always
...
behind the kart now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 23:18:10 +00:00
auria
45f030b4da
Simplified event handling model in GUI to be less obtuse and more predictable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 19:20:27 +00:00
auria
432b1598c3
Fixed AI kart count widgets to provide correct in game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 19:08:11 +00:00
auria
1653ae14d7
Fixed player identity not changeable by improving event handling in the GUI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 18:53:50 +00:00
auria
8623a4a49a
Fixed incorrect code (and warning)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 18:04:16 +00:00
auria
589a7c087e
Speeded up kart model rotation in menus due to popular request
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 18:03:58 +00:00
auria
70f74f7142
fixed crashes with command line arguments
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 17:56:59 +00:00
auria
aceea4b120
Controller patch by Bob Forder - thanks\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-31 23:50:40 +00:00
auria
4c3713789f
Can now choose which track to play into in the GUI + sow proper screenshots and track names
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-31 01:34:06 +00:00
hikerstk
a0102fcc0e
Fixed half-transparent icons in race gui.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3785 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-30 10:20:11 +00:00
hikerstk
89b2eea124
Added first version of track mini map to race gui.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-30 02:40:30 +00:00
auria
519dc6426d
Made Tux appear first in the kart choice and be selected by defult to be consistent with shown model
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-30 01:55:58 +00:00
auria
e252619e6b
Misc small improvements to player management and kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-30 01:29:57 +00:00
hikerstk
368604f379
Added speedometer.
...
NOTE: to use the speedometer, a patched version of irrlicht is needed. The replacement
files are included here, we hope that the necessary functions will be included in the
next irrlicht release (STK will still compile without a patched irrlicht version,
but not display the speedometer).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-27 11:56:09 +00:00
auria
987e230ca0
fixed running with both -N and --kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-21 01:43:24 +00:00
auria
d1b5f001cb
Fixed back warnings (don't remove them this time hiker ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-21 01:35:18 +00:00
hikerstk
d8b212aa44
1) Fixed render-to-texture bug (which resulted in black background instead of
...
transparent one for the kart selection screen and mini map).
2) Added very first version of minimap (scale is wrong, no kart display yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-20 12:35:34 +00:00
hikerstk
317c3ee707
Fixed VS compilation issues (hypotf is not supported for non-Itanium platforms,
...
and the corresponding Vec3 function makes it easier if in the future we decide
to change the orientation of the bullet coordinate system).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-20 04:07:54 +00:00
hikerstk
ba501eebdf
Fixed several VS compilation problems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-20 04:05:21 +00:00
hikerstk
eaae85de12
Updated VS project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-20 03:09:25 +00:00
auria
34abb79d40
Fixed wrong includes (why was I able to compile it and MiniBjorn too??? scary)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-19 19:50:20 +00:00
auria
77affd957f
Fixed wrong include (why was I able to compile it and MiniBjorn too??? scary)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-19 19:42:59 +00:00
auria
b63935ee83
How many files can I forget in a commit?
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-19 00:51:14 +00:00
auria
a193ed47e6
Added missing include (why did it work on my computer?)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-19 00:41:00 +00:00
auria
689cbe504c
Added missing include (why did it work on my computer?)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-19 00:38:30 +00:00
auria
4fcf2830a0
Fixed incorrect code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-19 00:33:58 +00:00
auria
f856a11031
Added forgotten file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-19 00:27:42 +00:00
auria
eb1af21524
Further mammoth cleanup in GUI engine : separated widgets in many smaller files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 19:04:45 +00:00
auria
7be81c67df
Added files forgotten in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 18:17:43 +00:00
auria
9016d02b7e
More mammoth cleanup in GUI code. Modal dialogs are now each is a separate file, and are in the now STK-specific paackage, not in the generic engine
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 18:13:42 +00:00
auria
85266dfe10
Started mammoth cleanup of GUI code. Separated the generic GUI engine and the STK-specific bits (still work to do on this side)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 17:48:36 +00:00
auria
b71d1c4557
cleanup in GUI module (moved event handling out of Screen)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 16:04:45 +00:00
auria
fbc3119dbc
Continued cleaning up references to Player & ActivePlayer and docs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 15:32:54 +00:00
auria
2c0a322b61
Started cleaning up references to Player to use ActivePlayer where relevant
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 15:21:16 +00:00
auria
60f988f6a6
Updated Xcode project + fixed warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 14:45:14 +00:00
auria
4f588c3dd8
Applied patches to improve items and plunger by david. Thanks\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 14:23:37 +00:00
auria
b6c5f07471
Applied cake improvements patch by David (thanks\!)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 00:02:16 +00:00
hikerstk
75d301417c
Minor fix for previous commit (debug track was shown in
...
kart selection screen).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-17 01:08:00 +00:00
hikerstk
6706e72311
1) Quad meshes are now easier to use generally
...
(though still backwards compatible with e.g.
rubber band and shadow)
2) More scene cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-17 00:22:58 +00:00
hikerstk
5f4b474e77
Fixed some memory leaks, code cleanup, started adding
...
mini map creation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-16 12:09:15 +00:00
hikerstk
9563b78500
1) Added general messages (fastest lap etc) and plunger-in-face
...
2) Removed unused plib font objects - hooray :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-16 03:24:17 +00:00
hikerstk
9920c72415
Added display of the current music (work on speed display started, but not finished).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-15 13:40:22 +00:00
hikerstk
1ef58fce9a
Very first version of irrlicht energy meter.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3752 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-14 12:57:04 +00:00
hikerstk
f978c25cf4
Added number of laps and powerup display to racegui.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3747 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-14 00:26:18 +00:00
hikerstk
e7d17ad201
Added kart icons and time display.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-13 12:25:38 +00:00
hikerstk
f51aa12fc0
Bugfix: length along track was incorrect (only computed length along
...
current quad).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-13 12:24:34 +00:00
hikerstk
5b42fb9f12
Bugfix: avoid crash in case of a kart not being on top of a terrain.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-13 12:23:16 +00:00
hikerstk
45713083c7
1) Removed unnecessary (and by now incorrect) special handling of 'pre first
...
lap'.
2) Bugfix: number of laps were not updated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-13 12:22:27 +00:00
hikerstk
ad799ed990
Bugfix: non-active checklines did not save the previous position, resulting in
...
incorrect triggering later.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-13 12:21:12 +00:00
mbjornstk
5f7d9db5c3
Add minimum and maximum FPS reporting.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-12 20:47:01 +00:00
hikerstk
88b4b3b041
1) Added calls to new render functions which are
...
called during the irrlicht rendering, so calls
to directly print etc. to the screen are possible.
2) Time and ready/set/go of the race gui now work.
3) Code cleanup.
4) Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-12 11:54:21 +00:00
hikerstk
be331b0ed5
Updated VS project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-12 11:52:16 +00:00
mbjornstk
2898c025ad
Add new file config/player.cpp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-12 00:50:37 +00:00
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