Commit Graph

716 Commits

Author SHA1 Message Date
hikerstk
29d09a85da Updated for bullet 2.68.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1801 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 02:19:13 +00:00
cosmosninja
a78596f348 Allows the widget managet to use filenames to set them as textures.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 22:05:33 +00:00
thebohemian
9d03c22898 - added license header to input.hpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 20:33:53 +00:00
cosmosninja
3ff3fc9900 Fixed race results gui buttons not being selectable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 17:32:22 +00:00
hikerstk
bb339750da Some code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 14:59:47 +00:00
hikerstk
32b18bedc0 Fixed windows compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 14:52:58 +00:00
hikerstk
cc51a56827 Locked skidding (which can now be selected as the hardest difficulty).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 14:41:15 +00:00
cosmosninja
a381a2ed94 Removed duplicated widget.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 09:05:41 +00:00
cosmosninja
3e636f1c7a Widgets can now be resized depending on their text when calling layout(); plus, some clean ups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 09:03:02 +00:00
hikerstk
de79f4e116 Added missing GPL header.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-01 01:22:31 +00:00
hikerstk
d0a3376855 Use the optimised triangle meshes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-30 23:53:57 +00:00
scifly
567a9bfa2c Fixed Typo in challenge desription.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 12:47:38 +00:00
hikerstk
6669b05775 Fixed visual studio compilation problems and removed a warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 05:04:14 +00:00
hikerstk
25d6b147e1 Update to bullet version 2.68.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 04:39:26 +00:00
hikerstk
0b4ceb8c2b Removed minor memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 03:50:08 +00:00
hikerstk
1fd6eb7b66 Updated project file which includes new challenges and gui for visual studio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 03:40:59 +00:00
hikerstk
e993add76d 1) Made some of the upright constraint parameter configureable.
2) Made some camera parameters configureable.
3) Some code cleanup for karts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 03:29:28 +00:00
hikerstk
831a4c76af 1) Fixed some windows compilation issue.
2) Fixed typo (wrong mode comparison).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 03:25:20 +00:00
cosmosninja
cff652a208 Disabled lap count from follow the leader mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 00:09:43 +00:00
scifly
feab28cdce 1. Added challenge for At world's end grand prix.
2. Bugfix: active challenges are now refreshed when a challenge has been 
completed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 21:26:33 +00:00
scifly
a640b67e00 Fixed typo and code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 14:37:25 +00:00
hikerstk
a76c929033 Explosion now don't affect the kart that shot the rocket (unless
it's a direct hit).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 12:34:51 +00:00
hikerstk
b70006b09b Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 12:34:08 +00:00
hikerstk
35c7716017 Bugfix: avoid crash triggered when a rescued kart (or any kart with speed 0)
is on a zipper (which happens with the new fort magma track).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 12:33:29 +00:00
scifly
95f574d3eb Fixed Typo in time required.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 07:36:35 +00:00
scifly
3aa080c0be Fixed Typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-28 07:32:06 +00:00
cosmosninja
eaa7ed6c61 Fixes a compile error and adds the 'starting race' screen to the challenges menu races.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 22:15:59 +00:00
scifly
39c2690102 Added new challenges that lock most of the new tracks/features.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 21:48:32 +00:00
cosmosninja
f5eeae2bfd Reworked the title screen and lock buttons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 19:16:50 +00:00
hikerstk
b954c0dc29 Disabled skid marks (since they don't work as expected).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 12:14:26 +00:00
cosmosninja
146c058ab1 Added a simple screen for feedback when the race starts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 07:35:02 +00:00
scifly
1d1aa18f35 Bugfix: Fixed typo in track list that prevented islandtrack from
starting.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 07:24:33 +00:00
cosmosninja
c805cfe396 Added lock texture to the ??? buttons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 07:00:21 +00:00
cosmosninja
1015c1ba56 Joined the difficulty, number of karts, and number of laps into a single screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1751 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 03:20:24 +00:00
cosmosninja
1b9658debb Fixed comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 03:17:37 +00:00
cosmosninja
66583ff3bf The image buttons are gray by default now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-27 03:16:48 +00:00
cosmosninja
a180b85849 Fixed a bug in the widget manager which disallowed columns after widgets.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-26 08:51:46 +00:00
cosmosninja
12f861c3a2 Fixed some typos in comments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-26 08:49:09 +00:00
cosmosninja
652d0ade9e Fixes bug, not being able to select first track in the list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-26 04:27:21 +00:00
cosmosninja
a702e0de9e Some widget reorganization
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-26 04:23:07 +00:00
cosmosninja
716d22d1e4 Re-added the performance improvements so that the character selection and the track selection screen update the selection only when it has actually changed, without the annoying bugs where parts or the whole screen disappeared.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 20:00:53 +00:00
cosmosninja
3586600d70 Revert last commits to the track selection and character selection screens.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 09:18:30 +00:00
hikerstk
3e65eb20e4 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 07:30:19 +00:00
cosmosninja
7514928dea Added the track list of the selected grand prix and cycling images of those tracks to the grand prix selection menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 06:53:29 +00:00
cosmosninja
4779b1a22c Improved the track selection and character selection speed by only changing the track images and kart models when they need to be updated, respectively.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 06:52:14 +00:00
cosmosninja
3403a7b72d Removed unnecesary enum.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 06:51:03 +00:00
cosmosninja
b33b9fab2d Gave the widget manager the ability to say when a widget was just selected.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-25 06:50:24 +00:00
scifly
7709270e7f BugFix: 1. Corrected the number of karts needed for the race track time
challenge when started from the challenge menu.
2. Added a check that 4 or more karts competed in the race track 
time challenge.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 17:29:23 +00:00
cosmosninja
cb09ff873e Added the widget manager the ability to change the font's color.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 07:06:09 +00:00
hikerstk
5ac7f44802 Removed Visual Studio compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 04:10:32 +00:00
cosmosninja
f223c02865 Added macro functions to add widgets, at the moment only the main menu is using them.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:29:28 +00:00
hikerstk
d3fc0720ac 1) The challenge menu now displays the description when hovering over name,
if the name is clicked, a race for this challenge is started (e.g. a
   unfinished track in the 'all track' challenge, or the race/GP that
   needs to be raced with the right number of opponents, difficulty etc).
2) The all_track challenge now has a list of all tracks (instead of simply
   couting).
3) Fixed typo: the short description of the collect coin challenge had
   'race track' specified in the short description.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:17:18 +00:00
