Commit Graph

570 Commits

Author SHA1 Message Date
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