139 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
734aa6e411 Suppressed unneeded warning from spinner widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 17:22:49 +00:00
auria
37901f7f39 Absolutely frivolous, but very cute, change : show icons of what is being loaded during the loading screen (sorry, couldn't help but waste time on this =)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 23:09:02 +00:00
auria
848107faa1 Removed unneeded print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 18:23:36 +00:00
auria
960dd16596 hopefully fixed shutdown crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:15:42 +00:00
auria
f97cec61ce Fixed the hard to click checkbox in a reasonably clean way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 02:07:51 +00:00
auria
599d0a806a Bye bye EvilTux, Welcome Konqi\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:47:05 +00:00
auria
7a19068a5d Fixed another crash at exit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:17:41 +00:00
auria
5c0fba91f0 Init GUI as early as possible and show a loading screen during the first seconds when STK is loading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 18:17:17 +00:00
auria
450517bb5c Fixed rare crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 16:49:46 +00:00
auria
a39d705b9a Added clarification to gui engine manual (xapantu was not able to make something work, thus I fix the docs :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:57:13 +00:00
auria
431e65b745 Added bubble widget to work around clipped text in help menu .I'm not sure I like it, and it's especially ugly in the glass skin, but that can be worked on later.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 20:24:42 +00:00
auria
4263f9a373 Fixed the small icons in the race paused screen that looked weird
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-03 20:14:39 +00:00
auria
bc490ef54e Added ability for setting some labels to a different color, to improve on the unreadable text on dark background issue. Colors may need to be tweaked.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5879 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-03 19:42:36 +00:00
auria
eb52c1d4af Improved on previously committed GUI engine internals docs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-18 01:38:18 +00:00
auria
8c578b19a4 Documented some GUI engine topics that are admittedly not trivial (thanks Joerg for showing me that ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-18 01:27:13 +00:00
auria
021dea1829 Reconciliated Screen and ModalDialog by extracting their common funcitonality into a common base class
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 00:39:53 +00:00
auria
d2399b76a6 Converted 'confirm resolution' dialog to use XML files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 00:10:09 +00:00
auria
b7fe74141e Converted the 'new player' dialog to use XML files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 23:51:34 +00:00
auria
f03c8b94fe Fixed error in GUI engine doc
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 22:23:11 +00:00
hikerstk
e034082a2b 1) Moved calls to World::(un)pause from state_manager into
the menus. This simplifies the state manager (no more
   hidden side effects of pushScreen), less parameter
   to onGameStateChange, easier extend for new RaceResultGUI
   (which must not have calls to pause). Now the calls
   are done in the Screen base class (and can be disabled
   in the constructor).
2) Many cosmetic changes to make the code follow our
   coding standards.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 01:15:19 +00:00
hikerstk
2ad6b0a027 Renamed CGUIFont.{h,cpp} to scalable_font.{hc}pp, removed all
references to CGUIFont (so that the new mono-space-digits functions
can be used everywhere); some code cleanup. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-21 00:01:22 +00:00
xapantu
ad9eb86671 Adding a progress bar to download addons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 14:39:45 +00:00
auria
5f18162c25 Simplified and cleaned up kart selection focus dispatcher logic; also corrected warp-around to work properly there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 17:19:12 +00:00
hikerstk
c6727bfc01 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 03:16:02 +00:00
auria
1bdca718cb Added GP lose animation (not yet shown when actually playing, for now click on the 'network' button to see it as usual)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 15:45:44 +00:00
auria
db52b6907d Fixed fallback to default skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5448 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-16 01:36:18 +00:00
auria
0f32d738b4 Fixed reference counting problems with skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-16 01:26:53 +00:00
auria
5cddb8ffb6 Added support for selecting GUI skin through user interface; aded skins by Dakal as a proof it works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 18:10:55 +00:00
auria
1556b60bdc Removed irrlicht 1.6 support code, since we don't support building with irrlicht 1.6 anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 15:28:32 +00:00
auria
c5b50e5a5c Major update to input handling code to support our #1 feature request : menu navigation should not be tied to accelerate/brake/steer, there should be keys especially for menu navigation. Note that the code is not yet complete, namely you cannot configure the menu keys
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 18:56:55 +00:00
auria
0670901505 Prevent GUI messages from appearing in large quantities (e.g. when pressing a gamepad axis and only the game master can play - show only one message, not one for every event generated along the axis)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:46:45 +00:00
auria
1bdc320742 Fixed karts selection screen messed up after a resolution switch; added some refactor to allow easier fixing of such problems in the future. Documented many more methods along the way.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:16:38 +00:00
auria
189fd13b37 More code cleanup (yeah, again, that's because I care ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:23:57 +00:00
auria
e4fcbd4535 Added higher-level calls to RibbonWidget so that Screens don't need to manually manipulate the internals of GUIEngine (continuing work started in previous commit)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:54:55 +00:00
auria
e9b621c93c Added higher-level calls to RibbonWidget so that Screens don't need to manually manipulate the internals of GUIEngine (they shouldn't even have access to them xD)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:43:06 +00:00
auria
8cc06205e4 More documentation improvements to GUI code. Fixed a couple old comments that were no longer valid and thus misleading.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:58:22 +00:00
auria
8a8408bb23 Added back support for displaying messages in the GUI (for instance when an old config file is found; though this won't actually happen for the 0.6->0.7 transition since it went from LISP to XML)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 01:21:53 +00:00
auria
400a102241 Code cleanup and documentation improvements in GUI code; fixed compilation error mysteriously introduced by removing LISP (WTF, I did a clean build, why didn't this error pop up then???)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 20:08:13 +00:00