Commit Graph

776 Commits

Author SHA1 Message Date
auria
65b4eed110 Implement going in the garage to change kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 19:32:17 +00:00
auria
6cc19c39d0 Improve challenge selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-31 00:28:17 +00:00
auria
973a7cd4bb Use higher-res font for the digits in the overworld
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 00:27:53 +00:00
hikerstk
351f766ca4 Made KArtProperties member of STKConfig a pointer,
which removes the dependency of kart_properties.hpp
from stk_config.hpp, hopefully reducing the compile
time when kart_properties.hpp is changed. Had to
add many missing includes all over the place as a
result :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-16 05:59:51 +00:00
auria
7518d008dd Bugfixes and improvements to spinner widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 21:01:03 +00:00
auria
4e62406c8f Improve gui layout algorithm
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 20:12:37 +00:00
auria
2786dbe353 Allow uninstalling addons that have upgrades available
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 19:48:54 +00:00
auria
1998aa11f3 Avoid potential crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-20 20:07:08 +00:00
auria
938826f129 As was discussed, remove top bar, move icons to the bottom
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 23:58:04 +00:00
auria
479b1249ff Highlight menu buttons even when using keyboard and not mouse. Sorry for the ugly code, gotta deal with irrlicht's skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 21:50:33 +00:00
auria
25f2700794 Improve main menu based on feedback received
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 17:54:58 +00:00
auria
de20a89c17 Horrible work around small glitch I'm too lazy to fix right now...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 00:44:30 +00:00
auria
8b50b30ecc New main menu, more minimalistic, based on mockup by samuncle. Please comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 00:25:23 +00:00
auria
92eb0ebd2a Ran a small bash script to remove all of those annoying strings. The only thing they gave us were the need to rebuild after committing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:43:36 +00:00
hikerstk
3f0e2a7f82 Cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-30 23:46:04 +00:00
auria
be1abb965e Apply patch by winterheart to build with latest irrlicht SVN. Yes, this means you need to update to latest irrlicht :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-20 00:15:47 +00:00
auria
d04bc58413 Quite a bit of work on Doxygen docs to contain an overview of the STK source code base
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-25 17:46:14 +00:00
hikerstk
492b58f8ce Bugfix: tabs could not be selected anymore. Reason was a change
from std::string & to const std::string & in r10008, and as
a result a virtual function was not overloaded anymore.
This patch changes all transmitEvent functions to use
const std::string &.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 23:39:28 +00:00
hikerstk
5471eca8ca Cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10008 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 10:59:55 +00:00
auria
ed624633aa Fixed leaks associated with changing language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 16:00:10 +00:00
auria
f56e8d85ec Fix for good CGUIEditBox leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 00:07:28 +00:00
auria
a8dfd29f65 improve a lot leaks of CGUIEditBox objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 00:00:57 +00:00
auria
62ed88eb34 Fixed CGUIEditBox memory leaks and fix crash when deleting player
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-15 23:40:50 +00:00
auria
d83a65a5a6 Forbig changing language when in-game as this crashes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-15 23:30:21 +00:00
hikerstk
b5c3266d2e Besides some cosmetic changes added & to setSelection parameter.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-30 01:07:05 +00:00
hikerstk
c7d7ef7263 Only cosmetic changes to follow our style guide (now
all STK source files have less than 170 characters
per line ;)  ).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-29 05:39:06 +00:00
hikerstk
3e32b840bf Only cosmetic changes to adjust the files to our coding style.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-28 05:19:22 +00:00
hikerstk
3777726596 Only cosmetic changes (line length, ...).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-28 04:54:52 +00:00
auria
8a4bc01416 Fixed #444
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-27 22:58:11 +00:00
auria
480ab1c436 Make code a bit more robust at detecting problems (not fixed yet though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-27 22:53:13 +00:00
hikerstk
cc9fce2965 Fixed VS compilation problem ('free' is a macro) by renaming free to deallocate.
Updated VS 9 project file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-23 00:07:24 +00:00
auria
978bb5466b Fixed a couple more leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 18:24:28 +00:00
auria
07afe4c87b Fix quite a few leaks in the GUI engine, and introduce my quick leak-detection macros in dbeug mode (with Joerg's approval)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 18:08:04 +00:00
hikerstk
f85556d83a Added thunderbird as start referee. Known bugs:
1) Ready, Set, Go is still shown.
2) Orientation of thunderbird is not correct in
   all cases (esp. in battle mode).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 00:48:49 +00:00
