Commit Graph

2598 Commits

Author SHA1 Message Date
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
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
f09a083597 Updated default AI, added getPitch() to moveable so that camera can get the
pitch in the range it needed it (-90 to 90, not -180 to 180).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:44:17 +00:00
hikerstk
ac85c71e31 Removed 2nd debug key for bubble gum, added debug key for bowling ball.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:42:18 +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
hikerstk
7549252410 Fixed (hopefully) all items.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-06 00:40:55 +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
hikerstk
7b38753638 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 02:34:37 +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
hikerstk
1df83662f6 1) Fixed cakes.
2) Changed several animated meshes/scene nodes to use more
   general mesh/scene nodes.
3) General many more fixes for changed coordinate systems.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 12:35:58 +00:00
hikerstk
7dd318d949 First changes to history format.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-04 12:32:26 +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
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
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
hikerstk
3eae65cb89 Some progress on upright constraints.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:21:20 +00:00
hikerstk
cd24969100 Replaced calls to kart->getHPR().getHeading directly to
kart->getHeading().


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:16:47 +00:00
hikerstk
32ed6f400a Removed calls to physics debug draw while the menu is shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:15:33 +00:00
hikerstk
2813e3d75c More fixes related to camera handling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 05:14:56 +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
mbjornstk
616b20c5ea Report anchor and parachute with text too. Swapper case reorganized.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:59:06 +00:00
auria
bb67d60401 Fixed minigift issue when restarting race while a gift is growing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:41:35 +00:00
auria
f8257e4165 Minor string fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:29:35 +00:00
auria
8d2d755490 Solving a challenge will now actually show the features you unlocked. Adapted the feature unlocked screen to be able to show many unlocked features at once. Show unlocked text in feature screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:25:29 +00:00
mbjornstk
7519e3d550 Report swap action with text, not just sound.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:21:32 +00:00
auria
90b95f6944 Fixed what happens when pressing escape on feature unlocked screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 23:40:20 +00:00
auria
2efb0ceb10 Added the possibility to use trilinear filtering. Trilinear and anisotropic filtering can now be configured (disbaled) in the user config (not yet in the GUI)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 22:56:32 +00:00
auria
f12641d33b Anisotropic filtering is now specified in materials.xml. Now we can have crisp textures wherever we want, without wasting time doing the calculations where not needed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 22:18:13 +00:00
auria
7c2d181fc4 Fixed feature unlocked 'continue' button when playing from a GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 21:50:51 +00:00
auria
17d01a88e4 Clicking 'continue' on feature unlocked screen should now work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 20:53:40 +00:00
auria
d27e3d90c5 Show 'feature unlocked' screen when unlocking a feature. It's not yet complete : it doesn't really show what you unlocked, and you can't leave the screen properly (game crashes or hangs)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 20:17:31 +00:00
auria
2ee8c18e68 Fixed bug in challenges screen : solved challenges had the wrong label and description
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 19:57:47 +00:00
mbjornstk
72411827ea Add parachute to testing cheats (press F6). And trailing whitespace.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 22:39:28 +00:00
auria
892c30571a Started adding support for notifying the user that a feature was unlocked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 02:07:00 +00:00
auria
a0917dd60e Show challenge description for solved challenges too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 02:05:38 +00:00
auria
8d0827dcd0 Perform sanity checks when loading challenges
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4872 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 01:06:41 +00:00
auria
91386516e4 Added FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 00:58:59 +00:00
auria
6f278f6d1e Started implementing clicking on a challenge to start it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 00:52:41 +00:00
auria
fb35d4a390 Fixed penalty time, hopefully for good this time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-27 23:51:56 +00:00
auria
2efd3bb475 Activated anisotropic filtering. For now it's on everywhere and not selectively, which is perhaps not what we want, but it makes textures on the ground much crisper and eliminates blurring at a distance on the ground
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-27 15:54:27 +00:00
auria
5a32323c61 Modified 'setup new race' to skip kart selection (what use is this feature otherwise...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 20:10:43 +00:00
auria
7ff75dee45 Updated Xcode project : DEBUG was not defined (not I understand why cheat F-keys wouldn't work, duh...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 20:09:51 +00:00
auria
a6430189f5 Draw plunger-in-face first and not last, so messages are not hidden under the plunger
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:30:53 +00:00
auria
c151c124cb Added utility methods to set badges in GUI; used them to fix missing green badge when selecting kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:21:53 +00:00
auria
620f63adc2 Dont give plungers in 3 strikes mode (we need more weapons for this mode\!)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:09:41 +00:00
auria
9b7a0fdc31 Some fixes with end-of-race messages;don't display 'you have finished the race' when you're killed in 3-strikes mode; don't display 'you have won' when using the 'race again' button at the end of three strikes; improved FTL end
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:09:05 +00:00
hikerstk
d7c44cc93d Physics debug mode now cycles through off, show karts and collision shape,
to show only collission shape and then back to off. The command line
option --bullet-debug was removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 07:03:12 +00:00
auria
d812c0f274 Apply back fix that was committed in r4817 and mysteriously reverted in r4843, plus minor improvements to battle mode end
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 02:43:13 +00:00
auria
85227df4a0 Committed back octree, since it is now obvious I was totally wrong thinking this caused the shininess... hum, should have looked at hiker's commit first *blush*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 21:39:09 +00:00
mbjornstk
db2805bffa Wild fix for things being overlighted/white. "Works for me", please test.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 21:28:35 +00:00
mbjornstk
08106d9d2d Make cheats give bowling again, with F5 (F1 and F5 were giving both gum).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 21:20:11 +00:00
auria
05fe53f70c Reverted the (accidental) switch to an octtree, since this causes very brightly materials on Linux and Windows (WTF??) [and not on mac... WTF again...]
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 21:10:28 +00:00
hikerstk
bd33113f20 Fixed incorrect heading and pitch in vec3, fixed rescue (again),
fixed checklines, improved camera (still not fully working), fixed
incorrect 'wrong heading' messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 13:20:22 +00:00
hikerstk
13f4c5c8ab Removed unused final camera.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 03:33:39 +00:00
auria
eb15a6f11c Removed debug prints that should not have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 02:53:38 +00:00
auria
10834134d4 Started adding more interesting stuff to end-of-3-strikes battle dialog (more polish to come)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4841 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 02:52:07 +00:00
auria
ac4346cd6d Improved ebnd-of-battle dialog a tiny bit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 01:54:28 +00:00
auria
08c0d291fb 3 strikes now has some ending instead of crashing (more to come)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 01:48:32 +00:00
auria
616a3b3719 Fixed STK to not stumble upon command-line arguments that the OS X Finder might pass to the process
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 00:40:25 +00:00
auria
2945e55d89 Fixed camera doing ugly moves when restarting race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 00:16:06 +00:00
auria
8e345671a9 Some more cleanup to make code follow our guidelines
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 00:08:02 +00:00
auria
1c17346a0a Cosmetic fix : corrected confusing code indentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 23:51:56 +00:00
auria
2308e94386 FIxed penalty time, which was broken by the switch to controllers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 23:46:36 +00:00
auria
5c6df4653a Make a default selection in track selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 23:34:25 +00:00
auria
81bfc497b3 Lowered dependencies of Shadow (now accepts any scene node, no more uselessly requires an animated mesh)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 22:11:06 +00:00
auria
3ece963bc2 Lowered dependencies of Star (now accepts any scene node, no more uselessly requires an animated mesh)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 22:10:27 +00:00
auria
93c12ead08 Fixed const correctness issue with class ModalDialog + fixed behaviour when pressing ESC in race over dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 22:08:41 +00:00
hikerstk
4ca3f0e493 Fixed getHeading and getPitch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:14:55 +00:00
hikerstk
55578dbadd Fixed rescue.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:13:34 +00:00
hikerstk
5682cd0d4c Work around for bright light on Linux and Windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:12:45 +00:00
hikerstk
326be2993a Fixed raycast to track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:12:00 +00:00
hikerstk
b5471de9fc Fixed minimap.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 12:10:49 +00:00
hikerstk
fbeaa0524f More fixes to swap the bullet axis.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 05:23:00 +00:00
auria
379939e97e Show times in GP dialogs too + prevent a crash (does not fix it, tho)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 03:01:32 +00:00
auria
c0543e1c69 Fixed color display in 3 strikes mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 02:11:33 +00:00
auria
6ef1b804a5 Disable swapper powerup in battle mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 01:57:25 +00:00
auria
b656321ba6 Fixed losing lives in 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 01:52:00 +00:00
auria
9fb9d24f08 Committed my code to quickly 'profile' FPS, in case someone ever needs that again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 01:24:48 +00:00
auria
8ddd775132 Added back applause sound at gp end
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 23:47:31 +00:00
hikerstk
092a59a7d2 Very first changes. Doesn't really work yet and will most likely crash - not recommended to use :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 13:27:01 +00:00
auria
f0b59c19b7 Added a 'loading' screen, so that the game does not seem unresponsive when loading a big track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 01:00:21 +00:00
auria
6577d770fb My latest (failed) attempt at fixing MrIceBlock : allow setting material settings for untextured surfaces too. Committing because we might eventually see an interest in this
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 00:09:09 +00:00
hikerstk
f4a830fed4 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 22:08:19 +00:00
auria
77d2032682 Removed previous attempt, since irr docs clearly say 'This flag is ignored, if the material type is a transparent type.' (i.e. they're making it official that their support for alpha textures is crappy -.-)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 20:29:17 +00:00
auria
da45ef4721 Some tweaks with alpha. I thought this'd fix Mr Ice Block floating eyes, but it's not the case *sigh*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 20:26:26 +00:00
auria
812459dcb0 Improved looks of GP end
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 19:01:00 +00:00
auria
239da9419a Include problem fix : wrong case character
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 18:39:41 +00:00
auria
5121c32e21 Updated makefile for removal of bullet OpenGL demo code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 18:33:29 +00:00
auria
1fed34a601 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 16:51:48 +00:00
hikerstk
cd68ac9250 Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 12:15:36 +00:00
hikerstk
f41150eae7 Replaced OpenGL bullet debug view with irrlicht bullet debug view.
Debug view can now be switch on and off during a race (ctl-F11),
but currenlty does not display as much information as the 
original debug view (more to be implemented here).
Removed glut dependency.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 12:02:13 +00:00
auria
83b5de120b Play a different music on GP end screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 00:46:04 +00:00
auria
01bde2eb8d Added moving camera in GP end
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 00:15:36 +00:00
auria
f877987385 Fixed bug in GP end screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 23:45:13 +00:00
auria
5298b54770 Fixed a couple glitches in GP end screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 23:35:01 +00:00
auria
bbd0cf2f79 Initial work on end-of-GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 23:10:24 +00:00
auria
8f9b19a83a Moved 'continue GP' button above 'abort GP' button to please Hiker ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4786 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 02:40:59 +00:00
auria
eec4a21cbe Disable 'restart race' during GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4785 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 02:35:21 +00:00
auria
a148a2f46b No more crash on end of GP (nothing useful show yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 02:22:05 +00:00
auria
6cba2be139 Fixed config dir fallback on linux/unix; last resort should be ~/.supertuxkart, not ~/supertuxkart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 01:50:59 +00:00
hikerstk
d34a697d5d Cosmetical change only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 00:43:36 +00:00
hikerstk
be7b7d4b3c Bugfix: world was not deleted after a GP race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 00:39:23 +00:00
mbjornstk
03a438b0cb Make torque be away from zero always, so shake is a sure thing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-20 23:32:59 +00:00
auria
42c7a0c2d7 Don't allow playing broken GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-20 23:30:45 +00:00
auria
dc017fc74c Fixed plunger-in-face display
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-20 20:16:26 +00:00
hikerstk
078a56b5b5 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-20 02:43:57 +00:00
hikerstk
9a767dcdbe Added support of far camera to stk, updated final camera handling of track exporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-20 01:42:32 +00:00
hikerstk
05cd009ed1 Updated VS project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-20 01:39:51 +00:00
hikerstk
8a74cfcbdd Bugfix: ftl crashed at end of race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-19 01:00:08 +00:00
auria
262ba9275f Fixed messages saying 'tux has been', to now say 'tux has been eliminated' (strangely enough, the text is no more centered with this fix, even though I believe it should)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-19 00:53:08 +00:00
auria
b4c87bf459 Forgot to fix makefiles in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 21:30:34 +00:00
auria
b868909efe Some cleanups with ActivePlayer. Moved it to StateManager, because that's where active players are created and stored - this will be less confusing than hiding it inside a configuration class. More work is still to be done if we want to make this code really clean, though.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 21:28:32 +00:00
hikerstk
888c783b83 Added support for end-race animation (though at this stage no kart model has them).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 21:23:26 +00:00
auria
76c6ddbc93 Fix FTL having no highscores as expected; don't display highscores in end-of-race dialogs when the mode has none
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 02:08:11 +00:00
auria
7969c3cb47 Removed no more useful debug print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 01:23:26 +00:00
auria
9880ed1537 Disable the AI karts amount widget when selection 3 Strikes Battle, because we have no AI for this mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 01:07:21 +00:00
auria
583f766b50 Removed a debug print I accidentally committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 23:55:32 +00:00
auria
2478db386a Don't try displaying highscores in modes that don't generate highscores (3 strikes, FTL)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 23:52:49 +00:00
auria
bbd2ecb4c4 Clarified one method by using a enum type instead of simply 'int'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 23:35:25 +00:00
auria
d4095bf3be Make a default selection in the arena selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 23:32:43 +00:00
auria
4119544ed7 Fixed the code-side confusion of track description vs designer (track exporter needs to be adapted accordingly)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 22:19:47 +00:00
auria
263b94c706 Various fixes to get battle mode working again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 16:48:12 +00:00
auria
85d077ff1d Don't let the fix for a Windows warning create warnings elsewhere
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4752 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 16:38:46 +00:00
hikerstk
31e3806fd0 Refactor end of race handling so that more functions are done in a base class only
(esp. code that was previously duplicated in the battle mode and standard race).
There is now time for an end animation, even if the player should finish last
(in which case the previous end camera would not be shown). This mostly in 
preparation for end animations.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 11:59:51 +00:00
hikerstk
b52a2a7e9b Bugfix: if items were switched when a game is restarted, they would
remain switched.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 11:36:44 +00:00
hikerstk
895324adbb Fixed gcc compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 00:08:10 +00:00
hikerstk
8c319e87f9 Bugfix: initialisation of variable was missing, resulting in (randomly)
all items being switched at start of race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4747 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 23:55:12 +00:00
hikerstk
afdd182810 Fixed incorrect paths (hardcoded instead of using appropriate
file_manager functions).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 23:52:04 +00:00
hikerstk
46ed8ff33e Removed unused functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 23:50:52 +00:00
auria
c04cebeed7 Make arenas screen work again as well as before (which is not so good, but at least the regression is gone...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 20:12:23 +00:00
auria
b9af327a29 Converted music files to XML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 01:18:40 +00:00
auria
11b0f5b226 Removed unnecessary includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:49:05 +00:00
auria
02a2d40fb1 Removed unnecessary include and unimplemented method
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:44:35 +00:00
auria
929482c802 Removed unnecessary includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:40:32 +00:00
auria
e15c217c5f Converted GPs to XML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:33:41 +00:00
auria
9f0e6a3d83 Removed another debug print that wasn't useful
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 23:33:15 +00:00
auria
ea4cd3263a Removed a couple debug prints that w ere not useful anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 23:32:37 +00:00
mbjornstk
0d97bfe2c4 Add string include.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 22:32:53 +00:00
auria
100883034e Remove unecessary #include (sorry everyone, will cause a full rebuild)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 21:57:39 +00:00
auria
93cc5209f7 Converted sound effects file to XML. Along the way, refactored the audio code to be more flexible. before, when a sound changed, you needed to edit the config file of STK, edit the enum in the header, edit the loader in the .cpp... was annoying. Now you only need to edit the config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 19:17:35 +00:00
auria
b167931b9c Minor code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 16:12:50 +00:00
hikerstk
b28011ede2 If a bubble gum is dropped while items are switched,
immediately switch this item.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 03:07:19 +00:00
hikerstk
dfa152cd3b Bugfix: if a bubble gum was dropped while items were switched, stk could crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 02:44:39 +00:00
auria
2f1c755596 Added sound effect to using the Swapper powerup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 02:37:54 +00:00
hikerstk
1f0ea20045 Fixed makefile for linux build.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 01:22:23 +00:00
auria
8c9905d071 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 01:03:32 +00:00
auria
ff0c445d58 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 01:02:08 +00:00
hikerstk
da3de6d131 Big code refactoring: instead of having auto_kart, player_kart, the karts
now use a 'controller' object which is responsible for its steering, e.g.
a default_ai_controller, player_controller etc. This makes it easier to
switch a player kart to use a end-of-race computer controller to drive
the kart once the race is finished (though that's not implemented yet).
I expect some bugs with restarting race, and perhaps end of race
behaviour at this stage.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 00:54:28 +00:00
auria
7a2d4a2a0e Removed a FIXME that's not relevant anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 00:47:59 +00:00
hikerstk
a42629d458 Bugfix: rounding errors could cause acos(x) with x>1, resulting in a crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-14 23:29:59 +00:00
auria
ba8507f80d Fixed the 'random track' icon appearing locked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-14 22:52:35 +00:00
auria
9f37de3c5d Minor code style tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-14 21:25:07 +00:00
auria
fa81852562 Some work on GPs. @Joerg : when moving to the next race, the models of the first aren't removed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-14 21:23:38 +00:00
auria
9122b67481 Fixed crash when starting a GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 02:03:59 +00:00
auria
903f29e734 Do not try showing the full 'locked' sentence under each locked GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:59:39 +00:00
auria
219cc77c1e Handle better locked GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:53:16 +00:00
auria
6d4078d3c7 Fixed absolute vs relative paths for images, fixing lots of warnings printed on the terminal
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:44:07 +00:00
auria
512326776e GP info screen now shows cycling screenshots of its tracks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:20:52 +00:00
auria
a43196a8b4 Started populating GP info dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:01:52 +00:00
auria
cc4e1357ba Started implementing GP info dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 00:36:46 +00:00
auria
a2f03f2a0b Minor: some code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 00:16:34 +00:00
auria
a50bf44ea3 Minor: some code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 00:09:58 +00:00
auria
e426db317d Minor: some code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 00:07:13 +00:00
auria
410226503d Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 23:24:07 +00:00
auria
32d631ff00 use cycling images for GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 22:20:58 +00:00
auria
77c29ca276 Max number of rows in a ribbon grid is no more hardcoded, can now be specified ion XML.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 17:45:10 +00:00
hikerstk
ca9bf74cba Added some debug output to find reason for assert.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 02:28:52 +00:00
auria
10116f628b Give some eye candy to the GP list in the tracks selection screen + clean code along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 02:21:07 +00:00
auria
f29de6a89e Initial work towards STK adding GPs to the selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 01:48:47 +00:00