Commit Graph

112 Commits

Author SHA1 Message Date
hiker
4d6b110e56 Removed unnecessary #include of user_config.hpp in other hpp files
(to reduce the amount of recompilation when user_config.hpp is changed).
2014-02-26 12:52:16 +11:00
funto66
39046749d2 Add a debug menu + option to reload shaders (memory leak, yeah, but it's just for debugging)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14674 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 00:09:35 +00:00
hikerstk
bced8cdb9f Merged with trunk, part 1 (due to previous failures I am splitting this
patch).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:27:55 +00:00
unitraxx
e0e8dff768 Last bug filtered out!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 00:23:31 +00:00
unitraxx
6198c43728 Awesome rating bar widget is awesome
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-02 02:25:58 +00:00
auria
88c1a3b56c Prevent double ribbon events when using mouse on a ribbon that's in a dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13094 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 22:55:12 +00:00
curaga
c5bb98d1e4 Remove couple unused variables, mark some per-file vars static
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:28:48 +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
auria
5a4f767403 Add special escape-menu on overworld, and make Nolok's bubble gum swapper-proof
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-29 22:46:29 +00:00
wardje
790f1b2bde Fix #671 - DemoWorld idle timer reset.
Fix the issue at the source. Instead of only reacting on GUI events,
catch GUI, mousy, key and joystick events and reset the timer on any
of them. Only then we're sure that mouse/keyboard/joystick movement
definitely resets the timer.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-19 04:40:23 +00:00
wardje
4a29403df6 Correct persistent typo
Someone had, at some point long ago, written warp instead of wrap.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-06 03:53:38 +00:00
auria
b12e73fe5c Add 'global' idle for demo mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 23:59:16 +00:00
auria
db2cd01922 Allow going to a challenge in the overworld by clicking on the minimap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-23 19:23:21 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
auria
5bde7a572d Slightly simplify semantincs (and code) of dialog notification of events
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-13 23:35:25 +00:00
auria
fd28f792ab Fixed missing notification to dialogs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-13 23:31:37 +00:00
auria
ddc2a3dab2 May now confirm kart selection by pressing fire on player name (in case someone selects a kart first, their identity second, this is more natural)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6192 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-02 00:39:24 +00:00
auria
141ce78156 Fixed excessive logging regression I accidentally introduced
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 00:25:54 +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
8df52854fe Added way for GUI screens to receive all player actions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-26 00:08:10 +00:00
auria
58e0671f9f Removed debug print accidentally committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-24 00:33:33 +00:00
auria
57b6375a85 Made invisible widgets non-triggerable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-24 00:32:03 +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
f43d9d4d35 Ported race paused dialog to XML files + fixed many small things with dialogs-from-xml on the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 23:24:08 +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
auria
b0b3faf53a Fixed focus navigations with missing widget IDs. For now up to 10 IDs may be missing and navigation will still work, I don't think we need more than 10
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-25 01:13:15 +00:00
auria
bef7ae34a8 Always give the mouse game master privileges, less confusing for players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:56:27 +00:00
auria
a1ebd4fc36 Make a hack around irrlicht limitations even more hackish to correct a crash when a list widget is the first in the screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5544 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 00:45:39 +00:00
auria
ed0064bcff Forbid changing resolution in-game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 18:51:29 +00:00
auria
8bb6ca6ac6 Fixed left/right ribbon arrows
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 18:41:26 +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
abab119b6d Fixed wrong (potentially old code) that was returning an enum item from a method returning bool (and the compiler doesn't tell, stupid C++)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:41:36 +00:00