Commit Graph

2473 Commits

Author SHA1 Message Date
hikerstk
66970747c4 Bugfix: nitro items were written with an incorrect name.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4033 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-17 23:17:18 +00:00
hikerstk
fc2ce9c9f9 1) Bugfix: quads had "," between xyz coordinates, STK expected " ".
2) Bugfix: Activate and toggle could not find the checks they were supposed
   to trigger due to upper()
3) Ambient spheres now write the color, fixed radius (missing sqrt()).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-17 22:57:01 +00:00
hikerstk
14b98da72c 1) Removed hard-coded debug path.
2) Added some support for disabling driveline sections.
3) Improved check structure support (activating check structures
   have now one other check structure associated with them, instead
   of activating all new lap structures). Started support for
   changing ambient light. Most of this is work-in-progress,
   committed early to allow testing of the script.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-17 11:57:51 +00:00
hikerstk
2031e495b1 If a music file is not found, STK will not abort but continue.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-17 11:31:05 +00:00
hikerstk
7d4d50afe3 1) Made check structures activating more general (not only new-lap lines
can be activated now, and each check structure that changes the activation
   state has one other check structure associated with it (instead of all
   previously where all activtation state changing structures would activate
   all (and only) new-lap structures.
2) Added support for activation toggle (instead of only switching on)
3) Renamed Checkline to CheckLine (and checline.?pp to check_line.?pp) to be
   consistent with other names.
MAKE DISTCLEAN most likely necessary!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-17 02:54:48 +00:00
hikerstk
850c6eea65 Simple example of a sphere in the lighthouse track that turns the
ambient light to red (just drive straight ahead for about 3 units or so).
Useless, only to show the effect till we have a real example in a track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-16 05:58:15 +00:00
hikerstk
e53d080286 Added support for changing the ambient color in certain areas of a track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-16 05:32:17 +00:00
auria
73ca693a15 Fixed leak in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4025 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-16 00:12:52 +00:00
auria
73a925e3b6 Started implementing locking (follow-the-leader is now locked) + 3 strikes must not appear in single player
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4024 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-15 23:49:58 +00:00
hikerstk
0a84da2726 Applied Hendrik's patch:
Adding command line option --renderer.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-15 04:48:14 +00:00
hikerstk
6fd6063bcd 1) Bugfix: lap length was sometimes computed using the distance between consecutive
center-points of quads instead of the length of the current quad, resulting in
   lap length being somewhat wrong.
2) Bugfix: the first quad would have a distance along track that's not 0.
3) New-lap lines can now be anywhere on the quad graph, as long as the line is
   'on' a line dividing two consecutive quads.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-15 03:58:41 +00:00
