Commit Graph

4240 Commits

Author SHA1 Message Date
auria
40d3d2e5de Added new roundedbox widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 23:22:58 +00:00
hikerstk
209d9582a8 Fixed bug 3064849 - crash in FTL.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 23:10:40 +00:00
hikerstk
9ce53b80b9 Fixed unexpected name of licenses, so that 'make install' installs those
files, too.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 06:14:55 +00:00
auria
f97cec61ce Fixed the hard to click checkbox in a reasonably clean way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 02:07:51 +00:00
auria
141ce78156 Fixed excessive logging regression I accidentally introduced
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 00:25:54 +00:00
hikerstk
7ee4faa950 Fixed incorrect start positions in tracks that don't have checklines defined
(removed old, temporary global variable and replaced it with correct
variable in class), added a warning message printed to stdout in case
that checkline are missing.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 23:57:23 +00:00
hikerstk
a998641ae7 Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 23:42:28 +00:00
hikerstk
af1ceeee09 Bugfix: memcpy would copy only pointers to some strings which I had missed,
causing potentially memory corruption. Added more asserts to make sure
'master instances' are never used for karts shown on the screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 23:33:03 +00:00
xapantu
0de6fc6485 Change the message for addons : 'Writing XML file' to 'Reloading karts list', it is more user friendly and honnest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 17:06:40 +00:00
xapantu
788def7924 Fix the addons reloading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 17:04:34 +00:00
auria
a3b7179427 Prevent bubbles from shkrinking smaller than the initial size (which could be especially marked at lower framerates)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 15:44:58 +00:00
jmimu
62eff31d0e Hide icons overlaping minimap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 15:25:48 +00:00
hikerstk
728d3743b0 Fixed missing animation, but this is still work-in-progress.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5970 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 14:03:55 +00:00
auria
d9f64b1bd0 Fixed crash related to locked karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 13:52:47 +00:00
auria
599d0a806a Bye bye EvilTux, Welcome Konqi\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:47:05 +00:00
auria
7a19068a5d Fixed another crash at exit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:17:41 +00:00
auria
5c0fba91f0 Init GUI as early as possible and show a loading screen during the first seconds when STK is loading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 18:17:17 +00:00
auria
437bf86ac8 Removed unused texture from snow mountain
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 17:40:00 +00:00
auria
dd4e9486e7 Updated snowy song by Kronobil
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 17:33:47 +00:00
auria
c9c71dddd9 Hopefully fixed crash at exit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 16:54:45 +00:00
auria
450517bb5c Fixed rare crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 16:49:46 +00:00
xapantu
a7c40fede7 Finish to fix the problem with the back and install button in the addons dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:58:23 +00:00
auria
a39d705b9a Added clarification to gui engine manual (xapantu was not able to make something work, thus I fix the docs :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:57:13 +00:00
xapantu
694a782caf Revert my last commit since it is useless now ^^
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:34:40 +00:00
auria
4df28afc80 Properly unload screens before exiting, correcting a FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:29:53 +00:00
xapantu
197f693943 Move the main menu screen thread canceling to tearDown because ~MainMenuScreen is never called
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:22:10 +00:00
auria
96d7bbf345 Fixed warning + removed hardcoded constant
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 13:51:40 +00:00
hikerstk
7f3f598193 Fixed crashes in grand_prix lose, win, feature animation etc.
KartModel instances come now in two different types:
master instances which are part of KartProperties and
should never call attachModel (or have wheels attached),
and copies of the master instances (which are used by karts
and other classes when the kart is actually displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 13:30:31 +00:00
hikerstk
ea7e1e2734 Applied jmimu's patch to fix icons in battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 05:16:52 +00:00
auria
963516e2fb Removed/fixed bogus/unneeded includes or forwards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 00:05:56 +00:00
auria
3b6940f2a3 Removed unneeded widget copy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 13:41:44 +00:00
hikerstk
c2e68deb6d Minor cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 12:28:24 +00:00
hikerstk
69144f8274 Fixed crash in new KartModel handling in unlocked features.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 12:26:36 +00:00
hikerstk
d1ba939b94 1) Fixed crash when exiting STK.
2) Added grab and drop, since now the order in which the kart node
   and wheel nodes are released does not matter anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 12:19:06 +00:00
hikerstk
8b0bd83120 More NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5947 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 06:05:16 +00:00
hikerstk
64d3476067 More NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 05:53:22 +00:00
hikerstk
3e4cc2eab7 More NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 05:36:40 +00:00
hikerstk
0084cd6a33 More NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 05:28:18 +00:00
hikerstk
aef6a4024c Improved handling if default (i.e. previously selected) kart
can not be found. Now stk will only abort if no kart at all
can be found, otherwise use the first kart in the kart 
properties list.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 03:24:34 +00:00
hikerstk
5abf327e13 Make sure that karts that have already finished the race (and are
driven by the computer) do not generate any 'fastest lap' messages
anymore (see bug 3061466).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 01:46:05 +00:00
auria
18b7bd5068 Improve the Widget class documentation and organization so that the generated Doxygen doc is actually useful, and so that we stop getting lost in this class
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 01:37:48 +00:00
hikerstk
f031b0473a Removed debug output (since this code can now be executed
in case that people play with many many karts).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 01:10:11 +00:00
auria
d0896de07e Fixed bogus Doxygen comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 01:03:30 +00:00
auria
3f0c41fd78 Added missing Doxygen documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 01:02:01 +00:00
auria
4253e0d02b Improved GP lost screen by extracting a constant
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:54:55 +00:00
auria
93d412aec8 Removed the use of static that could cause problems on res switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:49:16 +00:00
hikerstk
2d4f2ad32f Each kart instance has now its own copy of kart_model instead of a shared
version of it. This avoids animation issues (in some circumstances e.g.
a win/lose animation could be shown for a kart still driving), and an
assert crash (bug 3058787) is also avoided.
Note that the animation issues are usually not easy to see since the
random AI kart selection makes usually sure that the player kart is 
not used more than once, so this issue can only be seen in AI karts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:35:15 +00:00
hikerstk
39aa6528a0 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5934 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:31:47 +00:00
hikerstk
c1a239a7e6 More NoCopy - embarrassingly left out in previous commit :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:30:58 +00:00
hikerstk
42581e1719 Added more NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:29:28 +00:00