Commit Graph

6372 Commits

Author SHA1 Message Date
auria
9e4b17d76f Fixed potential read of unset variable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 20:39:31 +00:00
auria
4157f7dc10 More work on 'thou shalt not include irrlicht.h everywhere carelessly'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:45:17 +00:00
auria
b31cca3ccd Fixed warnings with Visual studio
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:30:24 +00:00
auria
357af5a27d More work on 'thou shalt not include irrlicht.h everywhere carelessly'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:29:52 +00:00
auria
5b073ca9d0 More work on 'thou shalt not include irrlicht.h everywhere carelessly', plus add debug checks to tinygettext in a desperate attempt to make STK Arthur_D-proof
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:41:52 +00:00
auria
a37008d014 More work on 'thou shalt not include irrlicht.h everywhere carelessly', plus add debug checks to track.hpp in a desperate attempt to make STK Arthur_D-proof
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:31:25 +00:00
auria
d501753ef2 Clean up irrlicht includes; avoiding including the huge irrlicht.h when we only need one specific class, especially in header files; use forwards when possible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:03:28 +00:00
auria
c790ecc1e0 Fix glitch in emule shadow
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:02:09 +00:00
hikerstk
3ba9407518 Fixed first startup of STK (i.e. when no config.xml exist, and the
user is asked if he wants to connect). Fixed also some problems
with enabling/disabling internet news in the GUI.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 14:09:02 +00:00
auria
7aac279fc8 Improve layour of bubble widgets to be more predictable, fix potential lack of error checks in Skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 02:01:57 +00:00
auria
0dbed4b737 Allow track groups to be changed at runtime
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 01:30:11 +00:00
auria
e8161f092d Make end camera stick a bit more
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8655 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 01:16:19 +00:00
auria
105e941002 Fixed silly crash when editing player names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 01:08:13 +00:00
auria
837adee03d remove unecessary include
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 22:39:44 +00:00
auria
c35b36db3a Fixed memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 22:35:38 +00:00
auria
3ebdd0e396 revert previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 01:53:17 +00:00
auria
80f3f1a55c Apply patch by nathanm32292394
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 01:40:58 +00:00
auria
80ce6be8f7 Make FBO setting configurable in GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 01:35:45 +00:00
auria
c5ddfb1d6d Add nice little race end fanfare and race summary song by Dundersylt
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 01:07:06 +00:00
auria
47d03595de Make minimap less transparent
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 00:42:19 +00:00
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