hikerstk
73c498daf3
Start to support 'externa' data directories. Most directories
...
from data can now be moved out (except music). STK prints
an overview of which directory is taken from where. More
cleanups and improvements will come.
Also moved skins into a separate directory under data (from
data/skins), since it's likely that skins will be part
of a binary package (i.e. changes to skins not really
related to code), while gui files will more likely stay
with the code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 23:48:47 +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
auria
a27853a592
Apply patch by Lilian Gimenez to support gamepad triggers in input code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-01 22:50:59 +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
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
92fea12684
Make highlighting of devices in use more selective
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-06 23:56:56 +00:00
auria
b0270f69d6
Show in the options when many similar gamepads are connected
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-10 19:47:59 +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
5f812437b9
Build upon work from previous commit. Commented out because the code is currently not very useful
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8567 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-14 00:42:57 +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
7fb259c10c
Corrected a couple minor FIXMEs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8157 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 23:16:31 +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
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
009960fc8a
Clean up call to fribidi, add capabilities to insert values to the _ macro
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 23:39:10 +00:00
auria
92e7be10d3
Started adding option to disable gamepads, this will allow shutting up gamepads that have soemthing constantly pressed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 01:26:31 +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
auria
dd0caa5f0a
Split audio and video options in 2 separate tabs, in preparation for adding more items
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 16:12:41 +00:00
auria
1b3ea64041
Initial incarnation of the new input configuration menu. More to come
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 19:39:09 +00:00
hikerstk
e3ba096997
Print information message only on appropriate verbosity levels (to avoid
...
too many messages during a normal startup).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 13:58:13 +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
1a9b1466bb
removed many includes in headers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 14:41:23 +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
281036fc3c
More code cleanup and documentation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:07:56 +00:00
auria
d1df9b1ee1
Fixed several FIXMEs related to player ID
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 21:02:40 +00:00
auria
2f3cf6d8b4
Cleanup : less publicly editable members in Widget, renamed the name of tabs in options because there was a name conflict, improved widget search into the tree
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:18:07 +00:00
auria
fad4cb4c01
Updated menu singleton code, there was a bug in its logic (that had no consequence that i know but better fix it anyway) + some code style cleanup along the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-18 18:18:19 +00:00
auria
5d127c878c
Removed unused constant, fixed compile error in switch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 02:41:10 +00:00
auria
c151c124cb
Added utility methods to set badges in GUI; used them to fix missing green badge when selecting kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:21:53 +00:00
auria
10116f628b
Give some eye candy to the GP list in the tracks selection screen + clean code along the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 02:21:07 +00:00
auria
7b8fc1e592
Fixed compilation warnings, + warn if many keys are assigned to the same action in input settings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 01:46:29 +00:00
auria
2fb710f30b
Implemented adding keyboard configs through the GUI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-28 18:13:24 +00:00
auria
631ac7de5d
Moving towards adding support for multiple keyboard configs through the GUI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 19:48:41 +00:00
mbjornstk
5fe41e5625
Run expand -t4 to convert tabs to spaces. No other whitespace fixes, but
...
there are still trailing spaces and lines with 5 spaces as indent (fix them
as the files are changed for other reasons). src/guiengine/CGUIFont.* and
src/bullet/ not processed to allow cleaner updates from upstream.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-18 00:36:35 +00:00
auria
68ba369ff4
Lots of small fixes and cleanup; major change : totally bypass irrLicht's icon rendering in the GUI, which is insufficient for our needs. Use a new system that's much more flexible. Improved locking icon on the way. A few minor glitches introduced, to be fixed soon
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 20:15:09 +00:00
auria
cb91674631
Started adding support for multiple keyboard players (does not work at kart selection screen atm)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 15:09:34 +00:00
auria
bed61da8a6
Fixed various FIXMEs by using a constant instead of hardcoding a value, + removed a bit of old code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 19:58:26 +00:00
auria
bc9f8ebf6c
Improved assignment of mouse to which player (a few known glitches when game master uses a gamepad, but getting better overall)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4193 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-02 01:04:05 +00:00
auria
8a3bcdaa03
Yay for another mammoth commit! Totally refactored focus handling code; ditched irrlicht code, completely switched to my own. Things are now much clearer. A few known glitches were introduced and should be corrected soon
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 19:09:45 +00:00
auria
b1f540e062
Improved support for multiplayer kart selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 23:04:38 +00:00
auria
c17cf14c72
Post-mammoth commit cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 00:07:08 +00:00
auria
1292e2a37f
Yay for another mammoth commitsvn rm src/states_screens/options_screen.hpp Major cleanup in screens event handling, so that I can look at my code without being ashamed ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 23:59:05 +00:00