Commit Graph

7016 Commits

Author SHA1 Message Date
auria
106cbbe88b Minor cleanup to cmake file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 22:35:40 +00:00
auria
0eefff60fc Fixed leak when winning a GP and unlocking a feature
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10018 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 21:14:35 +00:00
hikerstk
49cfd082c0 Fixed old berlios link.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 20:52:14 +00:00
hikerstk
b9e4325560 Added 'early targeting': the rubber ball will align its relative position
to the center of the track according to the relative distance of its target
(more precisely: it will move the interpolation control points). This
results in the ball being better align when it switches to aim-directly-at-
target mode, meaning that the target-distance can be reduced, hopefully
reducing the frequency with which tunneling happens.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10016 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 20:14:03 +00:00
auria
81ce56c358 Attempt to fix crash found by KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10015 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 18:09:52 +00:00
auria
aeec9bd0ce Bye bye Skyline, adapt GPs and challenges for subsea
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10014 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 18:04:49 +00:00
auria
0cf64fd1e1 Fixed icon of locked karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10013 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 16:36:08 +00:00
auria
55841fbbbe Tweak thunderbird location during rescue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10012 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 16:09:43 +00:00
auria
67ab90f451 Introduce new thunderbird with rescue animation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 16:06:25 +00:00
hikerstk
5471eca8ca Cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10008 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 10:59:55 +00:00
auria
c8e5c1304e Largely minizime the impacts of anti-aliasing being broken by post processing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10006 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-17 22:18:27 +00:00
hikerstk
55cb9941b5 A rubber ball hit is now a proper explosion (i.e. it also affects
other karts close by), and the hit message is shown (we need
better hit messages for rubber balls ;) ).
Renamed checkDistanceToTarget() to updateDistanceToTarget.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10005 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-17 06:07:44 +00:00
hikerstk
aa74b59dcb Added separate fast-ping distance, so that the rubber ball
can start boucing lower/faster earlier, increasing the chances
to hit the target when target-distance is set to a small value.
Target-distance was set to 25 to decrease the chances of the
ball going through e.g. tunnel walls.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10004 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 21:18:45 +00:00
hikerstk
fbbb67d832 Removed unused variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10003 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 20:54:49 +00:00
auria
ed624633aa Fixed leaks associated with changing language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 16:00:10 +00:00
auria
7e4ff8e0b5 Support more shapes for animations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 15:31:05 +00:00
hikerstk
4026172cf6 Fixed another memory leak: stopping STK while icons are still downloading in the
background.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 13:06:40 +00:00
hikerstk
879cbf99b1 Fixed another memory leak if a download request is aborted.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 12:54:27 +00:00
hikerstk
ff19724991 Fixed memory leak when addon is installed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 12:43:23 +00:00
hikerstk
23af52985f Removed unnecessary parameters kart and track from
TrackSector::update.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 12:29:37 +00:00
hikerstk
830e88d1e5 Added maximum height difference to detect if a target is
close enough for a rubber ball. This avoids a problem is 
the target is actually close on a different part of the
track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 12:17:56 +00:00
hikerstk
d9ada38dcf Removed unused code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 11:36:41 +00:00
auria
b5669e151c Fixed what happens when starting from terminal and the akrt 'random' is selected in the suer config
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9994 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 00:18:13 +00:00
auria
e3015e2931 Update pot
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9993 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 00:14:37 +00:00
auria
f4ae4e5f19 Fix track name in challenge description
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 00:13:29 +00:00
auria
f56e8d85ec Fix for good CGUIEditBox leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 00:07:28 +00:00
auria
a8dfd29f65 improve a lot leaks of CGUIEditBox objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 00:00:57 +00:00
auria
3707765721 Prevent deleting players while in-game, if you delete yourself while you're playing I have no idea whatwill happen... thanks kroArtem for noticing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-15 23:57:46 +00:00
auria
3655424189 Removed old code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-15 23:47:22 +00:00
auria
5ac65a28d8 Silence silly warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-15 23:46:43 +00:00
auria
62ed88eb34 Fixed CGUIEditBox memory leaks and fix crash when deleting player
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-15 23:40:50 +00:00
auria
c46b1de3ea Enable word-wrap in new player dialog to avoid overlapping text in French and probably other languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-15 23:34:02 +00:00
auria
d83a65a5a6 Forbig changing language when in-game as this crashes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-15 23:30:21 +00:00
hikerstk
957c03839a Improved debug output slightly, handle case
of m_delete_timer==dt (--> becomes zero) correctly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-14 05:41:14 +00:00
hikerstk
ba6094d256 Fix crash when installing a new kart (#459).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-14 05:35:37 +00:00
hikerstk
95a42cbb9d Fixed compilation error on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:55:53 +00:00
hikerstk
f6453f2557 Added comment about memory leak reported by valgrind.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:41:25 +00:00
hikerstk
76df1fa694 Added leak checking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:40:35 +00:00
hikerstk
13a036893e Fixed minor memory leak (QUIT request was not freed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:39:52 +00:00
hikerstk
c3003a763f Added leak checking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:38:56 +00:00
hikerstk
941b8aeeba Added a consistency check for addons: if the addons_installed.xml
file is out of synch (due to a bug in 0.7.2 an empty file would be
written if internet is disabled or not working, resulting in
information about installed addons being lost), the installed addons
are now marked as being  installed again (bug #455).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 21:29:10 +00:00
hikerstk
41b4aa96af Fixed memory leaks for particles.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 11:20:15 +00:00
hikerstk
80cf7c3468 Fixed compilation error on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 11:19:30 +00:00
hikerstk
9767765cb9 Removed exception throwing from MusicInformation constructor, and
use a simple static function to create a MusicInformation object.
This simplifies handling of errors in calling functions, and
appears to have fixed a (minor) memory leak as well.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 11:15:53 +00:00
hikerstk
a294b36ced Oops - looks like the unused function I deleted was used (and I
am nearly certain it compiled when I tried :(  ).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 09:10:25 +00:00
hikerstk
5caee0a9fc Removed loading of music files from a track directory if the .music
files are not specified in the track.xml file. There is no need to
support this functionality (track directories should only contain
music that is actually used by the track), and it caused duplicated
entries on case-insensitive file systems (e.g. on windows it
resulted in one entry for west.music, and one for West.music).
While the latter had no big disadvantage (it was cleared correctly)
it is unnecessary and might lead to problems later.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 06:20:29 +00:00
auria
2aa2250d12 Check MusicInfo class for leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9970 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 02:05:32 +00:00
hikerstk
d17741b78b Fixed minor memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 01:58:34 +00:00
hikerstk
3b63f1c299 Fixed ref counting in irr_driver (file_manager was not released), added
ref counting to file system object in file manager (not strictly necessary,
but cleaner).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 01:09:23 +00:00
hikerstk
a93d05d046 Fixed unnecessary creation of an irrlicht NULL device (one in file_manager,
one was created just to get the list of modes, before the actual device
is then created). This fixes a minor memory leak (the 2nd NULL device was not
freed), encapsulates all device creation into irr_driver (and not in 
file_manager).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-12 11:28:35 +00:00