Johannes Schickel
438f2b2e1b
WINCE: Cleanup WinCE event source a bit.
2011-03-09 02:49:22 +01:00
Johannes Schickel
aebd9c6ea0
WINCE: Run astyle over WinCE related event and graphics source files.
2011-03-08 19:49:10 +01:00
Max Horn
aa452d3aeb
WINCE: Make scummvm compile and run again for WinCE platform (patch #3202337 )
2011-03-08 12:53:41 +01:00
Max Horn
57c932abdd
BACKENDS: Reduce header interdependencies
...
svn-id: r55808
2011-02-07 17:53:15 +00:00
Filippos Karapetis
2126aa588f
SDL: Don't send key up events for special keys that are handled by handleKeyDown()
...
Fixes bug #3166522 at the SDL level (fix 1/2)
svn-id: r55567
2011-01-27 14:17:59 +00:00
Max Horn
4bed2b3ff5
SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation
...
svn-id: r54575
2010-11-29 16:35:29 +00:00
Max Horn
df05ed1a46
BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
...
svn-id: r54573
2010-11-29 16:18:43 +00:00
Max Horn
4e0e406181
SDL: Move #include <SDL.h> into a special wrapper file
...
svn-id: r54572
2010-11-29 16:16:50 +00:00
Max Horn
69c2fc5ceb
GP2X: Fix typo (and maybe compilation?)
...
svn-id: r54571
2010-11-29 14:03:36 +00:00
Max Horn
1ef8d5e38a
GP2X: More compilation fixes
...
svn-id: r54569
2010-11-29 10:43:14 +00:00
Max Horn
a162ff18bc
SDL: Various more SdlEventSource related fixes
...
svn-id: r54553
2010-11-28 22:04:39 +00:00
Max Horn
364382cf9f
SDL: Change refs to SdlEventManager to SdlEventSource
...
svn-id: r54544
2010-11-28 18:39:04 +00:00
Max Horn
8399232a43
DINGUX: More compilation fixes
...
svn-id: r54541
2010-11-28 18:10:12 +00:00
Max Horn
1c3ba8bc40
LINUXMOTO: More compilation fixes
...
svn-id: r54540
2010-11-28 18:09:43 +00:00
Max Horn
beed05b0af
DINGUX: Correct compilation fix (I hope), remove dead code
...
svn-id: r54539
2010-11-28 17:43:10 +00:00
Max Horn
bed8c34a87
DINGUX: Compilation fixes
...
svn-id: r54533
2010-11-28 17:18:08 +00:00
Max Horn
d5840b72f9
DINGUX: Attempt to fix the new code for this backend
...
It seems in the gsoc2010-opengl branch, the dingux port was not anymore
updated at some point, so some changes that were made in general did not
make it till here. This is my attempt to fix at least the most obvious
problems, but without being able to compile it, all these changes should
be very carefully reviewed.
svn-id: r54522
2010-11-28 14:57:59 +00:00
Max Horn
7760077cf5
Merging the gsoc2010-opengl branch
...
svn-id: r54518
2010-11-28 14:56:31 +00:00
Fabio Battaglia
74a53df11b
DINGUX: fix compilation for the opengl branch
...
Moved events related code to backends/events/dinguxsdl/*
and move graphics related code to backends/graphics/dinguxsdl/*
Subclass OSystem_POSIX instead of OSystem_SDL
svn-id: r53730
2010-10-23 09:30:26 +00:00
Johannes Schickel
1769b520aa
OPENGL: Cleanup.
...
svn-id: r53434
2010-10-13 15:42:33 +00:00
Johannes Schickel
a2b96a2516
OPENGL: Replace SdlEventManager by SdlEventSource.
...
Formerly SdlEventManager was a subclass of DefaultEventManager but did not
really have anything in common with the idea of our EventManager interface.
Now I made a new object SdlEventSource which only subclasses EventSource
and which is responsible for obtaining events from SDL (and processing them).
svn-id: r53433
2010-10-13 15:42:16 +00:00
Johannes Schickel
75e8452b6e
OPENGL: Merged from trunk, from rev 52105 to 53396.
...
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.
Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.
svn-id: r53399
2010-10-13 03:57:44 +00:00
Willem Jan Palenstijn
7f2dfd0f82
EVENTS: Apply backspace hack to keyrepeat too
...
svn-id: r52993
2010-10-03 14:59:36 +00:00
Alejandro Marzini
58d256c15e
SDL: Make use of SDL_BACKEND instead of platform specific defines.
...
svn-id: r52029
2010-08-12 06:30:26 +00:00
Lars Persson
2e55bcf383
SYMBIAN platform. Correct building of SDL refacturing for Symbian.
...
svn-id: r51587
2010-08-01 19:40:46 +00:00
Alejandro Marzini
fb4086cadb
Merged from trunk, from Rev 50841 to HEAD
...
svn-id: r51495
2010-07-30 05:28:09 +00:00
Alejandro Marzini
38b4098f67
SDL: Hack to handle special SDL events.
...
svn-id: r51015
2010-07-19 05:33:58 +00:00
Max Horn
0b48a71c99
Remove PalmOS port
...
svn-id: r50964
2010-07-17 18:41:38 +00:00
Alejandro Marzini
f53028d4a2
Replaced the extra SDL functions added to GraphicsManager with an EventObserver in SdlGraphicsManager.
...
svn-id: r50900
2010-07-15 01:21:20 +00:00
Alejandro Marzini
609e08d5db
Merged from trunk, from Rev 49499 to HEAD
...
svn-id: r50840
2010-07-13 04:31:15 +00:00
Alejandro Marzini
4dca7c7e02
Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions.
...
svn-id: r50796
2010-07-11 04:32:24 +00:00
Alejandro Marzini
fda9416cc8
Cleanup and documentation.
...
svn-id: r50609
2010-07-03 00:13:45 +00:00
Alejandro Marzini
a35db656d3
Modularized GP2X backend. Renamed GP2XWIZSdlEventManager to GP2XSdlEventManager, and added GP2X code.
...
svn-id: r50542
2010-07-01 06:07:24 +00:00
Alejandro Marzini
1bc87e3bee
Removed static mapKey function.
...
svn-id: r50539
2010-06-30 19:30:36 +00:00
Alejandro Marzini
c174d5327b
Modularized GP2XWIZ backend.
...
svn-id: r50514
2010-06-30 04:46:55 +00:00
Alejandro Marzini
afd2a2c01d
Renamed Samsung TV SDL Event Manager class and file for constancy, and added initialization for it on Samsung TV backend.
...
svn-id: r50481
2010-06-29 05:00:44 +00:00
Alejandro Marzini
fd77e4b09c
Modularized Linuxmoto port.
...
svn-id: r50474
2010-06-29 01:08:36 +00:00
Alejandro Marzini
62ac3982aa
Modularized Symbian port.
...
svn-id: r50356
2010-06-26 23:05:37 +00:00
Alejandro Marzini
d04a2a266d
Modularized Samsung TV port.
...
svn-id: r50258
2010-06-25 05:02:40 +00:00
Alejandro Marzini
99c0f82608
Fixed some disabled code that was with problems after modularization.
...
svn-id: r49899
2010-06-16 04:34:44 +00:00
Alejandro Marzini
360b82858c
Added SdlEventManager.
...
svn-id: r49635
2010-06-13 20:31:25 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Fabio Battaglia
ecff81544c
remove unneeded workaround for #47233
...
svn-id: r47234
2010-01-10 18:11:36 +00:00
Fabio Battaglia
8703b6929f
Mark the 'fix' in r47231 as a workaround for a probably deeper problem.
...
svn-id: r47232
2010-01-10 17:58:44 +00:00
Fabio Battaglia
09a2694f6f
Check if game engine is already paused before pausing it again to show virtual keyboard. Fixes #2912148
...
svn-id: r47231
2010-01-10 17:49:05 +00:00
Max Horn
2ed53f98b4
Clarified the backspace key workaround: This is not a Mac OS X issue (as the comment used to imply) but rather an issue in some game engines.
...
svn-id: r43880
2009-09-01 13:02:24 +00:00
Matthew Hoops
ce30a513ac
Introduce a better fix for the Mac OS X backspace problem by adding the workaround to default-events.cpp.
...
svn-id: r43441
2009-08-16 14:04:54 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Johannes Schickel
bbc8021182
Add enum which marks global priorites of the EventManager event dispatcher.
...
svn-id: r42729
2009-07-25 01:01:41 +00:00
Johannes Schickel
901f2d5836
- EventDispatcher is no longer a singleton.
...
- Add "getEventDispatcher" method to EventManager.
svn-id: r42728
2009-07-25 01:01:22 +00:00