Johannes Schickel
04ab0e58b4
SDL: Take advantage of SdlGraphicsManager.
...
This gets rid of the hacks, where SdlEventSource added events with custom type
numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager.
Furthermore it get rids of the uninituitive and hard to trace way of assigning
the proper mouse coordinates to mouse related events. Formerly it passed the
real screen coordinates through the even dispatching api to the graphics
manager (at least hopefully ;-) and let that handle creating a new event with
the proper coordinates. Now instead SdlEventSource handles the proper
coordinate setup itself.
Since this is a behavior change and I can not test all the SDL based small
devices ports this commit might break compilation for them and more serve it
might also break mouse position behavior. If any of that occurs I am sorry
about it.
2011-08-09 00:03:11 +02:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
Bastien Bouclet
2daf69267d
SDL: Don't rely on SDL keycodes and OSystem keycodes being the same.
...
SDL 1.3 shuffles keycodes around ...
2011-08-06 15:52:02 +02:00
CeRiAl
0a9b9fe08f
WINCE: Added option to disable panel toggling with double tap on top of screen
2011-06-27 02:22:24 +02:00
Bastien Bouclet
f262d8932f
PS3: Keep updating the screen while the XMB is open to prevent it from freezing
2011-06-22 19:57:44 +02:00
Bastien Bouclet
6633a06519
PS3: Map joypad buttons to features. Enable the virtual keyboard.
2011-06-22 19:57:44 +02:00
Bastien Bouclet
872d672c33
SDL: Allow building with current SDL 1.3hg
2011-06-22 19:44:46 +02:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Johannes Schickel
2067bec18e
SDL: Remove left over traces from the time the SdlEventSource subclassed DefaultEventManager.
2011-06-19 19:35:27 +02:00
Thierry Crozat
06bbb57ad7
I18N: Make many more GUI MessageDialog strings translatable
2011-06-13 22:19:18 +01:00
CeRiAl
781132aabc
WINCE: Some cleanup (public vs. private scopes), fix freelook
2011-06-11 23:29:52 +02:00
David-John Willis
4fcd65d885
OPENPANDORA: Start to cleanup the backend and move controls into remapkey.
...
* Work in progress.
2011-06-11 17:07:21 +01:00
David-John Willis
7878c1ec49
GP2X: Remove remnants of the old GP2X backend.
...
The GP2X is now folded into the GPH backend (as the GP2X device).
2011-06-11 17:07:08 +01:00
David-John Willis
64b8587507
GPH: Cleanup and some WIP refactoring.
2011-06-11 17:07:08 +01:00
Thierry Crozat
014145f240
I18N: Make some OSD messages translatable
2011-06-06 23:20:11 +01:00
Max Horn
39076ef972
BUILD: Rename UNIX #define to POSIX
2011-05-25 13:23:03 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Klaus Reimer
9e4edcdc1f
WEBOS: Removed unused gestureDownTime
2011-05-08 20:58:08 +02:00
Klaus Reimer
cc0d8b6252
WEBOS: Fixed ESCAPE and MENU key on WebOS 1
2011-05-08 20:58:08 +02:00
Max Horn
3d4e9fe674
BACKENDS: Allow various files to use stuff from time.h
2011-05-03 11:27:44 +02:00
Max Horn
59e77ed667
ALL: Mark printf and various other symbols as forbidden
...
Right now, a few places in the frontend code still use printf and
consorts. We mark the affected files with a FIXME for now, and
add a dedicated exception for each. To be fixed!
Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always
enforce a compiler error
2011-05-02 16:31:31 +02:00
Max Horn
dbca3045cd
WEBOS: Fix compilation
2011-04-29 13:18:42 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Ori Avtalion
cd6ee0589d
JANITORIAL: Format forward declarations to follow convention
2011-04-28 12:20:34 +03:00
Paul Gilbert
aadb4f7459
WEBOS: Moved #include lines inside #ifdef WEBOS to fix MSVC compilation
2011-04-13 20:46:24 +10:00
David-John Willis
15bdb29248
GPH: Add separate button defined buttons for each supported device.
...
* No default buttons set any more as I would want the build to fails
if you don't provide the backend with a device.
* Also commit some small cleanup to the bundle files.
2011-04-12 10:44:04 +01:00
Klaus Reimer
6c94353eff
WEBOS: Complete rewrite of key/mouse events handling
...
Touchscreen is now always used like a touch pad.
2011-04-12 11:11:17 +02:00
Klaus Reimer
aa79a2634d
WEBOS: Enable keymapper, implement FORWARD key and right+middle button clicks
2011-04-12 11:05:53 +02:00
Klaus Reimer
a4e757834e
WEBOS: Create webos backend with custom events
...
Currently only contains test code.
2011-04-12 11:05:35 +02:00
David-John Willis
6f1c7cf30a
GPH: Change backend to mask backend code to GPH_DEVICE.
...
* This is mainly to make it easy to drop the old GP2X into the
same codebase (I really have no desire to manage 2 sets of 99.9%
identical code ;)).
* Code paths for just one of the supported devices can be runtime
worked out or just defined for that device.
mount.sh: Fixed some small errors# ../../../../scummvm.gph
2011-04-11 18:22:58 +01:00
David-John Willis
bb6bc31813
GP2X: Mask off the graphics and events code behind a GP2X_OLD define.
...
* This is a temp thing while I finish up merging the GP2X and GPH code.
I do not want the GP2X backend code dropped yet until this is complete.
2011-04-11 18:15:14 +01:00
David-John Willis
5661570e4e
GP2X: Commit some cleanup/fudges with a view to collapsing into the GPH backend.
2011-04-11 18:00:46 +01:00
David-John Willis
18e35a638d
OPENPANDORA: Cleanup header for events.
2011-04-11 18:00:46 +01:00
David-John Willis
b9e4d77ade
GPH: Removed some unimplemented and unneeded definitions.
...
- Thanks to digitall for proving that 2 sets of eyes spot a really simple
problem much quicker than one set ;).
mount.sh: Fixed some small errors# ../../../../scummvm.gph
2011-03-24 22:43:12 +00:00
David-John Willis
b95013dfe2
OPENPANDORA: Refactor OpenPandora backend and move events and graphics into modular backend style.
2011-03-24 21:24:05 +00:00
David-John Willis
cf8dcf4549
GPH: Cleanup GPH backend and adapt to newer modular backend model.
2011-03-24 21:24:05 +00:00
David-John Willis
973e3e827e
GP2X: Remove incorrect GP2XWiz define from the GP2X event code.
...
* My plan is to move all of the GPH devices into the GPH backend
but for now this is just a merge mess from the GSoC-OpenGL branch.
2011-03-24 21:24:04 +00:00
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