hikerstk
1e13597165 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:12:58 +00:00
hikerstk
39eae930da For music that doesn't have a faster version specified in the music
information files, the pitch is increased creating a somewhat faster
version. The maximum pitch can be specified in the information files
(keyword 'max-pitch', defaults to 0.1), and the duration over which
the pitch is increased as 'faster-time' (default: 1 second).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:07:53 +00:00
hikerstk
f04032300b Removed warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:04:27 +00:00
hikerstk
5d0a30f6cb Bugfix: in follow the leader mode faster music could be triggered too early.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:03:55 +00:00
hikerstk
b0eb25ce5e Skid mark sections are now displayed using display lists once they
are finished.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:03:13 +00:00
hikerstk
b6541195c2 Added an 'upright constraint' which prevents the karts from toppling
over after a jump (e.g. ramp, or paper plane).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-22 14:20:52 +00:00
hikerstk
70badaa9ea Fixes vector normalisation issues (which can result in crashes due to NAN values).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-22 14:02:07 +00:00
scifly
9656c70bbf Bugfix: Enable AI karts to be rescued after taking an invalid shortcut.
This is needed now that skidding has been implemented because AI karts 
are more likely to crash off the track and onto other parts of the 
track. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 14:16:53 +00:00
hikerstk
54bdd49ab7 Added missing file from previous release.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 01:32:14 +00:00
auria
b59a7f32d8 cleaned up translatable strings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 00:09:23 +00:00
hikerstk
dd253390fb Bugfix: direct hits of karts by projectiles were not recognised due to
using an incorrect pointer. This could lead to karts being pushed through
the track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:37:20 +00:00
hikerstk
c6ce384a02 Added support for spherical physical objects (e.g. rock tumbling down), plus
automatic reset if the objects falls off the track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:30:28 +00:00
hikerstk
6876a60e41 Made explosions a bit more robust (i.e. not avoiding pusing kart through tracks),
and direct hits a bit more severe.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:28:37 +00:00
hikerstk
19e4ba93d7 Bugfix: pressing esc in this menu could cause a crash (which happens esp. for
people who mapped the gamepad esc button to accelerate: the key would still be
pressed when the leader-result menu is shown, causing a crash).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:25:21 +00:00
cosmosninja
0a41f57aee Fixes the AI not doing wheelies in jungle track; removed unused variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 18:07:04 +00:00
hikerstk
83382cb5e5 Cleanup of skidmark code (no visual change yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 09:01:23 +00:00
hikerstk
4ba210c28b Removed time display from leader-result menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 08:57:37 +00:00
hikerstk
fae04312c8 1) Bugfix: in some rare circumstances (one kart on top of another kart)
a null pointer would be accessed.
2) Removed smoke.rgb warning.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 06:26:36 +00:00
hikerstk
1a587b9ff5 Reverted to previous version, this file was changed by accident (and
resulted in displaying wrong/incorrect times during follow-the-leader
mode).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 01:05:41 +00:00
scifly
fdf650604d Bugfix: Bug 1944513, Fullscreen mode is now retained across starts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 12:19:12 +00:00
hikerstk
63a70c3f4b Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 11:44:15 +00:00
hikerstk
a03dc10d67 Fixed automake installation, using Robert's 'find' approach for
flexibility.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 05:34:45 +00:00
hikerstk
47f23369e8 Added some const declarations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 04:37:49 +00:00
hikerstk
a53ca214c5 1) Follow the leader mode now removes the first kart if
the leader is not the first.
2) AI karts brake if they are ahead of the leader
3) The leader has now the text 'leader' displayed next
   to the item.
4) The ranks in the leader results table are now correct
   (starting with 1 instead of 2)
5) Fixed two potential bugs, which might result in
   triggering an assert.
6) Replaced assert (in case that it should get triggered
   again) with useful messages to stderr.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 00:20:06 +00:00
hikerstk
3612996109 Bugfix: part of the 'high above kart pointing downward' camera mode was still being
used (in split screen multiplayer), resulting in the camera showing only the road.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 23:38:31 +00:00
hikerstk
bae0f9efdc Bugfix: skid marks were not displayed when the beginning of the skid
marks was not visible anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 10:00:11 +00:00
hikerstk
f15964bb92 Enabled skidmarks again, and made them work with bullet physics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 09:57:50 +00:00
hikerstk
68dae90d15 Added first beta version of 'follow the leader' mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-15 13:57:18 +00:00
hikerstk
0867675fb9 Removed deleted race_setup.hpp from Makefile.am.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-10 00:38:42 +00:00
hikerstk
3e6a0cf5ab 1) Removed race_setup and race_mode data structures. All this
information is now only managed by the race_manager, no
   more in-between objects to transfer information along.
2) The scores for grand prix are now defined in the stk_config.dat
   file (10, 8, 6, 5, 4, .., 1, 0, 0) points
3) Bugfix: unlock information wasn't saved anymore. Added specific
   saving after unlocking, plus re-inserted the 'generic' save
   at the end of STK again.
4) bugfix/work around: Visual Studio complains about incompatible
   iterators in sdldrv - apparently caused by using erase, and
   then keep on using the iterator.
5) Fixed bug when running a race in a GP again (scores/times
   were added each time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-09 13:52:48 +00:00
cosmosninja
b3edac2171 Readded text in fullscreen button.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-06 02:34:59 +00:00
thebohemian
f9a1798bc5 - added best-effort algorithm to detect a formerly used joystick
- added stick config entities to configuration which includes a deadzone value
 - added methods to read and save this new entities
 - make StickInfo a part of the SDLDriver class
 - some spelling fixes
 - save config when leaving options menu through escape key (GA_LEAVE)



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-31 23:15:33 +00:00
hikerstk
59e5960df4 Fixed compilation problems (on Visual Studio).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-31 11:55:41 +00:00
cosmosninja
1ebcbf4b7c Widgets can now use borders + 2 memory leaks fixed found with valgrind within the Widget Manager's selection.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-31 01:02:20 +00:00
thebohemian
122b22a77e - make sdl driver a class
- fix all uses of the new class
 - fixed a few spelling mistakes
 - config is now saved upon leaving options menu (not when the game is ended)



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-30 15:18:19 +00:00
hikerstk
b1faf872b3 1) Bugfix: solved challenges were not causing the corresponding
features to be unlocked when reading the configuration.
2) Some minor code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-27 11:51:01 +00:00
hikerstk
1712d707b9 1) Added unlocking (Grand Prix mode, snowtuxpeak and
jungle track are locked now)
2) Fixed gettext handling for windows, added initial
   (and by now somewhat outdated) German translation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1674 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-27 02:38:10 +00:00
hikerstk
f0bd9754ba Fixed incorrect print of std::string.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-26 00:36:47 +00:00
cosmosninja
9314a900ca Applied Charlie Head's widget manager selection memory leak bugfix.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-25 04:30:10 +00:00
scifly
e0df542884 1.Bugfix: Quitting the confirm resolution menu after changing to
fullscreen, now returns to window mode and does not blacklist the 
resolution as happened previously.
2.Bugfix: Fullscreen button is now no longer available for blacklisted 
resolutions when first entering the Display config menu.
3.Bugfix: When changing from a blacklisted resolution to a 
non-blacklisted resolution in window mode, the fullscreen button is now 
shown.   


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-20 16:39:11 +00:00
cosmosninja
d17cb88850 Fixes 'not being able to select the quit button' bug in the race menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-20 14:32:20 +00:00
hikerstk
39e56e7534 Bugfix in case no fast music is specified.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-20 03:00:28 +00:00
hikerstk
ef4de3a790 Added sound effect when a player_kart is overtaken.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-18 01:41:06 +00:00
scifly
cfaa30012a Bugfix: Added a conditional statement to update(dt), to prevent it
accessing a Null pointer.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-17 14:08:53 +00:00
hikerstk
4200f316de Added support for 2 music 'styles' in one .music file: the normal
music, and a special 'faster' music which will be played during the
last track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-17 05:18:26 +00:00
cosmosninja
8417315678 Joerg's fix for the material's memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-17 04:43:01 +00:00
hikerstk
6e336a379e Bugfixes for linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 10:49:23 +00:00
hikerstk
29dfd09f7c 1) Improved sound_manager to support separate
sound packages, and using "*.music" information
   files for additional information music. 
