hikerstk
5fcd69554e
Updated VS project file, fixed minor compilation and style
...
problems (note: atm addons are not compiled on VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:14:56 +00:00
hikerstk
9698b08b87
(Hopefully) fixed missing return value in w_gettext.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:13:31 +00:00
auria
b686bf524b
Updated Xcode project + minor fixed to xapantu's code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 23:53:16 +00:00
xapantu
5a653e26e9
Adding the addons menu, I am going to write a mail to the ML
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 18:40:55 +00:00
xapantu
f0094304da
Adding the '--with-addons' option in configure.ac
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 17:07:42 +00:00
hikerstk
6c10ceeeb4
Fixed uninitialised variable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 05:29:56 +00:00
hikerstk
09fe1ea784
Fixed uninitialised variable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 05:23:37 +00:00
hikerstk
e646b2e443
Switch win/lose animation off when restarting a race.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 22:58:20 +00:00
hikerstk
28f2b3742d
1) Fixed 'shaking' of kart, which happens esp. in end- and reverse camera
...
(reason was that camera used the previous kart position to adjust the camera
settings, while the karts were shown at the new position. This becomes a
problem if bullet does more than one time step, since then the usually
fixed offset is changes, which is visible).
2) Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 11:15:00 +00:00
hikerstk
0d527829ef
Fixed VS compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 11:11:03 +00:00
auria
6cb51e2492
More work on scalable race GUI : race GUI will now be not so small on high resolutions (we need higher-definition weapon icons\!)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 01:23:56 +00:00
auria
536bce6aa9
Started implementing scalable race GUI : race GUI will now be not so small on high resolutions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 00:59:20 +00:00
hikerstk
c1c7daf2fa
1) Added support for new camera mode: end camera positions and types
...
can now be specified in the scene file. Currently supported are:
- normal 'ahead of kart' camera (which is what we used so far)
- fixed camera: camera is at a fixed position, always looking
at the kart.
2) Removed camera.hpp dependency from kart.hpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 23:33:07 +00:00
hikerstk
f1c187d5d5
Fixed VS compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 23:24:04 +00:00
auria
ee514b08a7
Hopefully fixed bug where camera hanged
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 00:39:45 +00:00
auria
9c4940abdb
Fixed AI count spinner being disabled when it shouldn't
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 23:56:59 +00:00
auria
c19280e6d1
Added assertions to Camera so that we can catch the camera getting stuck bug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5575 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 23:18:52 +00:00
auria
41dbc1311d
Fixed badges wrongly remaining on empty ribbon items
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5571 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 17:40:00 +00:00
auria
3f0e2b8d74
Don't show 'random kart' button when no karts are available in the current group, or if there is only one kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 17:21:41 +00:00
xapantu
d336617eaf
Fix a bug with fribidi
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5569 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 17:19:28 +00:00
auria
f43a3da3ad
Improvement to fribidi code : if fribidi says it failed to convert the string, don't read the output buffer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 16:46:30 +00:00
xapantu
be70408b38
Fix a bug with fribidi
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5567 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 10:26:47 +00:00
auria
2275ecaa2b
Corrected other FIXME
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 19:36:59 +00:00
auria
b9fcde4826
Removed outdated TODO
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 19:35:48 +00:00
auria
7db06e27e1
Fixed memory leak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 19:33:03 +00:00
auria
5f18162c25
Simplified and cleaned up kart selection focus dispatcher logic; also corrected warp-around to work properly there
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 17:19:12 +00:00
auria
0350423907
Fixed issue with duplicated resolutions + resolutions not always greyed out when the options menu is viewed in-game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5562 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 15:00:13 +00:00
hikerstk
bc22ee6df5
Fixed rouding error in time handling, e.g. 0:0:996 was displayed
...
as 0:0:100 and not as 0:1:0.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5559 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-25 13:48:13 +00:00
auria
81282e3464
Modified several screens that used absolute positions and sizes to use the full power of the layout managers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5558 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-25 01:29:10 +00:00
auria
b0b3faf53a
Fixed focus navigations with missing widget IDs. For now up to 10 IDs may be missing and navigation will still work, I don't think we need more than 10
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-25 01:13:15 +00:00
hikerstk
0502408d60
Terrain-specific sfx will now not be cut off when the terrain is left, instead
...
the sfx will finish.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 23:10:25 +00:00
auria
bef7ae34a8
Always give the mouse game master privileges, less confusing for players
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:56:27 +00:00
auria
9bfbcc40c1
Fixed rendering of disabled tabs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:44:07 +00:00
auria
48e1f98209
Improved skin render when several players are selecting the same kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:40:44 +00:00
auria
dcc4d54365
Handle exceptional situation in kart selection screen by just printing to stderr... it shouldn't happen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:34:41 +00:00
auria
3b617a95a1
Started fixing kart selections being messed up when a player quit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:28:20 +00:00
auria
3a15458079
Fixed leaving game in multiplayer kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:18:30 +00:00
auria
237d1c2883
Fixed music being changed in in-game menus
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 17:26:57 +00:00
auria
a1ebd4fc36
Make a hack around irrlicht limitations even more hackish to correct a crash when a list widget is the first in the screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5544 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 00:45:39 +00:00
hikerstk
07ac6f5c76
Added separate camera mode for end camera, added experimental new end camera
...
(which atm has hardcoded values for lighthouse track only and is disabled).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-23 22:37:48 +00:00
hikerstk
fca5de3e7d
Bugfix: at the time the check sphere is created world does not
...
have the karts created, and therefore an invalid number of karts
was used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-22 12:48:11 +00:00
hikerstk
c672b8d2df
Removed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-22 06:56:37 +00:00
hikerstk
e22d03d4bd
Bugfix: incorrect parameter in warning message.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-22 06:50:15 +00:00
hikerstk
e3452035e4
Bugfix: battle mode would not work correctly, removed unused variable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-22 06:47:26 +00:00
hikerstk
cc336fb007
Minor bugfix.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-22 06:34:37 +00:00
hikerstk
d3020e44ce
Fixed incorrect position of terrain-specific sfx (though
...
I still do not get positional sfx atm, but that might be
a different issue??).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-22 06:17:29 +00:00
auria
167257c4f4
Fixed crash with in-game menus
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-21 00:10:50 +00:00
hikerstk
c5d56b90a2
Bugfix: terrain specific sfx was still played when the race was over.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5529 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-20 23:42:58 +00:00
hikerstk
f1438d6354
Added support for terrain specific sfx. As an example
...
this has been used for the wooden terrain in snowtuxpeak.
Note that atm changing the pitch is used to make the sfx
depend on speed, but since I am not too happy with this
I might add support for a customisable pause between
looping the sfx.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5527 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-20 23:01:23 +00:00
auria
b297ef72de
Corrected a FIXME by moving a constant where it belongs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-19 01:10:41 +00:00
auria
11e3877945
Removed outdated FIXME
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-19 01:05:58 +00:00
auria
2f10e0177c
Removed unnecessary FIXME
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-19 01:03:53 +00:00
hikerstk
df1985dab8
Removed VS compiler warnings (double to float conversion, loss of precision).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5522 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-18 02:03:36 +00:00
auria
8c85b0a6ee
Updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-16 00:40:26 +00:00
hikerstk
8efe0fff20
Performance improvement: the b3d exporter does not sort/combine meshes by texture, so this
...
is (for now) done by a special Batching Mesh.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-16 00:18:51 +00:00
auria
b2ce57c840
Don't rely on OpenAL to know if a music is playing or not, it will say 'no' when the music is playing but couldn't be updated recently because of lagging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-13 18:39:07 +00:00
mbjornstk
041c528a9f
Change engine sound, while on air, to a less squeeky one (1.4 -> 0.9).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-13 18:31:55 +00:00
auria
c7ff68c1ab
Modified my recent checks in highscores : on failure, ignore bogus entries instead of aborting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-13 18:30:07 +00:00
auria
4afb71659f
Modified music handling, fixing the music heard during GP lost/won
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-13 18:25:49 +00:00
auria
c496a82654
Removed debug asserts
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-13 18:08:08 +00:00
auria
582db98e0f
Fixed animated ribbon widgets to work more than once
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 23:48:38 +00:00
auria
9681fa3940
Fixed incorrect string in highscore loading code that caused kart name of highscores to be lost + added assertions to detect similar problems should they ever creep back in someday
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 23:24:15 +00:00
auria
5536b4a0b9
Removed debug print
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 23:06:24 +00:00
auria
c97361058a
Fixed empty highscore entries being written to the hgihscore file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 23:03:55 +00:00
auria
ab6e93f4d8
Bugfix: initially shown highscores were wrong
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 22:41:37 +00:00
auria
87a10e9ddb
Made sky speed configurable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 20:49:55 +00:00
auria
2bcb1d4c17
Added autotools support for fribidi (hopefully it works, please folks help me test with and without\!)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 17:18:28 +00:00
hikerstk
3c335d4d0a
Applied Lilian Gimenez's patch which allows the nitro consumption to
...
vary from kart to kart. While this is atm not used, it will be useful
once we have different physics parameters for karts. Thanks for the
patch!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-11 01:19:15 +00:00
auria
154a733725
Applied patch by Lilian Gimenez to correct input mode in dialogs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-10 23:45:14 +00:00
hikerstk
afa305e34b
Re-enabled sfx when collecting a banana.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-10 22:54:31 +00:00
hikerstk
8eab00d6d7
Changed the culling algorithm to use the frustum and not the
...
camera box. This results in better culling of items, which
can give a good performance benefit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5494 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-10 06:19:22 +00:00
hikerstk
7c0ff2772a
Added option to disable kart animations in the user config file.
...
For now it also disables win/lose animations, but if it's worth
keeping non-animated karts (for performance on lower end graphics
card) this will be added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-09 23:33:06 +00:00
hikerstk
744d9dd0fb
The default start positions are now transformed/rotated if the lap
...
counting line is not centered around 0,0,0 or not parallel to the
X axis.
Note that this requires all lap counting line in the scene.xml files
to be 'oriented', i.e. the first point must be the left point, and
the second one the right point (r5488 updated this for all current
tracks, and r5487 updated the track exporter to do this automatically).
As a result of this the start positions might now be a bit too close
to the starting line (depending on where the chess-pattern is on the
track), and that might need some additional adjustments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-08 23:30:45 +00:00
hikerstk
b9a63ebb0d
Added rouding to time display, since otherwise the
...
1/100-th seconds can be incorrect.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-08 23:06:54 +00:00
mbjornstk
5fc4473bd5
Disable AI cheat when skidding. All AI levels lose power now, like humans.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 23:43:04 +00:00
hikerstk
79641e7f88
Support added for 'coneX' and 'coneZ' shapes as physical objects
...
(previously only as animated objects). Both 'cone' and 'coneY' is
now accepted, too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 22:08:15 +00:00
hikerstk
dc301c1726
Removed unused code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 21:50:14 +00:00
hikerstk
ca66768c9e
Removed unused code, updated docs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 21:49:14 +00:00
hikerstk
c74d9dae5f
Removed more compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 21:48:22 +00:00
hikerstk
dc0405cb3e
Removed VS compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 21:47:34 +00:00
hikerstk
9bf9dea62c
Bugfix: karts which had their arrival time estimated would not get the appropriate
...
points displayed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 21:40:45 +00:00
hikerstk
e0328642f1
Added new 'UNDEFINED_PHASE' to catch incorrect pause/unpause
...
sequences (instead of re-using SETUP_PHASE as was done previously).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 03:31:41 +00:00
hikerstk
c6727bfc01
Removed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 03:16:02 +00:00
hikerstk
f2a3dff4d2
Updated VS project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 03:12:16 +00:00
auria
e7fbf9f73d
better error reporting if XML file contains a wrong object shape, don't silently continue...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-06 00:03:41 +00:00
auria
f9f4346df9
Better OpenAL error messages
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5464 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-01 01:16:28 +00:00
auria
39ccf7dfb9
Play lose music upon losing GP
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-01 00:14:24 +00:00
auria
d26a2daa68
Actually show the GP lost scene when losing a GP
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 23:20:32 +00:00
auria
45b60e948d
Improved GP lose
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 19:38:29 +00:00
auria
a2825c4b36
Added support for Hebrew (and, more generally, RTL languages). fribidi must be available and ENABLE_BIDI must be defined (however the autotools build system currently does not check for fribidi presence so if you build with autotools it will always be off)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 19:11:39 +00:00
xapantu
4917872611
Fixing the file names in makefile.am
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 16:13:33 +00:00
auria
759cbff2b7
Added files forgotten in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 15:48:24 +00:00
auria
1bdca718cb
Added GP lose animation (not yet shown when actually playing, for now click on the 'network' button to see it as usual)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 15:45:44 +00:00
auria
bc29666749
Fixed invalid spinner max value in kart screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-16 16:55:15 +00:00
auria
db52b6907d
Fixed fallback to default skin
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5448 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-16 01:36:18 +00:00
auria
0f32d738b4
Fixed reference counting problems with skin
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-16 01:26:53 +00:00
auria
2cd92bb6af
Fixed issues with press a key dialog - the keypress was considered after the dialog had been closed. fixed that by closing dialog only when key is released
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 19:49:59 +00:00
auria
45dfd6d415
Fixed default bindings to be more consistent between game bindings and menu bindings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 19:28:06 +00:00
auria
ed0064bcff
Forbid changing resolution in-game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 18:51:29 +00:00
auria
5cddb8ffb6
Added support for selecting GUI skin through user interface; aded skins by Dakal as a proof it works
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 18:10:55 +00:00
auria
dd0caa5f0a
Split audio and video options in 2 separate tabs, in preparation for adding more items
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 16:12:41 +00:00
auria
1556b60bdc
Removed irrlicht 1.6 support code, since we don't support building with irrlicht 1.6 anymore
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 15:28:32 +00:00
mbjornstk
b14ebe9259
Add big red and yellow reset button as rescue model.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-13 02:01:39 +00:00
mbjornstk
ced279bd00
Raised to 3 messages (each) most weapons.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-12 19:51:17 +00:00
mbjornstk
0b14d2ef0c
Change message functions to no need id (random selection is internal).
...
Couple define became functions. TODO/DOUBT: pass them attacker & victim names?
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-12 01:38:28 +00:00
auria
f9af96667a
More strings for plunger in face too
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-12 00:41:54 +00:00
auria
f19d7af777
Added some support for randomized in-game messages. Improved i18n support along the way, StringUtils::insert('... %S ... %S ...') in no good, in the translated version the sentence may require the strings to be inserted in opposite order
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-12 00:33:49 +00:00
hikerstk
9c30a9a77d
Fixed crash in case that a race takes more than 100 minutes. Now
...
a race can take up to 68 days ... good enough I'd say.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-11 13:20:14 +00:00
hikerstk
0628d7f565
Some bugfixes to resolution changing.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-11 12:49:32 +00:00
mbjornstk
91c40319b3
Adjust speed vector in all 3 axis, so going downhill (mostly Y motion)
...
counts as going fast and is reduced, not just X and Z.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-11 01:15:43 +00:00
hikerstk
0a59455a82
Removed LIMBO state, added new RESULT_DISPLAY_PHASE (but at this stage no
...
visible change to user).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 23:53:32 +00:00
hikerstk
1d5fe00af8
Cosmetic change only.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 23:51:12 +00:00
hikerstk
8a47c81f46
1) Removed special steering for easy AI (which was buggy), now all AI levels use
...
the same steering algorithm.
2) Fixed bug in alternative way handling (potentially endless loop if AI ends up
on a non-selected part of the drivelines, resulting in steering to angles
taken from uninitialised memory).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 23:50:40 +00:00
hikerstk
8b211c07b4
Added assert to find problems when steering to an invalid angle
...
(e.g. angle = 1e37 --> endless loop).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 23:48:54 +00:00
xapantu
98fd248d5e
(maybe it is a mistake) revert karts animations
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 15:41:10 +00:00
hikerstk
807274dc9f
Fixed VS compilation problem.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 03:20:42 +00:00
auria
493f24fbcf
Seperate handling of track groups and arena groups in track manager; if you have e.g. one add-on track but no add-on arena, you'd get a weird empty group in the arena selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 01:09:36 +00:00
auria
8bb6ca6ac6
Fixed left/right ribbon arrows
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 18:41:26 +00:00
auria
798c458ac5
More improvements to dynamica ribbon, fixing annoyance when items don't take all space allowed, fixing an empty space appearing in challenges screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 18:24:26 +00:00
auria
dbce446f81
Minor refactoring
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 17:47:12 +00:00
auria
36303b806d
Fixed conversion from arbitrary ints to enum members. Now using enum names properly.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 23:29:40 +00:00
auria
e84cb5d10c
As discussed with Joerg : started removing maximum number of karts limitations
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 18:39:07 +00:00
auria
4a66d148c9
Fixed bottom back button in new input screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 18:00:19 +00:00
auria
803c25475f
Bugfix : don't show challenges that rely on a broken GP
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:49:04 +00:00
auria
6187f3a132
Fixed crash when backing to kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:31:57 +00:00
auria
ea42e26e8b
Removed unused input mode LOWLEVEL (seems to be a legacy from older versions; I have no idea what it's for)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:23:15 +00:00
auria
1b20105224
includes cleanup in input manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:20:36 +00:00
auria
0bb238e66a
Removed pointer visibility handling code from the input manager, it has nothing to do there and caused bugs (e.g. hiding cursor during input sensing)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:17:07 +00:00
auria
e969e91e9e
Minor code style cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:11:19 +00:00
auria
bcc7b047b3
Made ribbon side arrows non-focusable, so that warp-around code does not erroneously pick them
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 15:59:58 +00:00
auria
c9ddf98f3d
Added assertions to catch the bug reported on the forum earlier (when doing the resolution switch, not when plasying afterwards). Seems it has to deal with the material manager and the handling of 'permanent' materials (but I can't make any sense of your code there Joerg, so please help -.-)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 15:28:05 +00:00
hikerstk
77c3995b5f
Bugfix: velocity in local coordinates was not sent, which could result
...
in the AI looping if the Z velocity was very high.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 01:48:24 +00:00
auria
e0ed3291e0
Added basic input conflict reporting (conflicting bindings)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 01:06:03 +00:00
mbjornstk
92ae1673ab
Add back twisting trick every other circle (with fixed UV). Raise polycount.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 00:22:23 +00:00
hikerstk
0b12fb45ae
Fixed 'disturbed' slipstream graphics (sharp bend).
...
Also removed additional turn of every 2nd ring in the
cylinder, which made it much harder to get the texture
coordinates right.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 23:28:58 +00:00
hikerstk
ad6afbe036
Minor updates to documentation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 23:26:49 +00:00
hikerstk
c7880fe80c
Cosmetic changes to output of rendering statistics.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 23:25:11 +00:00
hikerstk
41a250e2b6
Fixed orientation of wheel rotation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 23:23:51 +00:00
hikerstk
e201176255
Reused function to create timing strings; added support for 1/100 s .
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 22:45:30 +00:00
hikerstk
0a6608069e
Fixed wheel rotation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 22:41:38 +00:00
hikerstk
29539dd39f
Added statistics about rendering to profile output.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 05:53:06 +00:00
hikerstk
fd08bd924a
Added #define to make AI not drive at all, useful for debugging (e.g. debugging
...
aiming code, improving slipstream graphics).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 05:29:26 +00:00
hikerstk
d13f8c85f6
Added #define to enable slipstreams even if karts are not moving. This allows for
...
e.g. easier debugging of the slipstream looks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 05:25:58 +00:00
mbjornstk
be4079e4c8
Remove kart.hpp as it seems to compile fine without it.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 19:07:17 +00:00
mbjornstk
93ef29f2ed
Remove kart.hpp, it has been compiling fine (add back if compiler dependant).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 19:03:07 +00:00
mbjornstk
a94eb33590
Disable real zipper from slipstream, but abuse the zipper timer to control
...
the effect duration. Global TODO: zipper / nitro / slipstream need each
a set of timer / engine power multiplier / speed limit, as well as
a fall off timer so they do not end sharply (maybe 1 sec transition
from raised speed limit to normal limit?).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 18:59:46 +00:00
hikerstk
b295fbbe15
Removed accidentally committed test code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 02:37:35 +00:00
mbjornstk
3c949e65a3
Tweak calcSteps value for experiments (half AIs get +5).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 23:58:13 +00:00
hikerstk
7cdefb4101
Enabled slip streaming, slip-stream graphics now scales according to the distance
...
between the karts, successful slipstreaming (for atm 2 seconds, see stk_config.xml)
will give a zipper boost.
This is pretty much work in progress, mostly meant to test playability, and allow
more tuning of graphics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 23:36:01 +00:00
hikerstk
9fb0c6e224
Bugfix: STK would hang if a race is restarted that had bubble gums dropped on the track.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 22:40:26 +00:00
hikerstk
56ebedd175
Fixed item handling in battle modes by adding an additional 'position class'
...
to data/powerup.xml for battle modes. This makes it unnecessary that modes
can select which powerup are available, therefore this code was cleaned up.
Also added some minor code simplifications.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 13:54:49 +00:00
auria
d1ac9142a3
Fixed joinging multiplayer game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 01:02:56 +00:00
mbjornstk
7a23f394fc
Enable backwards firing of cakes (based in ball code).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 00:29:41 +00:00
auria
16e3988ddd
Another major update to the input configuration screen. There are now separate configurable keys for menu navigations. Conflictm detection was not implemented back yet; multiplayer gameplay seems broken too. To be continued
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 23:37:38 +00:00
auria
c5b50e5a5c
Major update to input handling code to support our #1 feature request : menu navigation should not be tied to accelerate/brake/steer, there should be keys especially for menu navigation. Note that the code is not yet complete, namely you cannot configure the menu keys
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 18:56:55 +00:00
auria
abab119b6d
Fixed wrong (potentially old code) that was returning an enum item from a method returning bool (and the compiler doesn't tell, stupid C++)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:41:36 +00:00
auria
0930521e6b
Minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:40:00 +00:00
auria
3c4a67045f
Minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:39:08 +00:00
auria
4356939ca2
Minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:35:52 +00:00
auria
b1e7e6e15c
Select something by default in challenges screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:31:03 +00:00
auria
0aef68f6ba
Fixed glitch that appeared in the new input configuration screen (I actually fail to see why it worked before)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:19:23 +00:00
auria
a5a8b3ec87
Improved behavior when escape is pressed in a device config screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:18:47 +00:00
hikerstk
f60c6e7efb
Updates VS project files to include new files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 13:40:32 +00:00
hikerstk
9ee136535d
Removed VS compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 06:21:11 +00:00
mbjornstk
4ccfdfb059
Remove useless executable property.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 00:55:19 +00:00
auria
57c4a77a76
Slightly cleaned up some code in event handler
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 00:50:11 +00:00
auria
fa74a15fad
Removed outdated comment
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 22:31:01 +00:00
auria
77ecba5bc4
caught potential bug in abstract_state_manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 20:36:20 +00:00
auria
1b3ea64041
Initial incarnation of the new input configuration menu. More to come
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 19:39:09 +00:00
auria
a30c7fb403
Minor cleanup & documentation in ListWidget
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 18:11:46 +00:00
auria
c731ae5fc4
Provide our own version of irrlicht's IGUISpriteBank, since theirs is too limited for our needs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 18:08:14 +00:00
auria
0c90c98215
Work around irrlicht list limitations with dark magic
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 17:27:17 +00:00
hikerstk
e3ba096997
Print information message only on appropriate verbosity levels (to avoid
...
too many messages during a normal startup).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 13:58:13 +00:00
hikerstk
dcdb61c663
(Hopefully) fixed crash when a key is pressed after the end of the race.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 13:56:05 +00:00
hikerstk
cfda49885d
Fixed incorrect messages on easy level AI.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 13:54:31 +00:00
auria
17d871732d
Fixed typing player names when some letters are mapped to accelerate/brake/fire/etc... in some keyboard config. identified a FIXME and cleaned up another bit of code on the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 00:22:35 +00:00
mbjornstk
ac25665d1f
Disable fog for overhead/debug camera.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 00:19:22 +00:00
auria
7d23dd95f6
Make sure the 'standard' group is listed before the 'add-ons' group, and is selected by default.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 23:52:19 +00:00
auria
d114f2844b
Extracted default group name into constants.hpp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 23:40:50 +00:00
auria
fae4847d67
Minor : improved code that was indented very weirdly
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 20:05:25 +00:00
auria
0670901505
Prevent GUI messages from appearing in large quantities (e.g. when pressing a gamepad axis and only the game master can play - show only one message, not one for every event generated along the axis)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:46:45 +00:00
auria
b11285ae76
Minor improvements to invalid input detection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:35:51 +00:00
auria
d2a7856282
Minor changes to state manager for consistency (I don't think we need those features but better support my design correctly, even corner cases we don't correctly use, otherwise code is ahrd to understand)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:20:16 +00:00
auria
1bdc320742
Fixed karts selection screen messed up after a resolution switch; added some refactor to allow easier fixing of such problems in the future. Documented many more methods along the way.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:16:38 +00:00
auria
574694415a
Fixed crash in dynamic ribbon widget
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 17:17:10 +00:00
auria
bfd3aca466
Fixed glitch when doing 'race again' in 3 strikes mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 21:03:39 +00:00
auria
567ccbb95f
Yet nicer end-of-3-strikes screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 20:58:36 +00:00
auria
f57252e914
Nicer screen at the end of 3 strikes battle
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 20:36:36 +00:00
auria
889a4e4562
Give better diagnostics when trying to use kart rank and it's not set
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 20:21:07 +00:00
auria
8798ada9d9
Fixed two warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 20:16:35 +00:00
auria
9861211bca
Implemented the 'random arena' button
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 19:54:39 +00:00
hikerstk
d780f8920b
Fixed compilation proble with VS.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 03:50:27 +00:00
auria
baabc572aa
Fixed crash when pressing left/right on an empty row of a ribbon (more work later to avoid letting the user focus ever go on an empty row...)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 01:28:57 +00:00
auria
73e425fd6a
Fixed nasty bug in dynamic ribbon widget. Thanks MiniBjorn for finding that.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 01:16:27 +00:00
hikerstk
e9413ccf46
The probability of which item is collected now depends on the race
...
position. The actual distribution is defined in powerup.xml (and
probably needs some adjustments).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 01:11:22 +00:00
mbjornstk
e6e38adf59
Ear candy, now engine noise fakes 3 gears. The faster you go, the faster
...
it plays the engine noise, but with 3 ramps to make it sound like you changed
a gear and the engine RPM went down a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-29 23:17:59 +00:00
hikerstk
f2fbe0bcdd
Cosmetic change only (have same-named functions declared next to each other).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-28 23:29:23 +00:00
hikerstk
7c91eb7f34
Fixed crash when using --check-debug and a check structure kind=toggle.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-28 23:00:44 +00:00
auria
e92a0cc2ea
Improved lap count display location calculation to avoid any overlap with minimap. The position is still calculated every frame even though it doesn't change, which is a bit silly, but we can improve that later...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-28 18:26:23 +00:00
hikerstk
ac42071c82
Moved PowerupType into PowerupManager (some minor work on
...
weights for powerups started, but nothing more than some
declarations).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-28 13:17:02 +00:00