Commit Graph

544 Commits

Author SHA1 Message Date
hikerstk
a71056e6bf Removed translation of "3" and "4".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 00:19:43 +00:00
hikerstk
65c6748381 Bugfix: music was not resumed after in-game menu popped up.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 00:14:55 +00:00
hikerstk
7ac0d8a2a3 Fixed uninitialised variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 00:05:55 +00:00
hikerstk
b87e75aa9e Fixed invalid display of 'lock' symbol in track select menu
(which happens at least when setting up a new race).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 15:01:12 +00:00
scifly
e6c38b5f29 1. The --list-tracks argument on the command line now lists unlocked tracks only.
2. The --track argument on the command line now checks if the track is unlocked. 
3. Updated URL of STK home page.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 14:32:51 +00:00
hikerstk
4bf28fa566 1) Enabled translations by default.
2) Switched fonts so that the new DomesticMannerLatin1 font is
   used both for menu and race gui. In the menu the new 
   PrintBold function is used to make the font better visible.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:48:55 +00:00
auria
8909c02cda better handling of very slow computers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:48:51 +00:00
hikerstk
376786da88 Added new challenges to Visual Studio project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:46:57 +00:00
hikerstk
76429aa5ab 1) Redesigned music_information and sound_manager interaction.
2) The faster music is now only triggered for the last 30 seconds
   of a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:28:07 +00:00
scifly
89b26ff5a5 1. Added a challenge to lock fort magma track.
2.  Changed grand prix challenges so that a win is necessary to complete them.
3.  Increased the time in which to complete the city challenge to 5:20.
4.  Added some linebreaks to some of the text for the challenges as it was being truncated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-07 21:16:47 +00:00
hikerstk
e462550218 Added _() around strings that need to be translated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-07 11:56:40 +00:00
cosmosninja
77aa79cbfe Added some comments to the widget.cpp file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-07 04:38:33 +00:00
hikerstk
a7a28114ae Fixed encoding of translated string, so that special characters
will work with latin-1 fonts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-06 14:13:28 +00:00
hikerstk
823110be8b Added new function to simulate bold fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-05 13:03:22 +00:00
hikerstk
a41ce77029 Increased the number of substeps to give better kart acceleration (though
slower reaction) on slower machines.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-05 08:01:41 +00:00
hikerstk
62fe49b54f Fixed compilation problem, removed warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-05 07:06:44 +00:00
hikerstk
5385c3f9b2 1) Made 'reverse' camera a normal camera mode (instead of an additional
feature)
2) Cleaned up camera handling.
3) Some work on replacing sg* with bt* data structures.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-05 06:58:42 +00:00
cosmosninja
9e8cfb5767 Changed the behavior of game manager frame limit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 17:34:40 +00:00
cosmosninja
3c12ee6608 Added a function to dynamically resize to text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 01:30:54 +00:00
auria
4b13730b0c fixed grammar error
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 01:15:58 +00:00
cosmosninja
c22e86aa68 Reassign rounded borders to menus that were missing it.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 00:09:16 +00:00
cosmosninja
bbb970301c If drawing more than 125 frames per second, process the game every 10 miliseconds (100 frames per second, because that's the minimum amount of time we will be able to get away with); this avoids STK using 100% of the cpu without reason; won't really make a difference when the game is slow.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 00:08:49 +00:00
cosmosninja
b55af274b5 Fixes time trial having AI karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 21:01:27 +00:00
cosmosninja
73817a99d5 GUI improvements: removes warnings, fixes bugs, adds some capabilities. Sorry for the late commit, I thought I had done it last night.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 20:58:26 +00:00
hikerstk
fa75f05429 Prevent steering while doing a wheelie.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 06:26:07 +00:00
hikerstk
24aede9fc6 Added missing function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 03:10:08 +00:00
hikerstk
1e17479354 1) Changed implementation of wheelies to avoid the jiggering
that sometimes happened when crossing triangle boundaries.
2) Started replacing sg functions and data structures with
   bullet objects and methods.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 03:01:25 +00:00
hikerstk
526819a418 Code cleanup to follow coding standards.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-02 02:37:57 +00:00
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