Commit Graph

4555 Commits

Author SHA1 Message Date
hikerstk
a0ce44d326 Removed warnings printed to stderr in case of missing music files (which
can happen and not indicate a problem at all - all music files are searched
for in different directories like data/tracks/XXX and data/music, so it's
normal that music files are not always found).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 05:23:59 +00:00
hikerstk
5fc601c9d9 If the number of laps used previously (or set via a command line
option) was too small, a leader could 'finish' the race, and while
no message would be printed, its distance calcuation become incorrect.
To workd around this issue (and to avoid making the code in
linear_world even more convoluted) I just set a large number
for the number of laps in case of a FTL race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 05:21:55 +00:00
auria
2665dd2e5d Removed huge TGA texture by replacing a barely visible texture with vertex colors (note: vertez colors work weirdly :/ in blender it's bright red, in STK it's light pink)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:55:39 +00:00
hikerstk
3015f78705 Removed unused old tuxkart models.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:55:00 +00:00
auria
4b15040560 Fixed leak in GPlose
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:44:19 +00:00
hikerstk
b8c1930d65 Fixed installation of license files, and changed
filenames to 'License.txt', to be in synch with
what is used elsewhere.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5993 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:36:17 +00:00
auria
18bd3ddb07 Add support for many GP losers in the GP ending screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:36:14 +00:00
hikerstk
79b0471b01 Added experimental code to give a background per line for the race
result. Too much is hardcoded atm, so it needs some work should
we want this look. Check for #ifdef USE_PER_LINE_BACKGROUND
to see what was done.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:28:19 +00:00
hikerstk
5fbc6eb0bb Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:57:27 +00:00
hikerstk
f87c95b605 Added "/" to the end of some getXXXDir functions, so that the
"/" doesn't have to be added elsewhere all the time.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:56:42 +00:00
auria
9c3d6cd406 Fix lap counting in farm track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:34:05 +00:00
auria
fe77e1f1ba Fixed some clipping caused by an absolute size being given to a label
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:24:49 +00:00
auria
fb8287fef0 Fixed broken ribbon labels
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:22:42 +00:00
auria
960dd16596 hopefully fixed shutdown crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:15:42 +00:00
auria
2891504fa3 Add back clipping to the font object, since lack of clipping messes up list widgets. I submitted a feature request with patch to the irrlicht devs instead, so hopefully in the future IGUIStaticText will have my patch apply and allow disabling clipping locally where needed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:03:30 +00:00
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