Commit Graph

2888 Commits

Author SHA1 Message Date
auria
b83131fea2 Fixed glitch when selecting kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 18:47:56 +00:00
auria
edf2a43676 As suggested on the mailing list : 3-player-plit-screen should divide in 4 and use the 4th window to put stuff like minimap and players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 18:35:58 +00:00
auria
ce83dccecf Fixed 4-player split-screen (Seems like Hiker loves ternary operators; but they made it totally unobvious that screen width was used to compute viewport y ;) )
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 18:17:10 +00:00
auria
3c67c88720 Decreased FOV in multiplayer mode, will look much less weird
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 17:56:41 +00:00
auria
a97ce54007 Converted font file to UTF-16 - and magically i18 works! (@Hiker: please test it also wokrs on windows)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 17:48:47 +00:00
auria
6c50dbc340 Somewhat documented font file (to help debug i18n issues)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 17:47:23 +00:00
auria
306fd93338 Added sligh zoom-in effect for dialogs (effect is not perfect but better than nothing IMO)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 17:08:25 +00:00
auria
157d316fa5 Removed annoying prints
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 16:33:05 +00:00
auria
d58d42b27d Fixed input device association bug when starting game clicking and a gamepad is plugged
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 16:23:17 +00:00
auria
a5edabee75 Fixed input mode not properly reset when exiting race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 16:06:39 +00:00
auria
1e4ede71ff Fixed focus orb problem when master player uses gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 15:48:04 +00:00
auria
957fc9281b A menu that uses animations can now choose not to throttle FPS to 35. This means credits and feature unlocked are now smoother
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 02:19:37 +00:00
auria
62f3ea1411 Now more different stuff comes out of the chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 02:05:45 +00:00
auria
8256e46ed3 Cleanup in the new code (remove model when we're done)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 01:41:02 +00:00
auria
a2357958f9 Now something comes out of the feature unlocked chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 01:30:39 +00:00
auria
1c623ec7b3 Updated 'feature unlocked' screen to use the new title font
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 00:10:44 +00:00
auria
c1f2f85cc0 Improved help menu for better readability
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 00:06:40 +00:00
mbjornstk
ae4f36b8a6 Add note about updating and rebuilding SVN. And some cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:55:21 +00:00
auria
f3f9829336 Played with a shadow feature to the fonts; not used now, but leaving the code in just in case we ever want that (and it's sorta likely to happen); the code also doesn't hurt to stay there if unused
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:47:33 +00:00
auria
aa003ef977 made okolaks font white, so wew can color it however we want (i.e. [255,0,0]*[255,255,255] makes a white font red, but [255,0,0]*[0,0,0] doesn't make a black font red)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:46:17 +00:00
auria
c1a20f86f3 Font size now depends on resolution (looks ugly for now because we still can't use smooth interpolation when scaling)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:34:22 +00:00
mbjornstk
6e8bf08830 Add references to CGUIFont.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:28:54 +00:00
auria
d9f6abd511 Major and great font update : added support for scalable fonts (better not wait for them to implement it), and added a second more colourful font for titles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:15:15 +00:00
auria
e46251008a Fixed texture anti-aliasing (gee, couldn't they have told us it was this easy...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 18:56:40 +00:00
auria
f8984db40b Added animated Elephpant by Rudy & Xapantu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 15:19:44 +00:00
auria
3a8473e8c6 Added animated Wilber by Rudy & Xapantu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 15:17:32 +00:00
hikerstk
5b58714fff Revmoed support for irrlicht 1.5 (which doesn't have all functions we need anyway).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-04 01:09:40 +00:00
hikerstk
9f17650552 Bugfix: check_structures were reset before karts, which means that in the very first frame of a
restarted race incorrect checks would be triggered (e.g. causing a new lap to be counted).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-04 00:49:38 +00:00
hikerstk
29ddca4044 Bugfix: the circles representing kart in the minimap had an incorrect colour.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-03 09:10:57 +00:00
auria
554cad19cb Fixed focus-related crashes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-01 20:12:13 +00:00
auria
584417910d Cleanup, mostly in race ending
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-01 19:49:11 +00:00
auria
8fe5779087 Fixed minor warning; fixed Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-30 13:32:33 +00:00
hikerstk
5773e5ccf9 Added missing initialisation of ambient light, which should fix dark tracks on
non-windows system (untested yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-30 13:30:32 +00:00
hikerstk
ed9bd38402 Some redesign of split screen to enable proper handling of
ambient light changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-29 13:04:57 +00:00
hikerstk
a7e32c44d0 Bugfix: using nitro while the speed is negative could cause a crash, since
the negative speed caused a huge number of prticles to be created (negative
signed int --> unsigned int).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-29 11:53:03 +00:00
hikerstk
ef53866460 Bugfix: debug code wasn't #ifdef'ed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-24 12:29:54 +00:00
hikerstk
a5a90be806 1) Started to add split screen (though not all parts of the race gui are displayed correctly yet).
2) The name of an AI kart will now only get the AI name added if it's profile mode (to prevent
   the name with AI name to be displayed in game)
3) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-23 05:20:05 +00:00
hikerstk
f80dc3a26b Disabled debug spheres to be shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 22:57:57 +00:00
auria
bed690a4d1 Support for multiple keyboard players (but you can't add a 2nd keyboard through the GUI atm, it needs to be done in the config file)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 15:19:40 +00:00
auria
cb91674631 Started adding support for multiple keyboard players (does not work at kart selection screen atm)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 15:09:34 +00:00
auria
1b59004a1e Made new icon for time trial
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 00:32:12 +00:00
auria
bbeffc262d Edited player options icon to fit better with the other ones (still doesn't fit with skin thoguh)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 00:17:40 +00:00
auria
044754036f Fixed bug with random kart icon & group switching
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 00:07:42 +00:00
auria
e276aad85f More icon updates
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 00:04:47 +00:00
auria
b2af9653f4 Started adding new icons from OpenGameArt
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-13 23:20:11 +00:00
auria
f5129e7d04 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 22:11:15 +00:00
hikerstk
b6e2ca5be9 Added missing file from previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 12:22:29 +00:00
hikerstk
dd02e0726f 1) Added new AI, which is not yet too different from the current one.
2) AIs can now modify the kart name, which is used in printing profile results, to
   include an AI identifiert.
3) NewAI and DefaultRobot are created un turns: first AI is DefaultRobot, then 
   NewAI, then Default...
4) Made specific mode in VS project file for irrlicht 1.6 (will be removed soon).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 12:19:33 +00:00
hikerstk
6d89dd7ae0 Use loadRobot instead of new DefaultRobot, so that the same function
is used to create all AI karts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 12:15:12 +00:00
hikerstk
dfc170e448 Added (usually commented out) settings for a debug camera, which shows the track from
high above, which is useful for debugging AI behaviour.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 12:13:50 +00:00