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
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