Commit Graph

3020 Commits

Author SHA1 Message Date
auria
3c675b3206 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-13 00:56:31 +00:00
hikerstk
b9e8e0891c Bugfix for bugfix: make the stars not only stop rotating, but to
disappear completely when restarting a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 23:13:38 +00:00
hikerstk
901f8ae7d4 Bugfix: the rotating stars were being shown when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 23:00:10 +00:00
hikerstk
60840e5851 Made the AI a bit more competitive by not slowing the mid- and
high-level AI down when skidding.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 22:55:03 +00:00
hikerstk
bc378d4ebd Bugfix: restarting a race would not reset the AI properly, causing them to be rescued over and over.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 11:15:50 +00:00
hikerstk
20643c1a44 Renamed music to avoid problems on irix.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 04:26:22 +00:00
hikerstk
d6b91f8fc3 Applied Stephen Just's patch 2926028: search for data directory relative to the executable,
which allows STK to be started/debugged in VS without having to set a working directory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 02:02:13 +00:00
hikerstk
b34f4d238b Added informative message when a texture can not be found before
aborting.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:56:16 +00:00
hikerstk
70f5f1044b Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:51:59 +00:00
hikerstk
b5588b1154 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:51:27 +00:00
hikerstk
223455902a Removed textures from materials.xml which do not exist anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:40:48 +00:00
mbjornstk
42c395fd5f Cosmetic changes, last lap colour and fastest lap wording.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:40:12 +00:00
auria
1cd161e7d9 Fixed i18n on OS X too (may not work on PPC macs)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 23:22:44 +00:00
hikerstk
71616e256e Removed calls to gettext in each frame, instead the tranlsation is only done once when
the object is created.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 22:08:33 +00:00
hikerstk
f079754dee Switched projectg settings to use UTF encoding.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 21:55:36 +00:00
hikerstk
211c6cdb4e Fixed translations on windows (esp. when non-translated strings are used).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 21:50:30 +00:00
hikerstk
9f1d5893d4 Added missing include for linux, fixed order of #includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 03:34:36 +00:00
auria
4a63edfd5e Fixed STUPID mistake in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 03:14:47 +00:00
auria
081b0a295d i18n improvements (no more need for iconv)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 03:12:35 +00:00
hikerstk
23947aafc1 Removed duplicated materials.xml entry, which could potentially cause a
crash on certain systems during installation ("/usr/bin/install: will
not overwrite just-created ...").


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 00:28:33 +00:00
auria
a77d77f26a Translate strings in paused dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 00:09:04 +00:00
hikerstk
cf0e69b48f Removed #include of kart and player_kart from world.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 23:12:29 +00:00
hikerstk
9eb8995399 Fixed compilation problem (no idea why it ever compiled on VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 22:50:13 +00:00
hikerstk
2f268dce77 Added some code to add a 'push to the side' when crashing into a kart.
This code is for now disabled in the stk_config.xml file, since it needs
changes to the physics to be better playable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:16:32 +00:00
hikerstk
2c60045223 Disabled new AI so that we know at least to which AI bug reports apply to.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:12:07 +00:00
hikerstk
5967f75b20 Bugfix for animations with physics represenation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:10:39 +00:00
hikerstk
0c8465a913 Added iconv to library list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 11:57:11 +00:00
hikerstk
afeb1c95aa Bugfix: GP names were converted twice: once from the lisp reader, then again here.
Translating the name twice can result in a crash, since the gettext expects utf-8 (or
latin?) as input, but gets utf-16 in wchar, which later results in iconv not being able
to convert the utf-16 (which is supposed to be utf-8 which gettext returns if it can
translate things).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-09 14:13:53 +00:00
mbjornstk
0b09240e5e Make rands in direct hits use floats correctly (they were ints at the wrong
time, so results were 0.0f always) and limit minimal distance in non direct
hits (maybe should use other value, just a matter of testing).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 02:35:01 +00:00
auria
0f964187fe Deal with iconv prototype changing with versions (hopefully right this time)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 01:36:15 +00:00
auria
bba70f8c5a Deal with iconv prototype changing with versions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 01:30:43 +00:00
mbjornstk
9739d1e1b3 Make marks fade to transparent (not 100% sure), instead of white ghost.
Pretty much an exercise in guessing if things are premul or not, and what has
to be pure black or can be a more real dark grey. Maybe needs more changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 01:09:14 +00:00
hikerstk
da2ef9b203 Fixed compilation under linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 00:57:21 +00:00
auria
11d864ae7c Attempt at using iconv. Fails miserably for me atm because gettext will only return latin-1 and not UTF-8 like I ask it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 00:23:31 +00:00
hikerstk
6d779f9356 Fixed item handling in track exporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 00:17:25 +00:00
auria
f54b6c96a7 Fixed compilation under irrlicht 1.6
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:23:00 +00:00
auria
a7a802b918 Removed all line breaks from challenge files, since line breaking is not automatic
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:22:45 +00:00
auria
a91591b7c4 Fixed compile warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:05:43 +00:00
auria
dd9fedd810 Use texture clamping to enhance GUI look
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:04:59 +00:00
auria
72c8240bfc Use the irrlicht 1.7 feature that enables smooth scaling in the GUI (ahhhh, my eyes =). A few known issues have been introduced, they will hopefully be fixed soonish.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 22:55:38 +00:00
hikerstk
81bb0ac8dc Fixed memory leaks due to missing destructor.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 01:14:46 +00:00
auria
6f1a199e7d Worked around font measurement issue that caused text clipping
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-06 16:48:06 +00:00
auria
b5ec0d717d Fixed a couple annoying bullet warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-06 16:47:30 +00:00
hikerstk
e6296c1987 Fixed speedometer display for irrlicht 1.7 (no change for irr 1.6).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 11:31:10 +00:00
hikerstk
023244e74b Added improved support for external objects.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 04:27:39 +00:00
hikerstk
dcec9bafcf Added support for irrlicht 1.7.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 03:38:35 +00:00
hikerstk
d39b76f433 Applied Graham's 'reverse camera' patch, which changes to reverse camera when driving
backwards faster than a certain speed (defined in user config).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 01:13:53 +00:00
auria
f463c00dc7 Removed fixed TODO, updated comments
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:33:51 +00:00
auria
1a84cc65c7 Made the 'random' kart item not select an already taken kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:32:36 +00:00
auria
8fbb10598f Hardcoded constants cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:16:29 +00:00