Commit Graph

2756 Commits

Author SHA1 Message Date
hikerstk
a110cb00b0 Bugfix: quads had the wrong orientation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4060 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-29 12:32:38 +00:00
hikerstk
35fb7ce90e Added some support for clamping.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4059 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-28 12:25:21 +00:00
hikerstk
5a2eee966a Fixed typo in created xml file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4058 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-28 12:24:13 +00:00
hikerstk
1b60989e6b Added first version of jungle track (with alternative way).
Known problems:
1) AI has issues (not only here), and will often end up driving in circles.
2) Lap counting doesn't work (lap check lines not correct).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4057 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-28 12:18:21 +00:00
hikerstk
52ba6057ed Removed VS compiler warning ("not all paths return a value": compiler does
not understand the assert, but this rewrite avoids the warning anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4056 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-28 01:07:28 +00:00
hikerstk
9ebdf59fcd Bugfix: animated textures would cause an assert failure.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 23:17:13 +00:00
auria
79a4b06f91 multiplayer kart selection screen : players other that player 0 can now come back from setting their names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 20:38:40 +00:00
auria
477773e3ed Improved multiplayer kart selection. Now player can select his name properly, other players too - though atm only player 1 can go back.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4053 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 20:17:45 +00:00
auria
893c430cfc Minor cleanup in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4052 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 19:48:10 +00:00
auria
8b9d4bd2e7 Cleaned up event propagation code a lot to stop using different contradictory conventions, and to be easily read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 19:43:22 +00:00
auria
e0d66bf543 More work in the multiplayer kart selection screen. Now all players can reach their name (but maybe not return from there :P)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 19:06:14 +00:00
auria
64958b0edf Fixed a few warnings and a TODO
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 18:04:33 +00:00
mbjornstk
4284d97abb Convert from UTF16 to UTF8 and fix props.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-26 02:28:47 +00:00
mbjornstk
b7f138bdc3 Make description be a comment, so it can work as config file for some tools.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-26 01:36:09 +00:00
hikerstk
049ab14678 1) Fixed 'objects' import from blender script: objects are now
converted into the physics track model (previously they were
   only shown, but karts could drive through them).
2) Cleaned start position code: arena and normal tracks now use
   the same way and variables/functions to specify the start
   positions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-24 14:26:03 +00:00
auria
dacf594076 tweaks to about menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-23 01:04:31 +00:00
auria
8fa21ab60d Fixed crash when restarting race (it still doesn't work 100% right, for instance some values seem to be not reseted, but at least it no more crashes and I can handle this to hiker =P)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4044 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-23 00:52:47 +00:00
auria
24af33b9b9 Fixed crash on exit + improved error handling so that this bug, if should it occur again, will at least trigger the debugger in an appropriate way and/or give an erorr message
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-23 00:48:23 +00:00
hikerstk
54cf897dc2 Fixed several inconsistencies between track exporter and STK; made
checkline properties a bit easier to set (added type="lap", instead 
of the two properties type="check" lap="lap" previously).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-22 22:43:38 +00:00
auria
69c91b7f75 Added new icons by yeKcim (thanks\!) + updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-22 19:13:07 +00:00
hikerstk
31324e54e6 Added support for edge-line tag in graph files (which were already generated from the
track exporter, but not actually supported from STK).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-22 13:26:13 +00:00
hikerstk
a9d9ca4234 Bugfix: incorrect XML file was generated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-22 13:24:44 +00:00
mbjornstk
b7ecf21b31 Update to talk about newer Ubuntu with Irrlicht branch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4036 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-21 22:35:18 +00:00
hikerstk
66256f64cd Bugfixes for debug track display.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4035 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-21 12:51:28 +00:00
hikerstk
b9bd631474 1) Objects of type 'object' are now exported as separate objects and loaded in the scene file.
This allows the usage of certain objects only in some of the scenes for a track (e.g. to block
   a alternative way in one scene, but allow it in another), or perhaps to save memory by
   loading one object and placing it several times in the track (though that means that more
   scene nodes will be created).
2) Missing id properties are now defined with their default value, making it easier to fill
   out the necessary properties.
3) Minor cosmetic changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-21 03:08:02 +00:00
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