Commit Graph

6202 Commits

Author SHA1 Message Date
hikerstk
be258f1b75 Added support for sorting addons by column; renamed addons.stkgui
to addons_screen.stkgui to indicate better where it is used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 22:43:27 +00:00
hikerstk
8d760b11cd Added display of the date for addons (should we perhaps make the
strftime format translatable?).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 13:09:53 +00:00
auria
f6bc7a0a71 Correct some miscalculation in previous commit; but on the way, max the speed boost less powerful with regard to max speed, I like it better this way ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 01:01:08 +00:00
auria
41ef52118f Don't freely grant max speed increase on race start, first check if the bonus was obtained
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 00:57:30 +00:00
hikerstk
0e589e0db5 1) Removed unsupported 'fan' and 'high quality' flags.
2) Use multi-line label instead of manually splitting
   the flags for two separate labels.
3) Translated flags that will be shown to 'normal'
   users (i.e. with no artist debug defined).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 00:56:56 +00:00
auria
ad7cbfae3f Add better docs about line breaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 00:54:39 +00:00
auria
b77f9fc9e7 Fix incorrect fog flag in recent commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 00:25:48 +00:00
hikerstk
af710f70d8 Changed layout of addons loading screen: made screen shot
smaller (since esp. icons are small anyway and look ugly
when scaled up), removed 'state' label.
The flags are now shown as well (not sure if they should
be all translated), and only approved addons are shown
for people without artist-debug mode set.
Added callback to header list (which don't do anything atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 23:10:04 +00:00
auria
0a2c9fc318 Simplify error message
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:19:58 +00:00
auria
9106fb8bfc Tweak previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:15:04 +00:00
auria
426da1ed04 Apply fog settings to skid marks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:14:33 +00:00
auria
d8abe4604d Fix glitch in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:05:33 +00:00
auria
0a41c5fff8 Fix fog wrt LOD nodes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:00:26 +00:00
mbjornstk
773acfac41 Replace bubble gum with lower poly version from r8631.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 00:42:24 +00:00
hikerstk
6d2e5fa348 Removed useless 'Status' text from addons_loading gui.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 12:28:56 +00:00
hikerstk
078ba48e63 Store designer and status flag for addons. Designer is now
shown in table view of all addons.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 12:01:03 +00:00
hikerstk
c83a6c990f Fixed typo in log message.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 11:59:29 +00:00
hikerstk
1bd17892e5 4-This line, and those below, will be ignored --
M    src/states_screens/addons_screen.cpp
M    data/gui/addons.stkguRemoved unused field.i


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 07:06:10 +00:00
hikerstk
837277ef92 Fixed compile warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 06:47:44 +00:00
hikerstk
c3d40b798a Renamed addons_view_dialog.stkgui to addons_loading.stkgui,
so that the stkgui name is the same as the source file name.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 06:43:18 +00:00
hikerstk
7fb3a6fb0b Removed compiler warnings about order of initialisations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8624 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 05:32:36 +00:00
hikerstk
9bdc12ba95 Removed unused HC_SLEEP command.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8623 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 05:31:33 +00:00
mbjornstk
53640b68c2 Change printf to fprintf (as other err prints in same file) so it compiles.
Otherwise it halted with g++ 4.6 with the following test:
addons/addons_manager.cpp: In member function ‘void* AddonsManager::downloadIcons()’:
addons/addons_manager.cpp:157:41: error: cannot pass objects of non-trivially-copyable type ‘const string’ through ‘...’
addons/addons_manager.cpp:157:41: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘const string’ [-Wformat]


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 04:24:56 +00:00
auria
aaaa700e0a Fix back arrow in add-ons screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 01:17:13 +00:00
auria
780f45754f make list header non-focusable for keyboard-only navigation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 01:15:21 +00:00
auria
7a1ab1fc61 Further improve list widget header
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 01:06:12 +00:00
auria
a3a77e626f Clean up addons XML file while Joerg is not working on it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 01:01:51 +00:00
auria
698ab54e7c revert to default is currently selected skin is not found (if someday we decide to remove 'glass', for instance ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 00:55:13 +00:00
auria
66777f07e9 Tweak look of lists a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 00:52:25 +00:00
auria
5041199771 Some more work on list with header
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 00:49:57 +00:00
auria
3cee2ddbe3 A optional header to list control (atm not very pretty and only supports 2 columns, but the basic features are there)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 00:39:55 +00:00
hikerstk
8cd2eb1e16 Renamed Synchronised::get()/set() to getAtomic()/setAtomic()
to better indicate what those functions are doing.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8611 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 21:49:58 +00:00
hikerstk
e0107c35eb 1) Fixed handling of aborts (previously an abort during installation
could end in cancelling a currently ongoing icon download, e.g. if
   icons were still downloading, and the download of the addon had not
   been started yet).
2) Fixed potential deadlocks or crash problems at exit.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 13:17:03 +00:00
hikerstk
6ac6e76f12 Bugfix: clicking on 'back' in a new addon installation case
crashed stk.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 13:13:22 +00:00
hikerstk
859a77df0d Added support for new XML format which can specify either
an image or an icon.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 13:11:37 +00:00
hikerstk
709b73deb8 Added warning message in case of an addon that has no image defined.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 13:10:38 +00:00
mbjornstk
229fd5f31a Replace low poly banana with new version from r8603.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 01:34:05 +00:00
mbjornstk
0fce17941e Remove svn property.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 01:26:19 +00:00
mbjornstk
14d926386d Replace low poly gift box (even less polys, solid).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 00:43:01 +00:00
auria
13de7b86d4 Give the same APPROXIMATE plunger-in-face handicap at all resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 23:59:49 +00:00
auria
344c89e258 When aiming at the closest kart, prefer karts on similar Y levels to karts much higher or much below
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 23:42:21 +00:00
auria
4e85539c21 Remove commented out code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 23:26:12 +00:00
auria
2ed8f0f6d2 highlight ribbon arrows as requested by Joerg
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 23:08:15 +00:00
auria
41bded8917 More sound tweaks in multiplayer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:58:33 +00:00
auria
a3b3fafe27 More sound tweaks in multiplayer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:44:42 +00:00
auria
32a534b80f Dim more sounds in multiplayer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:38:31 +00:00
auria
75c1b486db Suppress annoying and harmless warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:28:35 +00:00
auria
c66ada8168 Suppress annoying warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:28:07 +00:00
auria
f855f53a54 Add lower-poly bubblegum model, to fix issue I introduced with swapper with regards to LOD+items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:24:49 +00:00
auria
424f176497 Fix annoyingly high terrain sounds in multiplayer mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:20:24 +00:00