2) Removed old/unused plib sound support.
3) Moved all .ogg files to either data/music, or
   to the tracks where they belong.
4) Moved fonts to data/fonts; wav to data/sfx,
   po to data/po, herring to data/herrings,
   models to data/models.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 09:49:17 +00:00
cosmosninja
ed98654aa7 Moved wav directory to sfx
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 06:55:10 +00:00
cosmosninja
2081a2b687 Moved the ./po directory to ./data/po
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 06:38:01 +00:00
hikerstk
195c83e4c8 1) Fixed crash on linux when saving history.
2) Added getDifficulty to race_setup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-09 04:57:07 +00:00
hikerstk
fac59355c0 1) Cleanup of unused data in stk_config/kart_properties
2) Removed 'magic' constant 0.0044 from steering
   computation; replaced by DEGREE_TO_RAD, which means
   that steering values in stk_config.data and .kart files 
   have to be divided by about 3.9
3) Added early cancellation of parachute when a slow down
   of 30% is reached (defined in stk_config.data). This allows
   karts to brake and get rid of the parachute earlier.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-06 13:32:51 +00:00
hikerstk
6324285de8 1) Zipper now get an immediate speed boost when they are activated (instead
of only a higher acceleration).
2) Code cleanup (removed unused functions and config parameters).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-05 13:22:00 +00:00
hikerstk
6c5efc2bc2 Moved all kart specific files into separate subdirs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-05 02:09:50 +00:00
hikerstk
6909eeee8b Bugfix: sometimes karts jumping down the ramp in tuxtollway would
incorrectly be rescued. This fix avoids the problem (the raycast for
terrain detection actually starts under the track) by letting the ray
start a certain epsilon higher.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-04 03:37:42 +00:00
hikerstk
834ca925ba Fixed 'rescue to incorrect sector' bug (karts were rescued to the sector on
which the shortcut was detected, and not to the last valid sector).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-03 11:51:01 +00:00
hikerstk
859ec6fcaa Added loader.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-03 03:48:04 +00:00
hikerstk
9715f53659 1) Split file_manager into file handling functions (in file_manager),
and loading related (very plib specific) functions in the new
   loader object.
2) Move *.tkkf files into separate subdirs, and renamed them
   to *.kart  files.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-03 03:31:12 +00:00
hikerstk
0f05001944 Applied Coz's bugfix for crashes on windows/macs when
the resolution is changed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 12:53:44 +00:00
hikerstk
5b32e58b83 Fixed incorrect rescue (which happens typically when jumping
down in tux tollway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 12:43:23 +00:00
hikerstk
31e0b93243 Fixed compilations problems with Visual Studio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 12:40:50 +00:00
cosmosninja
3183b6bb3e Added file that was missing to src/Makefile.am
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 02:29:12 +00:00
cosmosninja
573694016c Improved the pointer's(mouse) widget selection method, so that instead of using a bounding box to know if the pointer is on top of a widget, it draws the widget's rect into OpenGL'sselection buffer; this way, the widgets can be selected with precision regardless of the rotation or if it has rounded corners or not.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-01 21:13:57 +00:00
hikerstk
32d4e3f117 1) Renamed loader to file_manager
2) Moved more track specific textures into corresponding track subdirectories.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-01 03:18:53 +00:00
cosmosninja
c201b12dd9 Reverted back alut file loading code to the deprecated code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-29 23:35:25 +00:00
hikerstk
ce57025781 First part of directory restructuring: all track specific files are
now in their own subdirectory (including models, textures).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-29 03:26:07 +00:00
hikerstk
9f6f5f6209 Renamed variable, since "ERROR" is apparantly reserved/used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-28 04:37:18 +00:00
cosmosninja
429d63e0bb Changed some text for the configure script to reflect that ogg/vorbis is needed for music, and hopefully uses the right alut function depending on the version.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-28 04:22:58 +00:00
auria
1b13ae6346 Improved ALUT error checking when a sound fails to load
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-28 00:26:38 +00:00
hikerstk
864b6abd4e Bugfix, tracks were not found if STK was started in (e.g.) src.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-27 11:53:43 +00:00
hikerstk
ef4dd43104 Moved all *.track, *.drv{l,r}, *.loc files into the new location
at data/tracks/TRACKNAME.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-27 01:11:02 +00:00
hikerstk
0b4bf8631c Bugfix: out of bounds access could happen when only a few
tracks were available.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-27 01:06:50 +00:00
thebohemian
b1160ae5b3 - make continue/start widget the default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 19:21:00 +00:00
hikerstk
8e108ff600 Bugifxes for new loader (when STK was not started in root
directorym files were not found).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 12:15:51 +00:00
hikerstk
23076d39e8 Added missing files from previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 11:59:44 +00:00
hikerstk
fbeee35bc2 Added menu to select the number of karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 11:54:26 +00:00
hikerstk
2546c88019 Most (all?) directory handling is now into the loader.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 02:30:28 +00:00
hikerstk
8d2779495b (See r1587 on 0.4rc1):
1) empty robot templates have been moved from
   'tools' to src/robots (documentation was updated),
   and are now included in source distributions
   Removed tools directory which is now empty.
2) Include documentation in source distributions
   (but only player_manual will be installed)
3) Added missing bullet documentation files
   and removed unnecessary cmake files. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-25 02:22:04 +00:00
