127 Commits

Author SHA1 Message Date
hikerstk
5a7fb84267 Fixed incorrect overloaded getTexture function (char * where handled
as bool, not std::string), avoided more crashes on missing textures,
adde better warnings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-20 22:37:12 +00:00
hikerstk
8247f73604 Replaced tabs with spaces.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14448 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-15 12:52:39 +00:00
hikerstk
c5b8732087 Probably biggest commit (in terms of number of files) ever -
updated the (c) line of all files to -2013, added missing (c), 
changed format in some cases so that it will be easier in
the future to change them by script. No actualy code change.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-15 11:43:21 +00:00
auria
35d3807904 Add missing includes for some recent compilers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-24 00:29:05 +00:00
deveee
d00e0397f3 Improved sorting of add-ons.
I added possibility to back to default sorting by click on the head of the column third time.
There is still problem with switching between name and date column.

Code probably could be better. Feel free to improve it.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-03 20:53:33 +00:00
auria
9f0bc16ebf Make text boxes perfectly respect the allocated size
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 00:36:25 +00:00
auria
9fb7593efe Remove accidentally committed debug test
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-13 00:41:00 +00:00
auria
2693043395 The hayball in farm will now flatten you (exporter still left to do)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-13 00:36:37 +00:00
auria
900d495ee9 Make GUI lists just use box, to make them in line with the latest changes that borders should be inside width/height
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-06 01:05:08 +00:00
auria
fc9515222f Tweak textboxes skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13033 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-29 23:46:51 +00:00
auria
4039b9a7ef Apply patch by xenux to replace the text rating with star icons. Thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-24 00:34:38 +00:00
curaga
b56bf4dc53 Remove trailing space, git doesn't like it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 22:04:35 +00:00
hikerstk
a693eb7eb5 Added reverse-sorting of addons (#916). Thanks to ingridmorstrad for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-18 22:44:18 +00:00
hikerstk
52cc6a5271 Removed more unnecessary '//' in paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-28 21:21:49 +00:00
hikerstk
4410101721 Remove the usage of '//', which isn't properly supported by Irrlicht's CFileList
("a/b" and "a//b" on a file archive are not equal) and is not necessary.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-21 05:37:33 +00:00
auria
7921acc4aa Don't let players switch identity in single player mode. In single player mode this should be changed in the options screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-15 00:56:11 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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