Commit Graph

3301 Commits

Author SHA1 Message Date
auria
fafed60136 Bugfix : adding depend-on="" in a challenge file would cause the challenge to be unplayable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:50:05 +00:00
auria
56ad4bbec9 Removed unused class member that was misleading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:42:28 +00:00
auria
0da7e2da10 Hopefully fixed bug about bogus kart rankings. 1) Made all karts be ranked at the same time, so there's less risk of mismatches 2) Found a precondition inside the sorting method, that was not documented in the doxygen comments, nor enforced with contracts... and sure enough someone somewhere called it without respecting that hidden precondition. Fixed the problem by removing the precondition (the new logic doesn't have the same precondition)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:39:05 +00:00
auria
38b0cfaa2a The chest scene is now shown for challenges that require beating a GP too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 17:04:05 +00:00
auria
5239b62e0d Notify player when he unlocked a feature by completing a GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 16:44:09 +00:00
mbjornstk
9606ee9ab6 Add zipper cheat, F7 key. Useful to test high speed behaviour.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 03:18:11 +00:00
mbjornstk
220f00ed10 Abstract engine power to a single call. Now karts are 4WD 40-60 ratio.
Real karts are not 4WD, but behaviour seems better while jumping/turning.
RWD is easy to put back, or FWD, or any other ratios, no more per wheel
calls except if really needed (traction control, differentials, etc).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 22:54:53 +00:00
auria
0623cce462 Fixed crash at the end of a GP if there is a challenge associated to it. Also, it is now detected properly when you unlock a feature by winnign a GP (however the chest scene doesn't yet apepar)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 18:42:04 +00:00
auria
32f1e24b4a Added sanity checks to debug bogus rankings, especially in GPs. Improved Doxygen documentation on the way.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 16:52:20 +00:00
auria
45a2e6dc5f Updated strings and french translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 02:25:25 +00:00
auria
4340cccd9f Added support for displaying the same fonts in different sizes. Use smaller font for in-game messages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 02:03:39 +00:00
auria
11c147c8e9 Display less important messages in white, at the bottom of the screen, to not detract attention from gaming. Fixed probable grammar mistake in string
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 01:35:57 +00:00
auria
2827533e70 Don't allow selecting ribbon grid filler items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 00:54:07 +00:00
auria
0efd96d8da Fixed '?' icons still appearing at times in ribbons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 00:36:38 +00:00
auria
54c53d000e Improved message 'you unlocked a feature' to look nicer and be more obvious
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4947 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 00:21:51 +00:00
hikerstk
d5307f655e Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:41:31 +00:00
auria
cdc53c81b2 Fixed objects slightly going through chest, explicitely mark a couple constants as floats to make the code clearer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:07:34 +00:00
auria
127d58e2dd Removed GP descriptions, they weren't useful in any way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 23:51:44 +00:00
auria
6d800e52fa Fixed track screenshot being flipped when coming out of chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 23:42:44 +00:00
auria
26fc6bb627 Fixed screen cleanup method not being called under some circumstances
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 23:38:27 +00:00
auria
6b65eb0217 Applied other patch by Hilton Medeiros
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 19:45:16 +00:00
auria
228808f981 Applied other patch by Hilton Medeiros
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 19:43:35 +00:00
auria
4349a8961b Fixed positive/negative axis display (show +/- and not 43/45)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 16:20:30 +00:00
auria
e23c222a59 Applied patch by Medeiros Hilton for input (with some modifications)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4934 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 16:17:47 +00:00
auria
5d127c878c Removed unused constant, fixed compile error in switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 02:41:10 +00:00
auria
d0624a7ab7 Improved vertical spacing betweewn messages to adapt to font (but multi-line messages are NOT supported anymore)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 01:58:27 +00:00
auria
c18ba6bc03 Fixed funny-colored stuff coming out of the chest (and fixed the network button hack to get there quicker)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 01:42:54 +00:00
auria
bdd985c88a Can now unlock game modes too. Centralized a couple mode-related stuff to make code cleaner with new changes. Made challenges more robust, fixes a couple crashes that could happen because errors went undetected
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 01:28:23 +00:00
auria
cf7382700f Allow 'setup new race' in FTL and TT modes too, not sure why it was ever disabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4928 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 23:38:28 +00:00
auria
9dcc758862 Improved gamepad sensing logic
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 16:15:15 +00:00
mbjornstk
4814c03e2b Report with text when band gets attached to a kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 22:42:01 +00:00
mbjornstk
455393e966 Print message only if a kart is hit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 20:19:07 +00:00
mbjornstk
4a2e7d57b1 Report "plunger in face" hits with text. Band/pick mode not done yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 20:00:39 +00:00
auria
6b95ca8ec3 Removed debug print that shouldn't have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:53:12 +00:00
auria
0fffb14b88 Fixed focus loss issue when using tabs in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:50:45 +00:00
auria
eb5c201168 Code cleanup in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:40:49 +00:00
auria
4230ff6ec7 Minor code style fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:03:56 +00:00
auria
feefff8997 Fixed slight shaking in end-of-GP scene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:00:36 +00:00
auria
b09f463c2f Don't show the 'all groups' tabs when there's only one group
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 18:37:39 +00:00
auria
03d0380a52 Undid AGAIN a change that was not supposed to be committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 18:36:38 +00:00
auria
fd502f0604 Implemented track group support
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4914 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 18:29:16 +00:00
auria
8add3c930f Started implementing track group support; implemented 'random track' support
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4913 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 18:10:45 +00:00
auria
9e1ce6db4e handle maximum number of players in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:56:34 +00:00
auria
c17f4f0e07 forbid changing kart group after a player confirmed his selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:48:31 +00:00
mbjornstk
72396ae3be Add minor extra details so the 1024 resolution is justified/useful.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:25:23 +00:00
auria
980b38004d Minor : indentation fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:23:05 +00:00
auria
9f3aec4df4 Removed magic constant *blush*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:10:38 +00:00
auria
67bf020e38 Added materials file I forgot to commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4907 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 23:54:05 +00:00
mbjornstk
f79865add0 Report hits of cakes and balls with message. Plunger fails for now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 02:07:36 +00:00
mbjornstk
80061370ce Add missing conversion to message.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4901 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 02:05:56 +00:00