auria
fa549f3e98 Added dynamic data path detection for mac OS X
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-25 00:51:08 +00:00
hikerstk
cf3303367f Fixed 'no music/sfx in VS when using optimisation' bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-24 23:02:56 +00:00
cosmosninja
b0338915c0 Removed deprecated alutLoadWAVFile() function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-24 05:53:18 +00:00
hikerstk
881e2cd6a9 Bugfix (loader called twice, causing textures not to be found if
STK was started from the src directory).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-24 03:32:14 +00:00
hikerstk
91bdd03061 Added missing VS project files to installation (see r1569 on 0.4rc1 branch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-23 11:33:26 +00:00
hikerstk
9a92ab6822 More improvements to loader: all textures are now loaded
via loader functions (and not via a hardcoded path). Replaced
a lot of char* handling with std::string (though that's still work 
in progress).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-23 08:21:30 +00:00
hikerstk
d68cfc3330 Added missing initalisation, fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 13:08:21 +00:00
hikerstk
7380668ade Fixed incorrect delete.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 13:06:50 +00:00
hikerstk
c34f0aa55a Properly removed 'too-far-away-from-track' - shortcut detection.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 03:40:40 +00:00
hikerstk
7501c01cf3 Re-enabled setting a link in the start menu (need NSIS shell link
extension), and improved installer to install visual studio and
openal redistributable packages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1561 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 03:33:47 +00:00
hikerstk
3afc670529 Added windows prerequisites: openal redistributable, and
vc++ redistributable. This is necessary to run STK on
machines where no openal and/nor no VC is installed
(including the .dll files is not enough).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1558 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 00:51:00 +00:00
hikerstk
b8a8564416 Added icon files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 00:47:06 +00:00
hikerstk
8ee7eb19fc Added windows installer (r1554 on 0.4rc1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 00:43:13 +00:00
hikerstk
10368e5a5b Bugfixes to get 'make dist' to work:
1) file names longer than 99 characters require [tar-ustar]
   option in AM_INIT_AUTOMAKE
2) Added some missing bullet files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-19 03:06:57 +00:00
hikerstk
533e313a87 Adjusted the layout to allow the author text to use
two lines, which was needed for sandtrack and lighthouse.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-19 00:09:03 +00:00
hikerstk
d6ca127ae4 Fixed crash/abort in STK when the .readme file for a song wasn't found.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 10:13:25 +00:00
cosmosninja
2d0f761ffe Fixes getting input during menu switching.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 04:27:49 +00:00
hikerstk
930a1ef2b5 Added AI tweaks (adjusting curve speed and angle
depending on track). Details in wiki.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 04:16:57 +00:00
hikerstk
720d31edc5 Removed visual studio compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 02:28:33 +00:00
hikerstk
1efbf46e8f Cosmetic change: replaced tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 02:25:54 +00:00
hikerstk
bea8439052 Enabled up to three internal substeps for the physics, which means
that we could work with framerates as low as 20 FPS without
getting noticeable changes in the physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 02:03:06 +00:00
hikerstk
39be9a9f67 Bugfix, the gravity was not read correctly from .track files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 22:35:17 +00:00
hikerstk
f7ab0ed91f Improved profiling: specifying a negative number (--profile=-2)
indicates the number of laps to measure, at the end a summary is
printed.
No collectables/attachments are done (can easily be activated again),
to allow focusing on AI drive performance.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 12:58:12 +00:00
hikerstk
7b51fc9d6e Removed warning for g++ compilations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 12:47:26 +00:00
hikerstk
4708d07c4d Work around the physics problems for wilber and hexley kart
by changing the size of the physical model to be the same
as the tuxkart.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 12:29:14 +00:00
cosmosninja
10f0a74203 Fixed bug with a wrong return in config display.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 05:24:52 +00:00
hikerstk
8c4d1fd784 Removed some compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 05:19:33 +00:00
hikerstk
e1d544251e Used previous bug fix again, since the optimised triangle meshes
still cause an incorrect rescue (in bsod castle).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 04:37:43 +00:00
cosmosninja
57af89dae6 Improved resolution switching.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 03:53:39 +00:00
hikerstk
751ed6d748 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 08:03:46 +00:00
hikerstk
35514f15f8 Update to bullet 2.67 beta1 (which fixed the problem of karts falling through the
track with optimised triangle meshes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 03:53:41 +00:00
hikerstk
35af794f33 Bugfix - plib support would not compile anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 03:51:31 +00:00
cosmosninja
88da3d1da4 Added wilber kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 01:58:51 +00:00
hikerstk
73aad215d0 Minor code cleanup (removed unused function).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 07:41:18 +00:00
hikerstk
7d4bfd3d13 Fixed previous patch for detecing of invalid kart names.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 06:57:00 +00:00
hikerstk
c2ad6c856b Fixed crash when an incorrect kart name was specified
on the command line (--kart).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 06:16:06 +00:00
hikerstk
90972ce605 Bugfix: data path was not used to find the music readme files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 04:52:29 +00:00
hikerstk
796050e037 Fix: start displaying timer, map etc when GO is being displayed, and
not when the GO disappears.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 02:24:54 +00:00
hikerstk
beb8c742db Added missing initialising (which can cause AI karts to
be rescued at the beginning of a race).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 11:15:49 +00:00
cosmosninja
da8870162e Fixed a comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:59:29 +00:00
cosmosninja
9dfd898e31 Changed the minimum height requirements for sector detection from -3.5 to -2.0
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:57:53 +00:00
hikerstk
4562dec6b6 1) Increased number of physic simulation steps before the race is started to
make sure that all karts are firmly on the ground.
2) Avoid changing the pitch of the camera during race startup. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:42:18 +00:00
hikerstk
0bf192c068 Bugfix: start phase was not correctly determined, resulting in penalty if a
key is pressed while 'go' is still on the screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:40:31 +00:00
hikerstk
1f3055a443 Bugfix: the camera would tilt too much if the loading time of a track
is long. Removed some debug output.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 01:18:51 +00:00
hikerstk
7550f687da Bugfix/code cleanup: the loading time was counted as countdown time
in certain circumstances (e.g. when setting up a new race from the race menu).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 01:02:02 +00:00
scifly
646e98684a Improved my (paul) last patch to allow immediate dis/en-able music from
in race sound option menu.
Removed spaces from ogg file names in those *.track files that required 
it.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 13:50:08 +00:00
hikerstk
981f5bb424 Missing part from Paul's patch - dis/en-able music
when music is switched off/on in sound option menu.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 12:37:47 +00:00
scifly
554c9cd41b Bugfix: Returning to the menus from a race does not return the theme
music.  


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 09:27:38 +00:00
hikerstk
1a5b7bd7e7 Applied (a slightly modified) version of Paul's menu music
patch and added a main theme music.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 04:35:39 +00:00
hikerstk
3a3545c058 Removed source files for playing mod music from the source tree and
windows project.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1462 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 03:42:55 +00:00
hikerstk
f03fee4c9e Music description is now displayed as
"title"
  by Name


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1461 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:16:59 +00:00
hikerstk
1d11a1fac9 Bugfix: when a restart is triggered while a kart
is being rescued, this kart could not be driven
anymore (till it was rescued again).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:10:05 +00:00
hikerstk
0f6d732e68 Bugfix: moving physical objects would keep their speed when
a restart is done - so they would be placed at their start
position, but still rotating/moving.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1459 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:08:48 +00:00
hikerstk
b9bfb128e4 Fix crash when running a GP with a track with moving physical objects
in it at the end (e.g. tux tollway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:07:00 +00:00
hikerstk
fcaec31da6 Fix incorrect camera tilting when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:01:27 +00:00
hikerstk
dc64a2269e Automatically enable the brakes for all karts during start,
so that they don't slide downhill during countdown.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-11 02:20:51 +00:00
hikerstk
3ac760d4e0 1) Added warning message to configure when ogg files can't be played.
2) Removed more mikmod #ifdefs.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-11 00:46:37 +00:00
hikerstk
85490b5f8e Added a very simple display to show information about
the music currently being played (first two lines from
the *readme files, should be title of music and
composer/musician).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-10 23:17:25 +00:00
scifly
b507825bec Changed the overall GP time variable to a double from a float
Added the overall GP time to the GP end screen 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-10 22:04:45 +00:00
scifly
15adc2f2d4 Removed one of the kart sorts that occurred after a grand prix ended.
If karts tie on points at the end of a grand prix, they are now 
evaluated on overall race time too. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-09 20:23:14 +00:00
hikerstk
c23ac39b05 1) Some bugfixes to the linux compile environment
2) Fixed the 'waiting for AI karts' time back to the original value.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-08 08:16:35 +00:00
hikerstk
8bc9fd0286 1) Added a better estimation of finishing time for karts that
didn't finish, based on the up-to-now average speed.
2) Changed the race result display to display all results 
   (and not to ignore the last entry).
