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
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
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
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
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
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
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
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