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
auria
0930521e6b
Minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:40:00 +00:00
auria
3c4a67045f
Minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:39:08 +00:00
auria
4356939ca2
Minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:35:52 +00:00
auria
57c4a77a76
Slightly cleaned up some code in event handler
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 00:50:11 +00:00
auria
0c90c98215
Work around irrlicht list limitations with dark magic
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 17:27:17 +00:00
auria
17d871732d
Fixed typing player names when some letters are mapped to accelerate/brake/fire/etc... in some keyboard config. identified a FIXME and cleaned up another bit of code on the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 00:22:35 +00:00
hikerstk
57df1a157d
Fixed VS compilation problem.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 23:41:40 +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
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
hikerstk
ef174c6ab6
Fixed incorrect return value causing messages to be printed twice (or messages that
...
should be ignored to be printed). This does not fix the 'read Chunk...' messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-18 12:35:45 +00:00
auria
77a69fb80b
Moved logging code out of the input handler to the event handler, where it belongs more
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-16 00:24:25 +00:00
auria
a009b2ef6c
Better define which widgets can be visited by multiple players, fixing weird missing focus issues when a player > 0 selected a widget he shouldn't
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 17:13:39 +00:00
auria
5c2ec6014a
Typo fix
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5091 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-28 00:08:29 +00:00
auria
bbc5330241
More work on the player list... /me is getting sick of fighting against irrLicht widgets *sigh*
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5090 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-28 00:02:57 +00:00
auria
e92286f24f
Fixed lists being messed up because some events were denied from them
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:44:05 +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
6b65eb0217
Applied other patch by Hilton Medeiros
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 19:45:16 +00:00
auria
ea4cd3263a
Removed a couple debug prints that w ere not useful anymore
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 23:32:37 +00:00
auria
93e569c3a2
Fixed keyboard navigation bug when a dialog was shown
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 20:54:43 +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
958c107969
non-game-master players are now also prevented from altering race setup screens using mouse
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 19:29:35 +00:00
auria
a5803e8c9d
dynamic cast strikes again
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 21:00:02 +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
ef77d9906b
Fixed a FIXME (memory leak) + removed a few annoying debug prints
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 19:45:44 +00:00
auria
ccefaf28b0
Fixed in-game pause dialog + fixed a crash when using mouse when no keyboard/mouse player was set
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-02 02:05:04 +00:00
auria
fa9a038f0a
Fixed dispatching of mouse clicks in kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-02 01:11:09 +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
e4c8dede5c
Completely fixed list navigation (including problems that were there before focus code migration, yay\!)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-01 00:02:59 +00:00
auria
129c93f4bf
Fixed pressing space in text areas (/me should beware about static variables in header files...)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 23:35:54 +00:00
auria
c3419d8ddb
Improved 'space' interrupting type-a-name dialog when it's mapped to fire (in some cases it still doesn't work, didn't find why)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 23:14:52 +00:00
auria
729ccbc79b
Fixed keyboard navigation & text boxes, improved the visual clues that it's focused
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 23:06:58 +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
4f7187467b
Corrected bug in multiplayer event dispatch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 17:05:58 +00:00
auria
a4bf6a4228
Clean up the way multiplayer selection is handled (doesn't behave any better for the moment as far as i can tell, but paves the way for future improvements)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 00:32:18 +00:00
auria
873fee4d1e
Fixed potential crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4169 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-30 00:09:32 +00:00
auria
9722842054
It is now detected when 2 players choose the same identity (but nothing is done yet)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 00:59:46 +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
410cb0fe54
More minor changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 23:00:12 +00:00
auria
1d64a45e79
Minor changes (nothing visible)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 22:51:23 +00:00
auria
9604fa2b8c
'Setup new race' button in paused dialog now works
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 18:29:51 +00:00
auria
0f775b8a8c
More event propagation cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 18:25:14 +00:00
auria
d7c7861bd1
Removed many 'using namespace' from headers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 23:43:14 +00:00