auria
4782c7ae39 Improve handling on long strings in tabs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 15:54:30 +00:00
auria
7395d5307b Improved handling of long add-on names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-02 00:31:22 +00:00
red-skull
c4a24ad6b6 mark conflicts between configuration in blue for #39 (commit with Auria's blessing)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-29 02:21:50 +00:00
auria
ef9d15c7f0 Use nice interpolation when rendering background
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-10 00:54:36 +00:00
auria
a031bd5731 Display a message when clicking on the add-ons icon and it is not enabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 01:20:41 +00:00
auria
e7b8fd5a1b Fixed spinner widget stealing focus even if activating it resulted in leaving the screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 21:20:59 +00:00
hikerstk
0edd32e8dd Applied nathanm's patch (#343). Thanks a lot!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 02:56:11 +00:00
funto66
a3ca6dadaf Separated the post-processing calculations from IrrDriver
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 23:29:37 +00:00
funto66
a102680a13 git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9278 178a84e3-b1eb-0310-8ba1-8eac791a3b58 2011-07-16 00:36:58 +00:00
auria
fbc468118e Some more updtaes to Doxygen docs :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 18:24:23 +00:00
auria
047cc4bc69 Make column names sensitive to live language switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 01:47:12 +00:00
auria
4df9e87f01 Somewhat improve the blurriness on top of tabs at some resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 01:30:13 +00:00
funto66
49ea3a9cf9 Improved the profiler: a bar is displayed to show the end of the analyzed frame, there are more markers, now the profiler can be frozen/unfrozen by clicking on it...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 00:04:12 +00:00
funto66
de401bc234 Added a first (unfinished) version of a graphical profiler
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 19:13:17 +00:00
hikerstk
73d93cc559 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-26 23:03:50 +00:00
auria
c96b00dc6b Reduce overlapping in add-ons screen by making the name column wider and the date column smaller
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 23:34:06 +00:00
auria
264a54fd2f Suppress useless logging in add-ons screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 23:04:54 +00:00
auria
0d5e9c83be Minor improvements to add-ons dialog : make flags use a smaller font since they are less important
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 23:01:26 +00:00
auria
139834f106 Add new empty methods to cope with updated interface in recent irrlicht
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-24 19:44:16 +00:00
auria
fa464cd4ab Fixed minor in-game menu bug found by KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 15:43:23 +00:00
auria
d391815608 Fixed clipping in bubble widgets
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 15:33:26 +00:00
auria
b833ce158b Fixed weird list rendering
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-15 01:48:35 +00:00
auria
fd53245e0c nice featured indicator
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-10 01:47:49 +00:00
auria
50234db02f Show 'hourclass' loading badge on addons menu item while it's loading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 01:43:04 +00:00
auria
b6be9ad17a Fixed embarrassing compilation error, too much copy and paste
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-03 00:09:23 +00:00
auria
be939e5e86 Improve behavior when more players than karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 22:43:38 +00:00
auria
a5d4275554 Fixed various crashes related to having more players than karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 22:34:28 +00:00
hikerstk
ef2f968473 Fixed compilation problem (missing string include), changed
parameter of getColour to be a string reference only.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:53:36 +00:00
hikerstk
5d10b4f5db Fix linux compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:47:26 +00:00
auria
d13f46fdd1 Minor improvement to ribbon layot, don't reserve space for arrows when arrows are hidden
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8751 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 21:04:22 +00:00
auria
6e4cee9341 Includes cleanup; especially avoid including in headers, creating implicit dependencies and horrible chains of recursive includes. Avoid iostream when possible because this header is not small
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 19:52:24 +00:00
hikerstk
4ccf633289 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 11:47:43 +00:00
auria
9b4df89d2e More tweaks to the code that determines number of ribbon rows
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 00:55:33 +00:00
auria
71832931b0 Fixed coordinate -1 resulting in weird bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:28:14 +00:00
auria
a74485f890 Improve a little the case of the relaod button
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:23:35 +00:00
hikerstk
8c22b21166 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 04:56:18 +00:00
auria
255a9d5619 More attempts at tweaking ribbon row-count decision formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:44:00 +00:00
auria
19ce15aee9 More attempts at tweaking ribbon row-count decision formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:12:21 +00:00
auria
ab3822242f More attempts at tweaking ribbon row-count decision formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:10:51 +00:00
auria
edb21d16ce Tweak the algorithm that chooses the number of rows in a ribbon, hopefully gives better results at high resolutions now in kart screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:41:07 +00:00
auria
30435bbde4 Highlight gamepad when pressing its keys, to help the player tell them apart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 20:51:17 +00:00
auria
da6742d7b1 Fixed focus navigation bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 20:29:12 +00:00
auria
8788a07010 Minor includes cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 23:04:19 +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
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
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
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
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
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
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
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
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
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
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
15cdaf04bd For ticket #82 : start adding the infrastructure to show in the UI which gamepad is which
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-14 00:30:30 +00:00
auria
3b91d2c327 Add some missing docs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 01:03:38 +00:00
auria
209911fa21 Add method beforeAddingWidgets to dialogs too, use it to fix Joerg's problem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 01:02:24 +00:00
hikerstk
498a0a104e 1) Moved news message handling into a separate object.
2) Added prioritised request list to network manager.
3) Fixed ticket 217 (crash at shutdown), which happens if 
   the background thread downloading the icons is still
   active when STK is quit (and then accessing managers
   that have been deleted).
