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
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
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
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
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
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
auria
491bc9d1e9
The code that prevents 2 players from selecting the same kart should not prevent them from both selecting 'random'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:15:22 +00:00
auria
eacc02bcd8
Prevent 2 players from selecting the same kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 18:59:07 +00:00
auria
364dfcea2e
Improved multi-focus look in kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 18:41:04 +00:00
auria
33e95fca6a
Fixed reported bug with musical note placement in in-game music credits
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 18:05:56 +00:00
hikerstk
deff7613e1
Removed VS compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 02:53:37 +00:00
hikerstk
20ac0d3230
Removed VS compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-03 03:38:49 +00:00
auria
2dd0a904b6
Improved buttons to have their size depend on text contents; made the 'enter' key trigger a PA_FIRE action
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 20:55:19 +00:00
auria
5c432893f3
Gracefully exit when closing window
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 16:28:55 +00:00
auria
c0322cac00
Added more documentation to the input screen, answering a few of our recurrent FAQs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 02:08:25 +00:00
auria
4768654113
Fixed subtle input issue (problem assigning mouse to the right player when keyboard config used is not the first)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 01:55:20 +00:00
auria
7b8fc1e592
Fixed compilation warnings, + warn if many keys are assigned to the same action in input settings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 01:46:29 +00:00
auria
9aba0daeb3
Config dir cleanup by Graham Harrias (thanks\!)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-01 17:01:32 +00:00
auria
f58bc8708b
Fixed resolution change messing up kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 21:28:59 +00:00
auria
27decfcd2a
Fixed hiding cursor (responsible was copy and paste)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 21:07:38 +00:00
auria
47db6ffa41
Fixed crash on reschange caused by very subtle pointer management issue; added various debug checks to make sure this doesn't happen again -.- those debug checks should have unnoticeable performance effect on a release build
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 20:59:56 +00:00
auria
75149a100c
Karts in kkart selection screens are now animation aware and will display the center frame (though elephant still seems slightly off-center, not sure why)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:41:59 +00:00
auria
9859e0c4ad
Fixed Hikerian mistake
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:40:59 +00:00