3) The race will not finish if the last kart racing
   and not arriving in time is a player kart.
4) Made world->m_clock private and added getter function.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-08 04:43:35 +00:00
hikerstk
34580af755 Avoid the 'machine gun like' sound effect caused by
repeatedly playing the crash sound - which is caused by
1) collisions reported more than once (since it takes
   a few frames till a collision is resolved)
2) collision between karts and tracks when accelerating,
   which is most likely caused by the chassis hitting
   the ground (that might be fixed by better physics
   parameters).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-07 10:10:27 +00:00
hikerstk
a3094590d6 1) Improved handling of 'moving' or 'physical' objects (e.g. road cone).
You can now shoot them, and they will be pushed aside by a close-by
   explosions.
2) Bugfix: Physical objects are now reset to the correct starting location.
3) Physical objects have now angular friction defined, preventing them from
   rotating endlessly.
4) Karts have now some 'restitution', which adds a bit of bouncing to collisions.




git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 11:56:21 +00:00
cosmosninja
5767b4f616 Reverted the changes to the widget manager from the last commit (somehow hit enter before finishing to write the whole command and it sent all the files, Ctrl-C didn't helped, sorry).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 03:11:13 +00:00
cosmosninja
f93b8b07e6 Raised the limit of the check for the sectors to
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 03:07:48 +00:00
scifly
5050603f9e Added an additional check to ensure a resolution is not blacklisted
twice.
Re-seperated crash detection from kill 'detection' (see next).
Added additional saveConfig() calls to ensure that the correct current 
and previous resolutions are stored in the event of the game being 
killed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-04 14:28:44 +00:00
hikerstk
d8864f3f71 Removed VS compiler warnings (missing type cast).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-04 12:31:21 +00:00
cosmosninja
fa90139fc8 The pulse effect is now done using the center of teh widget as the center for the scale transformation, and removed a minor warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 22:29:07 +00:00
hikerstk
56db981ece Fixed crash when using 'moving_physics' object.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 12:21:20 +00:00
cosmosninja
768c16ed38 Replaced the previous method of clipping the text outside of the bounds of a widget using the scissor test, and changed it for an stencil test, since the stencil test doesn't needs to be rectangular, thus, it doesn't shows text outside of the rounded borders or while rotating.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 08:34:41 +00:00
cosmosninja
7d2e056752 Removed a warning and fixed a bug with text scrolling introduced in the previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 05:59:40 +00:00
cosmosninja
d20a7a229b Added rotation to widgets, but it's incomplete; text doesn't shows outside of the 'normal' box, and selection does the same.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-02 07:28:37 +00:00
hikerstk
e49a415671 Try to making the homing missiles turn more smoothly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 13:34:50 +00:00
hikerstk
f59f487d8a Fixed bug 1879386 (homing missiles don't explode on track,
the rest was already fixed before).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 13:27:11 +00:00
hikerstk
e134102fb7 1) Removed unsupported solutions (e.g. non-bullet version)
2) Added (missing) translation.cpp to project file
3) Removed -DBULLET (since it's not necessary anymore)
4) Removed bullet profiling.
5) Added GETTEXT_PATH environment variable in prepration for translations


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 12:24:28 +00:00
hikerstk
5883db13e5 Removed bullet profiling (and debugging, though the MS compiler will always define
_DEBUG causing bullet to enable debug mode again).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 12:16:35 +00:00
hikerstk
257508179f Used the new btRigidBody constructor, since the old constructor
is not as flexible and will be deprecated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-31 12:40:22 +00:00
cosmosninja
de6b4a3ae0 Fixed flickering on the grand prix ending at highh resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 23:47:56 +00:00
cosmosninja
dd2a02fecb Fixed the track selection menu so that it doesn't uses a hardcoded number of tracks only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 17:55:41 +00:00
hikerstk
8a65b4167a Removed old and unused 'improved physics' option.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 09:55:39 +00:00
hikerstk
c3d3f3ab19 Improved handling of bullet user pointers, which should fix the problem
of rockets not exploding when hitting the track anymore. But there is
still a bug with homing missiles, which still don't explode :(


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 05:30:10 +00:00
hikerstk
b75c9ec869 More minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:55:11 +00:00
hikerstk
935e1a8c18 Code cleanup (BULLET #ifdefs).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:36:00 +00:00
hikerstk
818ab3d164 Removed some VS C++ compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:01:55 +00:00
hikerstk
67bf7ddabd Moved implementation of translation class into .cpp file
to make less recompile necessary when changing the implementation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 02:24:51 +00:00
scifly
d0fca1b227 Fixed bug where blacklisted resolutions could be selected from the
command line. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-28 22:16:42 +00:00
hikerstk
4ee837b6da Fixed wheel rotation, which would not rotate properly when
driving close to a parallel to the X axis (and the rotation
wasn't computed correctly in any case).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-25 01:29:12 +00:00
hikerstk
d5b0230d5b Temporary work around for 'karts being rescued incorrectly' when using
quantization. This might make the game slower.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-23 23:24:18 +00:00
scifly
b182a4ff27 Fixed bug 1804393 "kart model for incorrectly shares transformations"
This patch removes previously selected karts from the GUI so they cannot 
be selected more than once. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-23 19:47:32 +00:00
scifly
25db1ea889 Fixed bug where window/fullscreen button only displayed "windowed"
Fixed bug where failing to confirm a change to fullscreen did not return you to window mode
Fixed bug where selecting blacklisted resolutions was possible
Resolutions removed from the blacklist are now available immediately
Blacklisted resolutions are now displayed but are not selectable
Resolutions can now be removed from the blacklist individually
Crash detection improved: Crashes / kills are now detected until either the race mode GUI is opened or STK is quit


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-21 22:06:57 +00:00
hikerstk
5222a88ee2 Bugfix for keyboard configuration that's not read in properly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-21 04:07:05 +00:00
cosmosninja
22c1d82e67 Made the warning message widget non-selectable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-19 21:55:17 +00:00
hikerstk
c3dce60b17 Increased version number for config file. When older config files are loaded
key bindings are ignored, and a warning is displayed the first time the main
menu is displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-17 00:09:23 +00:00
hikerstk
601af042f6 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-17 00:04:29 +00:00
scifly
d022ad8a8e Changed time in which to confirm new resolution from 10 seconds to 5
No longer need to confirm resolution changes in windowed mode


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 21:42:16 +00:00
hikerstk
5d37a78a7b Removed windows warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 05:02:33 +00:00
cosmosninja
9122cd52df Use OpenGL to translate the widgets to their position instead of having STK's code to do it, so in the future we can apply rotation and scaling through OpenGL around the widget's center easily; as a side effect, this simplified some of the widget's code greatly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:47:29 +00:00
cosmosninja
53e57bbd10 Changed the value of CENTER_OF_SCREEN to be lower than the smallest possible scrolling value.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:40:38 +00:00
cosmosninja
93c766796f Lowered the default scrolling speed of the credits screen 20%, since I thought it was too fast.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:38:10 +00:00
cosmosninja
0babed2c7e Improved input handling of the scrolling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:36:22 +00:00
cosmosninja
3de6b1e87c Removed outdated fix-me note.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 02:05:51 +00:00
hikerstk
4c4eee4c4d Fixed automatic rescue:
1) called when any kart is not upside down and slowed down
2) called for AI when it's not making progress (the old
   method of using m_collided did not work in at least one
   case I have seen).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 00:09:05 +00:00
