Commit Graph

57740 Commits

Author SHA1 Message Date
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
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
Einar Johan Trøan Sømåen
9fb15a909c Merge pull request #354 from tobiatesan/wintermute_rotozoom_3
WINTERMUTE: Wintermute rotozoom 3
2013-08-01 02:08:21 -07:00
Johannes Schickel
88c67c8767 Merge pull request #357 from lordhoto/thumbnail-bilinear
GRAPHICS: Allow arbitrary input sizes for thumbnail scaling.
2013-07-31 18:59:34 -07:00
Johannes Schickel
9b8afdab0e HOPKINS: Slight cleanup.
This renames HopkinsEngine::targetName to HopkinsEngine::getTargetName. This
is more consistent with the name scheme of the remaining getters.

It also makes getTargetName return a const reference instead of a copy.
2013-08-01 03:30:14 +02:00
Paul Gilbert
ac70aa2e5c HOPKINS: Bumped up savegame version, and added load handling the brief version 3 format 2013-07-31 21:21:29 -04:00
Paul Gilbert
07d8e5643b HOPKINS: Reverted to saving Breakout high scores in a separate file 2013-07-31 21:01:04 -04:00
Tobia Tesan
c32769e0b7 WINTERMUTE; Indentation in transform_* 2013-08-01 02:51:40 +02:00
Tobia Tesan
e3381cff0d WINTERMUTE: #ifdef ENABLE_BILINEAR -> #if ENBABLE_BILINEAR 2013-08-01 02:17:32 +02:00
Tobia Tesan
204c75bc27 WINTERMUTE: s/255,255,255,255/kDefaultMod/ 2013-08-01 02:17:31 +02:00
Tobia Tesan
1c25eb2490 WINTERMUTE: Formatting 2013-08-01 02:17:31 +02:00
Tobia Tesan
b5adcda947 WINTERMUTE: s/WINTERMUTE_TRANSFORMTOOLS_H/WINTERMUTE_TRANSFORM_TOOLS_H/ 2013-08-01 02:17:30 +02:00
Tobia Tesan
56aa1297d1 WINTERMUTE: Bring consts inside namespace in transform_struct.h 2013-08-01 02:17:29 +02:00
Tobia Tesan
d83e4e1268 WINTERMUTE: FActor out TransformStruc initialization in repeatLastDraw loop 2013-08-01 02:17:28 +02:00
Tobia Tesan
14d151ab31 WINTERMUTE: Fix #ifdef in transparent_surface.[h|cpp] 2013-08-01 02:17:25 +02:00
Tobia Tesan
1a8a9bab86 WINTERMUTE: Compile bilinear copy only if needed 2013-08-01 02:17:25 +02:00
Tobia Tesan
86c8d238a4 WINTERMUTE: const Common::Rect rect& in rect32.h 2013-08-01 02:15:01 +02:00
Tobia Tesan
381df0c64a WINTERMUTE: Various explicit casts
* for floor/ceil output in transform_tools.cpp
* for projX/Y in transparent_surface.cpp
* in transpaprent_surface.cpp
2013-08-01 02:10:42 +02:00
Tobia Tesan
567cd1eb12 WINTERMUTE: zoom parameter in display*** is now integer 2013-08-01 00:24:44 +02:00
Tobia Tesan
566495de3b WINTERMUTE: Remove unused variable in transparent_surface.cpp 2013-08-01 00:24:43 +02:00
Tobia Tesan
f872d31678 WINTERMUTE: Fix type-related warnings in base_surface_osystem.cpp 2013-08-01 00:24:43 +02:00
Tobia Tesan
1ecdd2d61a WINTERMUTE: #define to const for TransformStruct defaults 2013-08-01 00:23:51 +02:00
Tobia Tesan
aeb4c09538 WINTERMUTE: Doxygen comments in TransformStruct 2013-08-01 00:21:36 +02:00
Tobia Tesan
0d407fd206 WINTERMUTE: Express 180.0f as float in TransformTools 2013-08-01 00:21:35 +02:00
Tobia Tesan
d2d72c0110 WINTERMUTE: #define to const for TransformStruct defaults 2013-08-01 00:21:25 +02:00
Tobia Tesan
63b8132ea3 WINTERMUTE: Remove single-argument zoom, rename mirrorX => getMirrorX() in transform_struct.h 2013-08-01 00:14:29 +02:00
Tobia Tesan
06ec006766 WINTERMUTE: Remove redeclaration in render_ticket.cpp 2013-08-01 00:06:41 +02:00
Tobia Tesan
286b1d11ca WINTERMUTE: Use Rect::width() and height() in base_surface_osystem.cpp 2013-08-01 00:06:40 +02:00
Tobia Tesan
64db90ed67 WINTERMUTE: TransformStruct by reference in engines/wintermute/base/gfx/osystem/base_render_osystem.h 2013-08-01 00:06:40 +02:00
Tobia Tesan
9d4def3bfd WINTERMUTE: Fix alpha bug in BaseRenderOSystem::fadeToColor
Introduced in 37b1ff3, broke fade-in/fade-outs
2013-08-01 00:06:39 +02:00
Tobia Tesan
9cfea04846 WINTERMUTE: Formatting 2013-08-01 00:06:39 +02:00
Tobia Tesan
4405a534e5 WINTERMUTE: Remove set[Color|Alpha]Mod altogether 2013-08-01 00:06:38 +02:00