Commit Graph

2747 Commits

Author SHA1 Message Date
auria
9929dde3ac Minor lighting code tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 20:46:16 +00:00
auria
9d25d00fca Prevent 2 players from selecting the same identity
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 18:30:29 +00:00
auria
29355419e5 Fixed lighting issues (was caused by having two sets of ambient light : the scene one, and the sun one. Only one ambient light is needed.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 17:29:41 +00:00
auria
8e1ee567b5 Fixed ARGB/RGBA in xml loader
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4163 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 17:07:06 +00:00
auria
80936f9b40 Added assertions to catch some tricky bugs (and even document the good state)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4162 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 01:01:29 +00:00
auria
9722842054 It is now detected when 2 players choose the same identity (but nothing is done yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 00:59:46 +00:00
auria
be2f2776b2 Fixed player ident tracking, work towards preventing 2 players from choosing the same identity
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 00:52:58 +00:00
auria
b605c31345 Fixed flicker that sometimes occured when stopping model rotation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 00:16:37 +00:00
auria
8158bc01b0 Added ear-candy to previous commit + made it easier to add sound effects in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 23:57:10 +00:00
auria
31a8987e26 Improved support for multiplayer kart selection (fixed crash + added eye candy)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4157 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 23:40:46 +00:00
auria
b1f540e062 Improved support for multiplayer kart selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 23:04:38 +00:00
auria
fa7152b188 minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 22:27:11 +00:00
hikerstk
1c198f22ad Added latest version of Xapantu's kart exporter, which adds support for
sounds.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 01:04:31 +00:00
hikerstk
362fa27e58 Bugfix: Incorrectly used driveline width instead of half driveline width, which means
the AI did not consider itself off road when it actually was. This fixed at least
some of the AI problems.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4153 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-27 12:32:42 +00:00
auria
8ac714a8f6 Partial fix for lighting issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-26 00:03:23 +00:00
hikerstk
39cb1129d1 Bugfix: For the duration of one frame the position of the karts was incorrect
when a kart is about to cross the starting line.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-23 01:54:05 +00:00
hikerstk
31325de16c Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-23 01:52:56 +00:00
hikerstk
eaf8d41453 1) Removed old left-over sdl code.
2) Started to add freebsd support.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-22 23:28:57 +00:00
auria
410cb0fe54 More minor changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 23:00:12 +00:00
auria
1d64a45e79 Minor changes (nothing visible)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 22:51:23 +00:00
hikerstk
77ff213440 Fixed some attributes name which were incorrect.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 08:55:52 +00:00
mbjornstk
0d4e9f3655 Fix box sphere mapping in the cyan part and add water particle.
The water particle is not final, but at least this stops abusing other file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 00:24:49 +00:00
mbjornstk
31af4ba7c9 Add challenges.[ch]pp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 21:25:55 +00:00
auria
018e6b3ba7 Fixed displaying unsolved challenges
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 21:14:13 +00:00
auria
f65ec54fc2 Minor tweaks to challenges screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 21:04:31 +00:00
auria
5f52d47306 Started implementing challenges menu (for some reason, many challenge files are not found/loaded, didn't figure why yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 20:52:52 +00:00
auria
9604fa2b8c 'Setup new race' button in paused dialog now works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 18:29:51 +00:00
auria
0f775b8a8c More event propagation cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 18:25:14 +00:00
auria
584d203aa4 Fixed exiting a race & starting a new one in a cleaner way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 18:10:46 +00:00
auria
325b7aff3e Updated camera start position for a nicer effect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 14:06:41 +00:00
auria
8f4efd2a60 Exiting a race then starting a new one now works (now 100% clean, and I'm not 100% sure about memory mangement, but a step in the right direction)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 14:02:07 +00:00
hikerstk
b21b0c230b Increased the effect of changing the ambient light back to its original strength.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 12:33:47 +00:00
hikerstk
b5ac1c4028 1) Moved the sun position from the track file to the scene files.
2) Added support for setting the sun position and light and fog data
   from the track exporter.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4134 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 05:15:55 +00:00
auria
76f9422fe0 Added a sun to all current tracks (doesn't to work for jungle though, no idea why =( )
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4125 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-16 01:47:44 +00:00
auria
f8fccf808f Moved STK preferences on mac from old-fashioned unix style ~/.supertuxkart to the more correct ~/Library/Application Support. Should have been done long ago; Motivated by Joerg's modifications on Windows that reminded me of this, and also to have the ability to open 0.6 without screwing my 0.7 settings ;P
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4124 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-16 01:47:03 +00:00
hikerstk
4543f6ab5e Ported the display of karts in the minimap to irr 1.6
(note that the speedometer display is also ported, but does
not work atm due to limitations of irr 1.6 ... or incorrect
usage ;)  ).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-15 23:51:41 +00:00
hikerstk
645e79fe30 Made mipmaps the default for b3d files, independent of the mipmaps
flag setting in the file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-15 23:43:43 +00:00
auria
3b85e07f68 Fixed crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-15 22:11:02 +00:00
mbjornstk
c5c80e1fc5 Update to Irrlicht 1.6.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-15 17:30:53 +00:00
auria
512f97a63b Fixed resolution switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-13 23:43:19 +00:00
auria
10e039ba7e Removed the CutScene adapter, the new event handling for Screen does not require that kind of thing anymore to combine 2D and 3D, and to use animations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-13 19:14:17 +00:00
auria
20bd554894 Fixed another crash caused by lack or RTTI in irrLicht (What I wonder is just why on one else who had RTTI off saw this bug...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4114 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-13 14:02:55 +00:00
hikerstk
c5c7f3d37c Fixed 'invisible tree' bug (which was caused by the textures having u/v-wrap defined).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4113 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-13 12:11:32 +00:00
auria
3f1baf81b1 Removed another 'using namespace' from headers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 23:46:24 +00:00
auria
d7c7861bd1 Removed many 'using namespace' from headers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 23:43:14 +00:00
auria
62f983c366 Removed another bogus include
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 22:54:09 +00:00
auria
ace9f372aa Removed another bogus include
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4109 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 22:53:44 +00:00
auria
9b483d4370 Removed bogus include
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 22:53:18 +00:00
hikerstk
1eda85330a Bugfix: race gui was not updated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 22:17:36 +00:00
hikerstk
bc321d151c Added missing model for jungle track - how embarrassing :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 22:14:58 +00:00