hikerstk
bf4ee7a970 1) Bugfix: rescuing kart (at least) in the startrack would
trigger a rescue loop: rescue, drop, rescue, drop, ...
2) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-15 11:38:54 +00:00
hikerstk
9202ccf00f Updated project to include new files for confirming a changed resolution.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-15 09:31:23 +00:00
hikerstk
4d38013a5a 1) Removed warning about order of initialisation in moving_physics.
2) Compatibility fixes (e.g. VC6.0): remove initialization of static member 
   variables inside the class declaration.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 23:51:09 +00:00
cosmosninja
2c42105449 Fixed wobbling of the text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 02:16:21 +00:00
cosmosninja
3bbb4d1749 Commented out the widget manager changes to the race gui.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 01:26:30 +00:00
scifly
f984491d76 Improved commenting in display_config.cpp
Added _() to strings that lacked it in display_config.cpp
Removed redundant member variable from display_config.hpp
Added resolution change confirmation gui
Resolutions that are not confirmed are blacklisted and no longer appear in the res list
Screen resolutions that cause crashes are now detected and blacklisted in user_config
If a resolution blacklist exists, then a button is now available on the display_config GUI to clear it
Improved Apply res button on config_display GUI. Now only selects if a new res has been selected  


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-12 22:33:24 +00:00
hikerstk
57df099065 1) Improved handling of rockets
2) Enabled timing display again
3) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-11 13:48:09 +00:00
hikerstk
7e844312c7 Bugfix: wrong order of parameters for memset.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-11 02:01:41 +00:00
hikerstk
bd3ab7926f 1) Fixed 'moving physics', i.e. objects on the track that
can be pushed around by karts (currently only used in
   tux tollway).
2) Removed support for magnet.
3) Some code cleanup for missiles etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-09 12:09:55 +00:00
hikerstk
d27bac1a38 Accidentally committed wrong version of sound_manager (without error
checking), this reverts back to include all error checks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-09 03:24:25 +00:00
cosmosninja
298a81da04 Moved the variable m_time_since_stuck from the kart.hpp/kart.cpp files to the default robot. Since there is other code to catch the same situation, the code dealing with the m_time_since_stuck variable is disabled for now as a test.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-09 02:20:58 +00:00
cosmosninja
49dc3abc5b Bugfix: scrolling wasn't using the delta time.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-08 03:40:36 +00:00
hikerstk
c56020e0bf Applied Dominique's patch to compile STK with gcc 4.3.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-08 02:23:33 +00:00
hikerstk
8c453e472e 1) Updated to bullet 2.66, which (among others)
- fixes the bug of resetting the forces after each internal simulation step,
     causing slower physics behaviour on slower FPS.
   - improves raycast performance
2) Added script to copy all necessary source files from a full bullet installation
   into STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-07 03:07:05 +00:00
hikerstk
e0a96abe15 Removed traffic jam noise (played when a certain number of
collisions happend in a short time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-07 00:53:22 +00:00
hikerstk
a5e2ef24d5 1) Fixed zipper (settings for further tuning in stk_config.data).
2) Fixed bug in collision detection (a kart-kart crash could cause
   a sigsegv).
3) Fixed bug in track loader, which caused somer track objects (e.g.
   zipper in bsod castle) not to get the correct pitch/roll, causing
   them to 'stick out')
4) Fixed wheelie handling for AI (though wheelies are still disabled
   by default, change wheelie-max-speed-ratio to 0.5 to test).
5) Some cleanup of non-bullet code.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-01 14:30:39 +00:00
cosmosninja
56e24ec8a6 Allow changing fonts through the widget manager, plus *a lot* of code style improvements.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-25 03:23:32 +00:00
cosmosninja
aa8fe0c5b3 The track map can now be drawn through the widget set (thought it's not encapsulated properly yet), it's implemented in the track selection screen, a fix that calculates properly the bounding box of the track maps(before it calculated the bounding box of the center line), plus a few style changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-22 20:10:48 +00:00
cosmosninja
03df76398f Removed an unneeded forward declaration.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-22 00:31:48 +00:00
cosmosninja
6863de9f42 Small code cleaning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-21 00:31:44 +00:00
hikerstk
6daa2ef2d0 1) Removed more windows warnings.
2) Cleanup of old unused, and non-bullet code
3) Fixed wheelies, though they are currently still
   disabled in the stk_config.data file since the
   AI crashes with the new wheelie implementation.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-20 04:37:35 +00:00
cosmosninja
1b95764c6a Various small GUI improvements.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-19 15:10:30 +00:00
cosmosninja
0dd71cebe5 Small style change.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-19 01:09:10 +00:00
hikerstk
1ba22f42f1 1) Enables triangle dependent friction setting, and therefore skidding
(currently only for sand).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-17 13:42:19 +00:00
hikerstk
0f0ae96039 1) Fixed automatic rescue mode when kart is on reset terrain.
2) More non-bullet code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-17 13:16:09 +00:00
cosmosninja
41f47cacba Fix bug #1778257, 'Track loading counts for the race start counter in the trunk'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-16 17:03:03 +00:00
cosmosninja
af042fff54 Minor cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-16 17:02:08 +00:00
cosmosninja
626474e079 Finished cleanups and restyled the widget manager so it would follow the code style guidelines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-15 23:21:47 +00:00
cosmosninja
143403c3ad Fixed bug which prevented the just commited improvement to work :p
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 22:03:37 +00:00
cosmosninja
0841db3b6b Improved argument-less layout() widget function and improved the style a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 22:01:10 +00:00
cosmosninja
908fa88d85 Fix a bug which potentially could cause a crash if the layout() func is ever called without widgets, and the text positions are now recalculated after calling the argument-less layout() func.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 04:20:48 +00:00
cosmosninja
e07116d262 The menu manager can now switch menus even if the amount of menus don't change (i.e. the amount of menus popped is the same as the ones pushed), plus the usual minor style changes and fixing a small bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 03:46:05 +00:00
cosmosninja
0037afa8ea Removed a function that is now useless, and made some minor style changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 02:36:32 +00:00
scifly
28409f5842 Fixed bug in help page 2 - go back to main menu not working
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-13 14:26:28 +00:00
hikerstk
9a211a0a04 1) Added new files to Visual Studio project files
2) Removed some visual studio compiler warnings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-13 02:21:09 +00:00
cosmosninja
55233a592b Improved scrolling, thought the changes are not visible to the user.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-13 00:18:29 +00:00
scifly
1baec9cb8c Corrects first lap timing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 22:35:27 +00:00
cosmosninja
38a4c359b2 Fixed help widgets not being highlighted after switching pages by separating the pages(which also makes things cleaner), plus the removal of a bunch of commented out code that won't be useful in the future from the files in the src/gui/ directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 21:30:30 +00:00
cosmosninja
d3e0019d61 Grand Prix selection screen's description is centered again, plus minor cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 14:26:55 +00:00
hikerstk
d0c1aa9e8c 1) Fixed 'rescue bug', i.e. karts have now a proper
heading after being rescued
2) Partly fixed 'automatic rescue' bug: karts get
   rescued when touching a reset material (though it
   currently can take a bit before it happens).
