Commit Graph

4347 Commits

Author SHA1 Message Date
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
auria
372e82374b Show confirm dialog before permanently erasing keyboard config (the confirm dialog I added is reusable, so should we ever need another confirm dialog we can reuse this one)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 23:06:54 +00:00
auria
bb659ba7c8 Fixed bogus include protection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 22:45:08 +00:00
auria
244b40bfbf Added support for deleting added keyboard configurations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 22:40:54 +00:00
auria
559c7bf0b2 Replaced the weird flying wheat in farm track with a static crop for now so it looks less weird
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5928 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 18:33:55 +00:00
xapantu
1394c1b6d9 minor code cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 18:27:16 +00:00
xapantu
ec063ef163 Adding a package-update.png image
Show 'update' instead of uninstall or install for addons which can be updated (maybe we need a third button)
Add a special icon in the addons lists if the addon can be updated

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 18:19:05 +00:00
xapantu
96abb55c7d Change the name of the addons screen (from options to addons)
Use a single pointer for addons, it is now initialized in main()
Working on the update screen, we can now see which addons can be updated

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 18:02:48 +00:00
xapantu
5602c1663e Fix the segfault when going to the network or the kart selection screen after going to the addons menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 17:11:46 +00:00
auria
42565ba603 Removed NoCoy from UserConfigParam because it can (and is) copied
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 15:22:22 +00:00
hikerstk
c13933a792 Added more NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 11:39:19 +00:00
hikerstk
e3be1c3bc8 Improved handling in case that not enough karts are available, and
they are all used by players - admittedly only happens in extreme
debugging environments ;)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 11:37:36 +00:00
hikerstk
0fd5c79b33 Fixed crash in case that the default kart can not be found, instead an error message
is printed (Auria, perhaps there is a better solution than the exit call??).
Also remove unnecessart 'this->'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 11:19:21 +00:00
hikerstk
141b80b112 Started to add NoCopy as a base class to all objects to help detecting if an
object is actually copied.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 06:18:08 +00:00
hikerstk
91e86e83b8 Applied jmimu's patch, to fix the real problem with the disappearing
icons. Thanks for the patch!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 05:56:18 +00:00
hikerstk
8742b8e127 Added debug output in case that the bullet assertion crash (see
bug 3058932).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 23:44:33 +00:00
hikerstk
b223901f7a Added more debug output in case of an assert that was triggered.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 23:06:21 +00:00
hikerstk
460db043ea Improved race-result screen not to show the times in FTL mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 23:05:31 +00:00
xapantu
2d17e2c2b8 Change back button id in the addons dialog to have a proper cancel button
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5914 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 18:04:22 +00:00
xapantu
4fd864fc4b Comment useless variable to remove compiler warning (and optimize a little)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5913 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 17:58:51 +00:00
hikerstk
fb7cd0e161 Applied jmimu's patch to fix bug 3059574 "Race icons
disappearing", which is triggered when AI karts have
finished the race. Thanks a lot!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 13:46:51 +00:00
hikerstk
55d076768c Added an epsilon to test if a flyable is inside of the track. Hopefully this
avoids an assertion crash in bullet (triggered because a point is outside
of the AABB) - small floating point variation can cause bullet's AABB
to be slightly different from STK's AABB (=track size).
This should fix bug 3058932 (though I have not been able to reproduce
the problem).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 13:38:23 +00:00
hikerstk
707c440548 Fixed bug in bugfix ;) Non-debug mode would still crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 11:25:48 +00:00
hikerstk
01a3da7920 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 06:19:37 +00:00
hikerstk
1d4471f7c4 Moved handling of kart elimination into emergency animation (since
it's closely related, i.e. removing and adding bullet bodies), and
fixed bug 3059830).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 23:08:27 +00:00
hikerstk
022464830c Added test for missing dimension to avoid assert in bullet
(though this does not fix bug 3058932).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5907 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 23:05:56 +00:00
auria
bc7f48d5e5 tweak text bubble widget so that the text cannot go too close to the right edge of the widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 17:50:29 +00:00
auria
381ac727b0 Fixed RTL credits + removed annoying debug print from there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 17:41:05 +00:00
auria
3154a8c23b Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 17:01:06 +00:00
auria
e4b1d27aca Fixed compilation problem in non-debug mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 16:59:00 +00:00
hikerstk
1eb2aed0bf Fixed skipping of the first result table (see bug 3059531).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 11:11:38 +00:00
hikerstk
8b29d20866 Fixed missing stars animation, which is now moved completely into
EmergencyAnimation (see bug 3059588).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5901 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 11:07:41 +00:00
mbjornstk
f02c89e835 Change transparency to 75% with GIMP.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 23:44:07 +00:00
hikerstk
a9d0acef3e Bugfix in new animated icons: if the kart positions were not in the right order
when stk is started (i.e. kart with world id 8 is on position 10 instead of 9)
then the race gui would crash. While this situation should not happen (the 
incorrect position happens if a kart has an invalid start position and is 
therefore rescued when the 'go' happens), this patch avoids a crash, helping
tpo diagnose other problems.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 23:41:59 +00:00
hikerstk
ebf6f561a9 Completely removed getRaceResultOrder functions, added debug support
for duplicated ranks to world_with_rank.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 14:05:59 +00:00
hikerstk
442168e845 More bug fixes for FTL mode, and started some code simplification.
By now FTL should basically work (i.e. not crash and list karts 
in the right order at the end), though the reported times are
still not correct.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 01:07:44 +00:00
hikerstk
7688b613ec Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 01:05:52 +00:00
hikerstk
2f25be8333 Updated project file, removed compiler warnings, worked around
compilation problem on windows related to directory removal
for the add on server. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 01:04:50 +00:00
auria
908116c983 Improved bright text color in peach skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 00:31:19 +00:00
auria
aca58a4ddf Disabled clipping in our font. Welcome back the bottom of letter 'g' and other similar stuff that was getting cut off due to over-agressive clipping of letters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 00:26:35 +00:00
auria
6ca4d0f642 Enlarged AddDeviceDialog so that hopefully clipping no more occurs on any resolution
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 00:13:41 +00:00
auria
ee2ffba374 Removed many abuses of the all-inclusive widgets.hpp header
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 00:10:31 +00:00
auria
0273249bad tweaked help bubbles after testing in various languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 23:55:32 +00:00
auria
93d2f49671 Fixed remaining issues with text bubbles by moving them to top of the hierarchy when focused
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 23:40:30 +00:00