Eugene Sandulenko
23aa8a5d13
DINGUX: Fix initSize() method signature
2018-08-18 14:05:02 +02:00
Colin Snover
a5bc89102e
ALL: Remove obsolete register keyword
...
The register keyword was deprecated from the C++11 standard,
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4193.html#809 >,
and removed from the C++17 standard,
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340 >, so
cannot exist in a well-formed C++17 program.
It has never done anything in GCC
<https://gcc.gnu.org/ml/gcc/2010-05/msg00113.html >
and because of the way it is specified in the standard, it is “as
meaningful as whitespace”
<http://www.drdobbs.com/keywords-that-arent-or-comments-by-anoth/184403859 >.
The one remaining use of the register keyword is in the DS backend,
where it is used to create a local register variable using the
non-standard GCC Extended Asm feature.
Closes gh-1079.
2017-12-03 20:27:42 -06:00
Colin Snover
ef44cc55ee
DINGUX: Really constify getFeatureState
2017-10-15 16:54:24 -05:00
Colin Snover
7aef79c421
DINGUX: Fix missing const on hasFeature/getFeatureState implementation
2017-10-15 16:41:04 -05:00
Colin Snover
1f8eeb5920
DINGUX: Replace usage of old SurfaceSdlGraphicsManager APIs
2017-10-15 16:32:58 -05:00
Colin Snover
4757c24c68
BACKENDS: Fix up graphics manager ports with const & override where appropriate
2017-10-15 13:24:21 -05:00
Colin Snover
20bd289ebe
BACKENDS: Remove references to old normal1xScaler transaction property from ports
2017-10-07 15:25:47 -05:00
Bastien Bouclet
05bc82b622
SDL: Switch the surface renderer to use small surfaces for OSD drawing
2016-09-13 20:33:42 +02:00
Eugene Sandulenko
c2f5c48068
DINGUX: Fix OSD performance when OSD is not drawn
2016-09-03 21:30:04 +02:00
Eugene Sandulenko
2fa97f20e8
DINGUX: Adapt to new OSD changes
2016-09-03 10:18:47 +02:00
Eugene Sandulenko
39dc1dd2e1
GCW0: Enable building with all scalers disabled
2016-04-10 14:06:34 +02:00
Johannes Schickel
627d766325
SDL: Add basic abstraction class for the SDL window.
2015-02-16 01:03:29 +01:00
Johannes Schickel
3a2db0135d
SDL: Refactor WM specific functionality into SdlGraphicsManager.
2015-01-25 18:57:38 +01:00
Johannes Schickel
7803ce2fa4
DINGUX: Make GPL headers consistent in themselves.
2014-02-18 02:39:34 +01:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Johannes Schickel
8aa8cb4dd6
DINGUX: Fix "if" formatting.
2012-08-09 03:25:55 +02:00
Johannes Schickel
223794fb38
ALL: Make use of defined() for the preprocessor consistent.
...
This does not change the use of defined for some NDS source files, since they
seem to be (based on?) third party code.
2012-03-17 22:02:44 +01:00
Fabio Battaglia
3fe81198ff
DINGUX: hopefully fix the cursor palette problem
...
The port wasn't keeping track of the CursorPalette feature
correctly. This should fix it for good.
2011-08-09 14:06:31 +02:00
Fabio Battaglia
521dfaa980
DINGUX: fix compilation
2011-08-09 11:19:18 +02:00
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
Johannes Schickel
0630a88a04
SDL: Let SDL based graphics managers inherit from SdlGraphicsManager.
...
This also adapts port I can not test (not even the compilation). So if this
breaks anything I am sorry about it.
2011-08-09 00:03:11 +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
80b336f796
SDL: Replace some SdlGraphicsManager uses with SurfaceSdlGraphicsManager.
2011-06-19 20:20:13 +02:00
Johannes Schickel
1c21232416
SDL: Rename SdlGraphicsManager to SurfaceSdlGraphicsManager to reflect its purpose.
...
Hopefully I catched all uses of the old name in our ports...
2011-06-19 20:10:21 +02:00
Max Horn
91b889e2d3
COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette
2011-06-04 11:55:56 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
5efb1e5596
DINGUX: Change fprintf calls to debug calls
2011-05-03 23:04:40 +02:00
Ori Avtalion
4d485fc741
BACKENDS: Fix compilation for various backends
...
Affects:
* PS2
* GPH
* ELF
* MOTO
* IPHONE
* N64
* DINGUX
* WINCE
* PSP
2011-04-28 23:24:06 +03: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
a162ff18bc
SDL: Various more SdlEventSource related fixes
...
svn-id: r54553
2010-11-28 22:04:39 +00:00
Max Horn
8399232a43
DINGUX: More compilation fixes
...
svn-id: r54541
2010-11-28 18:10:12 +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
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