3) Restructured code: track loading and converting
   is now done in the track object.
4) Fixed several warnings for windows.
   


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 14:07:26 +00:00
hikerstk
ea3a993403 1) Fixed location of laps display (lower left corner, i.e. "1/3 laps"),
which wasn't fully visible anymore
2) Removed several warning for Visual Studio compiler.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 13:34:35 +00:00
cosmosninja
403861f83e Various minor style changes and cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 05:16:50 +00:00
cosmosninja
9218c15a18 Fixed joystick/keyboard GUI handling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 03:54:29 +00:00
hikerstk
b3ab2d474d Fixed several compiler warnings for Visual Studio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-11 02:48:10 +00:00
cosmosninja
a71c09f62f Fixed two bugs introduced in the last two commits, one disabled sound, and another wouldn't let plib-based sound compile; also introduced minor style improvements.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-11 01:28:10 +00:00
cosmosninja
4ed413d5d5 Fix all the remaining 'tried to lighten unnamed widget' warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-11 01:24:15 +00:00
hikerstk
285d98fee7 Fixed bug in r1333 (disable F4 for bullet debug).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 11:27:21 +00:00
cosmosninja
9a865b8e39 Restored highscores display
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 02:54:09 +00:00
cosmosninja
8a235d6b1a Removed the warning about using a widget column with just one element since sometimes it's necessary.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 02:40:20 +00:00
hikerstk
303e80df47 Added DEBUG define (which enables certain cheats) for windows debug compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 01:41:58 +00:00
hikerstk
d79777f1a2 1) Added DEBUG define which enables some cheats, which are not
to be used in a release. Currently DEBUG enables the F1/2/3
   cheats to give a player sparks, missiles, homing missiles, and
   enables the player to call for a rescue while not touching
   the ground.
2) Added many casts from size_t to int (and similar), to remove
   warnings when compiling with windows.
3) Disabled F4 'bullet debug' shortcut, since it doesn't work
   and it's not too useful anyway. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 01:39:30 +00:00