4) Handled partial downloads correctly: files are now
   downloaded with ".part" appended to the filename,
   and only upon a successful download renamed to 
   the original name.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-12 23:51:00 +00:00
auria
91432cd658 Style cleanup : add some missing m_ prefixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-04 00:01:55 +00:00
auria
0f57b0b46a Rename macros to avoid name clases
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:50:36 +00:00
auria
a4c846bbe3 Experimental test, Joerg I hope you won't hate me ;) Switch some GUI code to for_each instead of for, i think it's easier to read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:46:03 +00:00
auria
e0361f53f1 Not really necessary cleanup :) : port kart properties to use Ptrvector, which makes code a bit smaller and (IMHO) easier to read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:14:00 +00:00
auria
532053d319 Fix some RTT-related leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-02 01:39:23 +00:00
auria
b1c7d6954c Properly enable font smoothing in loading screen too (this may not work unless you have a patched irrlicht)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-29 21:10:44 +00:00
auria
8bd30a0b87 Fix abundant warnings with GCC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-28 17:47:02 +00:00
hikerstk
3e947254f0 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8470 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 11:27:21 +00:00
auria
fd94266b45 Fixed disabled ribbon items can be accessed anyway if you use keyboard and not mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-26 17:39:07 +00:00
auria
1fb5469cb3 Fixed crash in ListWidget::getSelectionInternalName when nothing is selected
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8464 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-26 17:22:11 +00:00
auria
f7a9c6bcbd Continue waging war on hardcoded sizes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 00:18:36 +00:00
auria
9021f35cac Continue waging war on hardcoded sizes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 00:11:44 +00:00
auria
898fcdc8d6 Improve layout algorithm and remove many hardcoded sizes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 00:04:34 +00:00
auria
e65367f101 Minor documentation improvement
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-24 23:16:58 +00:00
auria
1d0621fd5a refactor gui layout code a little; next shall come awesome new layout features to hopefully crush all remaining resolution-specific bugs featuring clipped text
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-24 23:14:21 +00:00
auria
a4229e4cdb Fix focus lost when opening and closing dialog in players screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 20:56:57 +00:00
auria
c1f992231e Full support for smoothing scaled icons in the GUI (will only work if you use a patched irrlicht)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 20:34:38 +00:00
auria
6346188a64 Hat support is now believed to be there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-13 01:47:06 +00:00
hikerstk
ec6b6431ac Fixed crash in kart selection screen that happens if an
addon tab was selected previously, then that group is removed
(by deinstalling its contents with the addon manager). The gui
code tried then to access the previously selected tab, which
doesn't exist anymore. Now it will fall back to use the
first element (which at this stage is sure to exist).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 23:18:57 +00:00
hikerstk
9f2cc716eb Fixed compiler warnings (STK time function used 64-bit ints, so that stk still works after 2037 or so :) ).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 23:09:34 +00:00
auria
719e9c3622 Oops, in Doxygen the tag for preconditions is \pre
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 20:42:57 +00:00
auria
0ce0edf779 More work on docs...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 20:39:57 +00:00
auria
2c2ea81e93 More added or not clarification in GUI engine
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 20:31:06 +00:00
auria
13ed204b56 Delete duplicated code in karts selection screen + fix bogus assertion failure
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 20:23:52 +00:00
auria
02f252951c Work on documentation, and added some assertions that would have helped Joerg understand what was happening with his code ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 20:19:03 +00:00
auria
ae5b4c750d Add clarifiction to GUIEngine docs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 19:44:58 +00:00
auria
8c096136e7 Fix small text box caret issue found by KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 19:37:40 +00:00
auria
0dd5e61afd While we're at it, use nicer caret in text box...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 16:45:08 +00:00
auria
631785b7cf fix blinking caret in text box
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 16:10:55 +00:00
auria
260886f6f7 A better RTL input box
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 15:57:17 +00:00
auria
26971984cb Yet another attempt to work around irrlicht private headers woes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-08 15:12:21 +00:00
auria
db36487bfa Copy irrlicht class into our source tree, since they make all their widgets private and prevent us from deriving from them...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-08 15:07:00 +00:00
auria
8c633e41c9 Add private header from irrlicht, *hopefully* this fixes some issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-08 15:00:49 +00:00
auria
5caf8477d4 Fixed initial hiccup with scrolling text
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-07 23:47:45 +00:00
auria
0a18005a05 try to improve typing in text boxes for RTL languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-07 23:04:21 +00:00
auria
0c30bfbf53 Tweak RTL : should only happen when a stirng is actually translated, if no translation is provided and the string stays in English keep it LTR
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-06 23:43:17 +00:00
auria
9c0ec5c414 Fix wrong resolution selected when enough resolutions to enable scrolling
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-06 22:39:54 +00:00
auria
d58bfca783 Minor improvements to Doxygen docs (woot, Doxygen 1.7 looks great\!)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-01 15:46:38 +00:00
auria
d1126e12c9 Improve GUI Engine Doxygen docs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-01 15:10:45 +00:00
auria
6b6cc3f7bf Remove outdated TODOs + fix typo
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-01 14:48:25 +00:00
auria
66cb1f729b Allow translating wide stirngs too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8121 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 16:28:50 +00:00
auria
7cf08bf3e6 Update the screen loading code to support loading unicode XML files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 15:50:25 +00:00
auria
3be02f1bc4 Fixed bug in previous commit, oops
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 13:44:53 +00:00
auria
1ba9c8f6e7 Fix label scrolling
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 13:35:10 +00:00
hikerstk
d00f587d7a Added disableShadow method to ScalableFont, and
added black shadow/outline to text in the race gui.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 22:59:32 +00:00
hikerstk
15ad480827 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-28 23:18:51 +00:00
auria
aba8b2df34 Allow labels to resize up on setText
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8093 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 23:07:23 +00:00
auria
581205944a Fixed navigation issues with lists (why did it ever work??)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8084 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 01:47:21 +00:00
auria
76374f0198 Shut up annoying warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 01:30:38 +00:00
auria
f3f58cc297 Fix challenges screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8081 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 01:10:06 +00:00
auria
1985d54536 Attempt to fix tab traversal in irrlicht 1.8
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 00:53:28 +00:00
auria
7377d6739e Add uniform back buttons everywhere in a subtle location
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 23:51:49 +00:00
auria
9306c5c7e6 Fixed scrolling test under irrlicht 1.8
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8062 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 19:31:03 +00:00
auria
c4660216fd Fixed text clipping issues (only if using irrlicht 1.8)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8059 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 15:37:52 +00:00
hikerstk
ff152bfeed Save number of times a message is displayed to the config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8057 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 03:20:21 +00:00
auria
4af41ee77a Fixed label scrolling code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 22:51:17 +00:00
hikerstk
ebda46f19a Removed time between consecutive scrolled test displays.
Added count of how often a message is being (fully) displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 21:28:50 +00:00
hikerstk
8f34aea2b4 Added support for horizontally scrolling text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 21:06:11 +00:00
auria
1ba3e60baa nicer-looking tooltips
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-21 15:38:30 +00:00
hikerstk
fc5ddb2ad0 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8012 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-21 05:19:42 +00:00
auria
62c904c851 Improved hovering over tabs (no more messed up focus when mouse leaves)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8004 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-20 20:12:39 +00:00
auria
a078105aee Show tooltips when hovering options tabs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-20 19:49:55 +00:00
auria
2634dd6e74 Show tooltips on top
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-20 19:17:04 +00:00
auria
b55cafda36 Reorganize options in more screens, use 'accordion tabs' to fit everything in the available space, I *think* the result is good, feedback welcome
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-20 18:50:20 +00:00
auria
c0daa96282 Minor update to tabs widget, makes focus follow mouse in skin, looks nicer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7993 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-19 18:27:59 +00:00
auria
392bfe3e9c Fixed bug in scalable font, that was visible in the tooltip
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-19 18:14:15 +00:00
auria
b8d5763aca Add tooltip to explain what each GFX level does (as suggested in Trac) + remove NLS_ENABLED checks, with tinygettext translation is always available.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-18 16:50:22 +00:00
auria
749d63cfec Fix bubbles when used with RTL language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 20:44:46 +00:00
auria
65a0722835 Fixed possible text overlap on bottom of bubbles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 02:58:48 +00:00
auria
8b9a9677fe Fixed some font centering issues during live switch between RTL and LTR languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:11:57 +00:00
auria
b62cf339cb Use irrlicht's 1.8 RTL support if 1.8 is the verison being used
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 20:47:09 +00:00
hikerstk
4d8b8e5dea Renamed ptr_vector to PtrVector so that is follows
our naming convention, also changed contentsVector
to m_contents_vector, and removed unused add method
(which is using an iterator, which would not work
when using aligned_arrays on windows anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:20:53 +00:00
auria
7f7cce4186 Fix potential issue with translations : I was changing the label in a button. In english it so happened that the second label was shorter than the first so it fit; but this is not the case in all translations. So when changing the button label, make sure the button is large enough to display the new string
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 00:52:42 +00:00
hikerstk
4ab6331ff4 Update to bullet-2.77.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:04:13 +00:00
auria
040ad4d692 Fix my ugly 'tab' hack in the string renderer so that the results are better in RTL languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 00:42:57 +00:00
auria
2abcee3f8f More cleanup and simplification in kart selection screen to make it less loaded
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 22:11:43 +00:00
auria
e9c036b957 Started implementing tweaks to multiplayer menus, which hopefully will make split-screen more user-friendly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 21:40:19 +00:00
auria
cf751ab11a Extend RTTI provider to not hardcode scaling of meshes + fix warnings when hovering locked karts + when hovering locked kart, display locked feature chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 02:58:32 +00:00
auria
6fa952766b Make abstract state manager more consistent; previously, some methods would always log, others never. Now use the logging level setting uniformly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 19:38:59 +00:00
hikerstk
485d6bc045 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 10:31:37 +00:00
auria
17a0f09296 Fixed a few more uses of atoi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 00:25:21 +00:00
auria
9dc6c082d3 Fixed compilation. Oops\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 20:56:14 +00:00
auria
a774bb8a9b Properly align text in bubbles when language is RTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 20:53:13 +00:00
xapantu
06903fdeb0 Enable alpha for the bottombar, it caused a glitch here (ok, maybe the problem is my graphic card/driver :/), just revert if there was a reason :) (like performance issue?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 15:26:15 +00:00
auria
ec543ae213 Added the necessary code to handle switching language live at runtime (not yet accessible in a nice way from the user interface, this will need to come later)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 03:07:42 +00:00
auria
0ffb08e285 Added Dakal's bottom bar to the main menu, looks nice, makes the news message more visible, and also I'll probably add some more stuff there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 02:25:59 +00:00
hikerstk
946526662a Added 'isVisible' method.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 06:00:19 +00:00
hikerstk
54b7d57d63 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 04:35:35 +00:00
auria
8ddb9aee41 Removed more useless FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:18:52 +00:00
auria
d22ec956b6 Clean up deactivating spinners, removing a few FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:13:47 +00:00
auria
fdbafeb5ff More FIXME cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:06:45 +00:00
auria
7e04cb4f75 Implement a few long0misisng features in the layout manager, correcting FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:43:26 +00:00
auria
04e08b78ad Remove a few unuseful FIXMEs, replace with appropriate documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:41:19 +00:00
auria
93503a8451 Better handle filler ribbon items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 23:49:46 +00:00
hikerstk
d78310c9e3 Made ListWidget::addItem to take const &; started to remove use of
m_index in addon_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 05:43:10 +00:00
auria
03c6245e21 Added more copyright statements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:59:55 +00:00
hikerstk
970d261f4b Removed warning for duplicated characters, since they are now ordered properly
and not considered an error anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:31:20 +00:00
auria
4ec08502b2 Fixed small memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:59:56 +00:00
hikerstk
d0acfaae3c Fixed incorrect warnings when reading fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 06:20:12 +00:00
auria
fb86f84c3e Add debug checks to font class so that font conflicts are detected and reported
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 14:23:06 +00:00
hikerstk
af9f6d651e Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 05:49:30 +00:00
auria
3a149c5a78 Reduce font size for long GP names to avoid clipping (long translations can still cause clipping though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:06:44 +00:00
auria
9fe7bd21a0 Minor : gui messages shouldn't stay after starting game and exiting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 23:57:55 +00:00
auria
507b9e5822 Fixed rare assertion failure
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 01:40:27 +00:00
auria
cb78ded2ed Tidy up logging + other minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 17:19:13 +00:00