Johannes Schickel
e0c9c1d261
VIDEO: Take advantage of Surface::getPixels.
2013-08-03 04:02:49 +02:00
Johannes Schickel
5111746911
GRAPHICS: Take advantage of Surface::getPixels.
2013-08-03 04:02:49 +02:00
Johannes Schickel
f03dc05847
GRAPHICS: Add an easy way to query 'pixels' of Surface.
...
This introduced getPixels which is a shortcut for getBasePtr(0, 0).
2013-08-03 04:02:49 +02:00
Johannes Schickel
dbef9fef3b
GRAPHICS: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 04:02:49 +02:00
Johannes Schickel
6fce92b0ea
VIDEO: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 04:02:49 +02:00
Johannes Schickel
b7706acb41
SDL: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 04:02:49 +02:00
Johannes Schickel
3169e07013
OPENGL: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 04:02:49 +02:00
Johannes Schickel
55afab4d68
BACKENDS: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 04:02:49 +02:00
Johannes Schickel
103e926c07
GUI: Prefer getBasePtr instead of direct Surface::pixels access.
2013-08-03 04:02:48 +02:00
Johannes Schickel
19fa89b8f5
WINTERMUTE: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 04:02:48 +02:00
Johannes Schickel
d26817a6b8
TUCKER: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:34 +02:00
Johannes Schickel
ae7bc4dcf0
TSAGE: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:34 +02:00
Johannes Schickel
cbef0de3a4
TOON: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:34 +02:00
Johannes Schickel
f30eb4ea32
TONY: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:34 +02:00
Johannes Schickel
76aa360112
TOLTECS: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:34 +02:00
Johannes Schickel
509f96dff3
TEENAGENT: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:34 +02:00
Johannes Schickel
affb7c3cb3
GRAPHICS: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:34 +02:00
Johannes Schickel
5afa6f97f4
SWORD25: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Johannes Schickel
d91c379f16
SWORD2: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Johannes Schickel
338c4e2bce
SWORD1: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Johannes Schickel
dd67e9f099
SCI: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Johannes Schickel
8617edea04
SAGA: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Johannes Schickel
e59995b0b2
PEGASUS: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Johannes Schickel
d82741a3c8
PARALLACTION: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Johannes Schickel
2117feaeec
MORTEVIELLE: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Johannes Schickel
82b96d33ad
NEVERHOOD: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Johannes Schickel
6eb9c8da9e
MOHAWK: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:32 +02:00
Johannes Schickel
8f73027d82
MADE: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:32 +02:00
Johannes Schickel
786ad6cea0
LASTEXPRESS: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:32 +02:00
Johannes Schickel
578715b6f6
HUGO: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:32 +02:00
Johannes Schickel
8b763977a3
HOPKINS: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:32 +02:00
Johannes Schickel
690d55d763
GOB: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:32 +02:00
Johannes Schickel
2131d2d2f5
DRASCULA: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:32 +02:00
Johannes Schickel
2fdebe41b5
COMPOSER: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:32 +02:00
Johannes Schickel
1f0832b4f2
CGE: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:32 +02:00
Johannes Schickel
28b74b14ec
AGOS: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:31 +02:00
Johannes Schickel
c05cb7f3bb
SCUMM: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:31 +02:00
Johannes Schickel
4790a4abd5
COMMON: Define all Unix98/BSD math constants in scummsys.h.
...
This should fix compilation on mingw64 with --enable-c++11 and also make sure
the constants are present on other systems for the uncommon case they might be
missing.
2013-08-02 20:02:02 +02:00
Johannes Schickel
058c22ddaa
GRAPHICS: Allow to query a Surface describing a subarea in Surface.
2013-08-02 18:47:00 +02:00
Johannes Schickel
ff451ba2dc
GRAPHICS: Slight formatting fixes in thumbnail_intern.cpp.
2013-08-02 17:48:31 +02:00
Johannes Schickel
9a787fa586
GRAPHICS: Silence conversion warnings by using an explicit cast.
2013-08-02 17:33:13 +02:00
Johannes Schickel
5a7bba35ed
Merge pull request #363 from digitall/EnsurePI
...
Fix compilation with C++11 enabled on Win64 x86_64 toolchain... and probably others.
2013-08-02 06:46:45 -07:00
D G Turner
17ccd18ed3
COMMON: Add comment explaining reason for defining math constants.
2013-08-02 06:23:52 +01:00
Paul Gilbert
cb7e9774b0
TSAGE: Implementing code for R2R scene 1000
2013-08-01 22:21:22 -04:00
Johannes Schickel
631238ac55
Merge pull request #339 from onlyjob/hurd
...
BACKENDS: fix FTBFS on GNU Hurd by replacing MAXHOSTNAMELEN with NI_MAXHOST
2013-08-01 19:02:08 -07:00
Alyssa Milburn
5b6d3078c9
TONY: Add a hack to work around amigaos4 issues.
2013-08-02 00:01:11 +02:00
Alyssa Milburn
9c02f5b593
TONY: Fix thumbnails on BE.
2013-08-02 00:01:10 +02:00
Alyssa Milburn
d1795a21bc
TONY: Fix savegames on BE (this breaks compatibility).
2013-08-02 00:01:10 +02:00
Alyssa Milburn
275c65c272
TONY: Simplify thumbnail loading code.
2013-08-02 00:01:10 +02:00
Johannes Schickel
9db17152c1
GRAPHICS: Make Surface::copyFrom work for any src pitch.
...
Formerly we assumed that the newly created surface has the same pitch as the
source surface. This is a assumption that might be invalid (for example in
case of the Surface returned by OSystem::lockScreen.)
2013-08-01 23:57:10 +02:00