cosmosninja
18b70c9dd1 Remove a widget manager warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 00:24:10 +00:00
cosmosninja
a28879b077 Fixes that characters previously selected wouldn't be selected the next time you go into the character selection menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1331 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 23:49:56 +00:00
cosmosninja
748dc0841f Prevent a gcc warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 23:46:52 +00:00
cosmosninja
f8fe9124d9 Minor improvements to the character selection screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 22:43:07 +00:00
cosmosninja
6bd0861ad4 Fixed widget scrolling and removed font aligment option.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 17:58:51 +00:00
hikerstk
7e68fd5ddf Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 07:14:53 +00:00
hikerstk
eaac399a09 Added missing files from previous patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-08 13:22:05 +00:00
hikerstk
7ed846ca3e 1) Improved rockets and sparks for bullet physics
Parameters for rockets etc. can for now be
   set in data/*.projectile
2) Fixed bugs causing rockets not to explode (and
   potentialy start rotating)
3) Added (somewhat temporarily) some cheats to get
   rockets, homing missiles and sparks as F1/2/3
4) Fixed several memory leaks.
5) Fixed (very rare) occurring crash when deleting
   phsyics.
6) Started to remove non-bullet physics code
7) Bullet physics is now the default, and it
   can not be disabled anymore!!
Important note: 
From this revision on, non-bullet physics is NOT
supported anymore, and will (most likely) not
compile. For now a -DBULLET is still necessary (it
is added as default), but the code will be cleaned
up in the near future.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-08 13:04:56 +00:00
thebohemian
12cee75a0f - remember selected widget of the parent menu and properly restore that
selection when coming back to that menu


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-07 15:46:50 +00:00
thebohemian
e483fa32b8 - prevent causing problem when hitting inputs for non-existing players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-07 10:10:52 +00:00
cosmosninja
2cddd16d40 Applied Paul's patch so the number of laps per track per grand prix can be specified in the *.cup files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 20:57:42 +00:00
hikerstk
2c3e551ce6 Applied Paul's patch for selecting the screen resolution
via the option menu (I added some minor modifications to
get it to work with windows as well).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 04:04:21 +00:00
cosmosninja
5c2b24727c Changes to lower the number of lines of code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 04:04:08 +00:00
hikerstk
e6a0fe8b72 Updated visual studio project file to support the new files which
were in r1305.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 04:03:14 +00:00
hikerstk
3bac108b3a Bugfix: out of bounds problem avoided.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-05 04:12:55 +00:00
cosmosninja
1d0c75542a Character selection works again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-05 04:10:36 +00:00
cosmosninja
71a39116d4 Fixes a bug pointed out by Paul: layout() did not stored the previous position.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-04 18:35:21 +00:00
cosmosninja
a21592f68e Fixes wrong text introduced by previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-04 18:34:08 +00:00
cosmosninja
2ffb606880 Fixes possible crash if the last element of the GUI of a screen is a column.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-04 18:11:46 +00:00
cosmosninja
95093755b9 Added argument-less layout() function which uses the last argument given to the other layout() function, and fixed a typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-03 23:11:07 +00:00
cosmosninja
ebc96833ad Fixed widget manager bugs, finished columns, used columns on some of the screens that benefit from it, simplified some of the widget manager code(this also gives performance improvements, but no one really cares about those in the widget manager), and changed some Warning tags to upper case.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-03 22:54:39 +00:00
cosmosninja
6bf4ec4f08 Fixes two compilation errors introduced in the last commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-01 16:43:52 +00:00
cosmosninja
a335606ec9 Finished column insertion(minus bugs that will obviously appear) and changed the main menu to using a column instead of line breaks; the widget manager delete_wgts() function was renamed to reset(), as it now does all kinds of cleanups, and layout no longer restores default stares or resets columns or deletes breaks, these changes were made so that layout() can be called repeatedly. Plus I changed a bunch of warning messages of 'unexistant widgets' to 'unnamed' widgets, since widgets without a token assigned also trigger this warning and added a Warning: tag in front of these messages, since they are non-fatal. I apologize for the amount of changes introduced in one commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-01 16:26:00 +00:00
cosmosninja
8d27cefdd5 Applied Paul's patch to revert to logging to stdout and stderr instead of a file by default, and changed the .desktop file so it logs to files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-01 04:23:38 +00:00
cosmosninja
d403a951c7 Removes some output text I accidentally left in
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-30 03:48:37 +00:00
cosmosninja
f40af93ba4 Fixes bug that causes the selection of the last active widget instead of the first active widget by default.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-27 01:34:21 +00:00
thebohemian
dc22e1268b - fix comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-26 14:40:07 +00:00
thebohemian
44a2338368 - committed input abstraction patch - as seen on list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-26 14:28:15 +00:00
cosmosninja
456e205494 Beginnings of supporting columns in the widget manager, for easier layout.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-26 02:51:32 +00:00
cosmosninja
59fb95e64b Fixes an uncommon dumb old bug in the AI, strangely only reported to appear with bullet physics, which could make it loop forever.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-25 00:28:54 +00:00
hikerstk
6e6f06d2a1 1) Applied Paul's patch for redirecting messages to a file.
2) Added command line option to select if messages
   are written to a file or terminal
3) Added some error checking if the log file can't
   be opened (though this is apparently only working for
   stdout, but not for stderr???)
4) Replaced the #ifdef DIR_SEPATAROR with a
   static const in loader.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-22 01:20:57 +00:00
hikerstk
c62f8622da Set the number of laps for Grand Prixs to 2 again (I
accidentally committed my test setting of 1 laps only).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 13:57:58 +00:00
hikerstk
7721c5dd1c The kart start order now depends on the ranking in the
grand prix. It can be set to 'lowest points first'
or 'highest points first' in stk_config (patch by
Paul Elms).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 13:54:40 +00:00
hikerstk
dc130b5a10 Fixed working directory for VS project files (which assumed that
the root directory is called 'supertuxkart').


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 13:49:32 +00:00
hikerstk
c05b0d4b0d Updated the Visual C++ project files to support
compilation of the inluded bullet library, and 
to include the new widget_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 12:56:44 +00:00
cosmosninja
aa3ad745ce GUI improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 01:51:57 +00:00
hikerstk
44f9f6a538 Minor fixes for windows compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 01:31:49 +00:00
cosmosninja
41524d6d8a Fixed a typo
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 00:31:20 +00:00
hikerstk
a87e04ae29 Bugfix for crash when selecting a Grand Prix.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-20 11:49:00 +00:00
cosmosninja
afca5cf6c6 Removed the widget set and put in it's place a work-in-progress replacement
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-20 02:13:53 +00:00
hikerstk
1da4736435 Bullet only: made the bullet jump velocity configurable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-18 13:44:53 +00:00
hikerstk
f16dcff123 Removed need to call drv_init when using --list-karts. This
1) avoids opening of the STK window
2) removes problem with drv_deinit not being called (resulting potentially
   in wrong screen resolutions when STK finishes)
and is faster (based on a patch by Paul Elms).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-12 03:17:52 +00:00
cosmosninja
a8c2de27cb When loading music, STK prints a warning if the file format is not recognized.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-11 15:15:59 +00:00
hikerstk
10402c390a Bugfix for non-bullet compilation (was incorrect in previous commit).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 23:12:04 +00:00
hikerstk
661751678b Fixed several memory leaks, which appears to fix bug #1827310 (stk crashes
after one race) as well.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 22:40:15 +00:00
hikerstk
4a93d103d4 This file was missing in the previous patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 13:14:31 +00:00
hikerstk
c21c9b5573 1) Removed some memory leaks in physics.
2) Fixed bug 1827284 (sand track bridge could not be used with bullet) by not
   converting triangles which have the 'ignore' property set.
3) Fixed bug 1826773 (jumping while in air was possible)
4) Started adding support for projectiles which stay close
   to the ground (not finished yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 12:31:54 +00:00
hikerstk
9f7c370334 Removed files which never should have been in the repository.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-06 11:48:34 +00:00
hikerstk
81b078d16f Bullet only: included bullet 2.64 in the STK sources
and build environment. Default is still to build the non-bullet
version, to get bullet, configure with '--enable-bullet'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-05 13:38:57 +00:00
hikerstk
b5c7b8233b Bullet only:
1) Added bullet collision handling, e.g. rocket hits are now
   detected by bullet code, bombs will be passed on etc.
2) Rockets are now handled by bullet as well.
3) Moved expected location of bullet from STK/bullet to
   STK/src/bullet.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-03 13:13:26 +00:00
hikerstk
3eeac7bec0 1) Fixes bug 1812403 (you could get rid of a bomb by
using another banana, now the bomb will explode if you
   hit a banana).
2) All other 'bananas' now get more severe as well if you 
   hit a banana while having an anvil/parachute attached
   (anvil: time is extended, parachute: you get an anvil
   with the same time as the parachute attached).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-18 13:22:20 +00:00
thebohemian
02b8c37aac - fixed key movement in result screen
- prevent closing of result screen is now done for all input variants
   and without odd side effects (and with less lines of code)
 - convert mouse buttons, joystick buttons and axes to key input for easier management
 - added note


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-06 16:39:18 +00:00
ikework
e153a6592b added roberts inputmap-files to vc8-project-file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-03 13:11:15 +00:00
thebohemian
059d9037a7 - separate input map implementation
- make mouse axes work like analog axes
 - enable display menu for non-Win32 platforms


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-03 11:23:07 +00:00
hikerstk
9ea37bf14f Bullet only: update to work with SVN revision 813 of bullet. For now
you have to define NEWBULLET when compiling the physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-01 02:21:42 +00:00
hikerstk
638970bd46 Bullet only:
1) some minor restructuring as preparation for
   converting the missiles to bullet.
2) Added support for later bullet versions (using
   btBroadphaseInterface instead of btOverlappingPairCache
   in ctor of btDiscreteDynamicsWorld).
   Default is still the old interface, use -DNEWBULLET for
   physics.cpp if a newer bullet version is available


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-30 14:17:28 +00:00
cosmosninja
d06c13fb36 Fixed bug #1799454 (help menu bug), and a minor coding style improvements related to it.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-29 19:08:35 +00:00
ikework
32b88d2091 - put a proper copyright to all replay-files
- changed name of class "Buffer" to "ReplayBuffer" .. "Buffer" at global scope was not a good idea of mine .. ;)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-28 13:06:16 +00:00
ikework
38d41f933c added a vc8-project with a README.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-28 12:27:52 +00:00
ikework
a381c480c9 added *license-info* to replay-cpps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-27 09:53:34 +00:00
ikework
0b7cadfbea replay:
* set max. sample-frequency to 30 frames per second
* put sample-freq-statistic in the end of replay-file as comments
* did some replay-cleaning

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-27 09:47:48 +00:00
ikework
c1ed88df9c replay-interpolation: scale-factor based on time between frames has been calculated for each kart in the loop, we just need it to be calculated once ..
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-27 07:57:51 +00:00
hikerstk
952e4629d8 Removed compiler warning, fixed usage of '-1' as
number of karts (meaning maximum number of karts).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-26 06:28:19 +00:00
hikerstk
abf735a468 Applied a modified version of Robert's patch for bug
1799457 (multiplayer does not work ... if the number of
karts in the config file is lower than the number of
karts needed for multiplayer).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-26 06:18:24 +00:00
hikerstk
fddfac77d2 Bugfix for 1778264: karts starting off the track (esp.
with about 10 karts in tuxtrack and islandtrack).
The number of karts is additionally now limited
to 10 (see stk_config.data), the only reason for this
is to avoid the same bug report when someone is using
more karts than the number of specified start locations.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-26 03:43:02 +00:00
hikerstk
57e93880de Re-enabled jump information in the help menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-25 03:54:01 +00:00