hikerstk
d863d37c72 Bugfix: kart position were not computed correctly if crossing the start line for the
first time doesn't trigger a new lap (and therefore karts starting at lap -1).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-10 03:25:42 +00:00
auria
5b3eca9f56 Added danish translation by Joe Dalton
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4020 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-09 23:04:37 +00:00
hikerstk
6aafb3e83c Added support for different modes of a track (i.e. one track.xml file can have several
quads, graphs, and scene files). ATM there is no way of actually selecting a different more yet.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-09 13:32:08 +00:00
auria
858c3bc88a Introduced new logo
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4018 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-09 13:16:42 +00:00
auria
2be54c50e4 Improved endianness detection to be fully done at runtime (eases cross-compilation to create fat binaries)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 17:26:16 +00:00
auria
281b601ed3 Updated challenges graph
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4016 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 16:20:12 +00:00
auria
44e51bed4a Fixed a few illegal textures from mars track (were taken from old island track textures, and the license.txt file did not even credit them as such)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4015 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 16:04:12 +00:00
hikerstk
0a5e7ba293 Bugfix: the 'circles' representing karts in minimap were not working anymore.
To auria: something's weired with the rtt - you are calling setRenderTarget
twice - but it looks like it's not working for the kart screen otherwise.
I've worked around so that at least the 2d rendering works as expected (with
a single call).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4014 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 12:50:52 +00:00
hikerstk
dc30a43f0b Missing patch from previous commit: enable invisible drivelines
(i.e. not displayed in minimap).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4013 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 12:48:55 +00:00
hikerstk
3529e74318 Added support for disabling driveline-segments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4012 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 03:58:28 +00:00
hikerstk
b67695fbd0 Added support for invisible driveline-segments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 03:57:19 +00:00
auria
e778c34078 Implemented viewing the options menu in-game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4010 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-06 18:50:41 +00:00
auria
5aa52c20ce Implemented viewing the help menu in-game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4009 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-06 18:45:38 +00:00
auria
d891996797 Fixed crash in game dialogs + Fixed input sensing issue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4008 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 17:27:14 +00:00
auria
92ab67d95b More license cleanup (more about cleaning license files than the textures themselves)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4007 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 17:15:41 +00:00
auria
8cc5028215 Replaced sound with problematic license with a repalcement from debian
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4006 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 16:59:08 +00:00
auria
27b4537cd2 Tweaks to event handling to fix keyboard navigation and dialogs (more work still needed)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4005 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 16:08:13 +00:00
auria
10b589b168 More work on in-game dialogs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4004 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:46:24 +00:00
auria
928d26bba7 Further tweaks to modal dialogs look
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4003 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:20:20 +00:00
auria
748993e791 Change forgotten in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:13:53 +00:00
auria
344194f20d Improved dialog skin + skinability of some stuff
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:07:50 +00:00
auria
c9cbd546d4 Return to race and Exit race now both work in the paused dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:50:37 +00:00
auria
4c2a826ab9 Fixed mouse focus issue in pause dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:17:09 +00:00
auria
004c727d54 Further improved looks of pause dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:10:13 +00:00
auria
b5fc0fdf1a Improved looks of pause dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:06:53 +00:00
hikerstk
02b7c4b155 Bugfix: a pointer to a temporary char array was used after the temporary char
was freed (const char* trans = irr::core::stringc(_(next->m_v.m_string)).c_str();
the stringc is deleted after the assignment, and trans then points to the freed
memory). 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 12:18:20 +00:00
hikerstk
9e2d3e6418 Bugfix: --screensize/-s option did not work anymore.
Thanks to Hendrik Dark for the patch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3994 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 03:56:47 +00:00
hikerstk
cced894e0f 1) Quad based drivelines are now more flexible - the main driveline
can be split into several driveline sections. Connections between
   main and non-main drivelines are computed depending on distance, 
   and driveline sections can have individual attributes (atm: invisible
   - which will not show those drivelines in the minimap in the future).
2) Support for old-style drivelines was removed. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3993 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 03:48:19 +00:00
hikerstk
227772aaff Updated VS project file to include recently added files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 03:45:09 +00:00
auria
26170d94a7 More work on escape-menu in game (pause)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 02:03:47 +00:00
auria
6356f9d8bd Fixed absolute path in xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-03 15:09:41 +00:00
auria
6abe2523bc Started implementing in-game pause dialog (not usable yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-03 01:50:13 +00:00
auria
a18c750e1b Fixed a few bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-03 01:06:32 +00:00
hikerstk
86743991ae Updated project file, removed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 02:08:24 +00:00
auria
3efcb92b74 Made end-of-race menu buttons do something (none actually works; @hiker: there seems to be crashes when trying to cleanup, this is your area
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:46:02 +00:00
auria
6c1dbb2999 Fixed events being blocked for in-game dialogs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:25:17 +00:00
auria
51ed985653 More improvements to end-of-race dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:20:38 +00:00
auria
2eef253158 Improved end-or-race dialog + backported a fix found there to track info dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:01:10 +00:00
auria
3ad53d1999 Fixed display issue in race results screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 22:15:17 +00:00