33887 Commits

Author SHA1 Message Date
Max Horn
399c511f90 Part of patch #2850021: disable hq-scaler&mt32emu for motoezx&motomagx-platform
svn-id: r44341
2009-09-25 11:21:56 +00:00
Max Horn
761d0e53f9 Cleanup configure script: (1) don't add -DUSE_ARM_*_ASM redundantly to DEFINES, we already add these automatically in ports.mk; and (2) #define macros that determine the host OS consistently via -D and not via config.h
svn-id: r44340
2009-09-25 11:03:04 +00:00
Filippos Karapetis
d72ad75c52 Reverted commit #44316, as colors show up correctly now without dithering. Dithering is now off again for SCI0 by default, an can optionally be turned on
svn-id: r44339
2009-09-25 10:11:31 +00:00
Max Horn
3c8500c149 Patch #2856708: AMIGAOS4: FS updated to new SDK
svn-id: r44338
2009-09-25 09:57:38 +00:00
Filippos Karapetis
e296cef9be Created a macro for lround(), for non-C99 compilers, and used that in places where lround() is used
svn-id: r44337
2009-09-25 09:48:43 +00:00
Max Horn
adaf3ec8b4 SCUMM: Rename _bitDepth to _bytesPerPixel
svn-id: r44336
2009-09-25 09:13:33 +00:00
Max Horn
07092bfccb Removed dead code
svn-id: r44335
2009-09-25 09:10:59 +00:00
Max Horn
e2017d4681 Mention 16bit graphics and SCUMM Amiga fixes in NEWS
svn-id: r44334
2009-09-25 09:09:22 +00:00
Max Horn
6ea572b183 typo
svn-id: r44333
2009-09-25 09:08:17 +00:00
Robert Špalek
f51c81f344 Add const's to many interfaces of engines/draci/
svn-id: r44331
2009-09-25 08:13:39 +00:00
Filippos Karapetis
d6502a0c24 Added MSVC project files for the newly-added draci engine
svn-id: r44330
2009-09-25 07:11:19 +00:00
Filippos Karapetis
a74a9c6c01 Silenced some warnings
svn-id: r44329
2009-09-25 07:06:55 +00:00
Filippos Karapetis
7106caca81 Replaced the C99 lround() with floor(), to get draci to compile under non-C99 compilers (e.g. VS)
svn-id: r44328
2009-09-25 07:05:26 +00:00
Robert Špalek
edd338b229 Make engines/draci/ compilable after merging from a branch
svn-id: r44327
2009-09-25 06:43:33 +00:00
Robert Špalek
94b823fcc7 MERGE branch gsoc2009-draci 41388:44325 into trunk
svn-id: r44326
2009-09-25 06:22:54 +00:00
Robert Špalek
e4fb567319 Disable compilation of Draci Historie
svn-id: r44325
2009-09-25 06:06:01 +00:00
Johannes Schickel
902e0699b1 Add comment about why r44322 was needed.
svn-id: r44323
2009-09-25 01:00:34 +00:00
Johannes Schickel
ec040488b7 Implement proper overflow handling in Gdi::writeRoomColor for Indy4 Amiga as described in #1294513 "FOA/Amiga: Palette problem (Regression)".
svn-id: r44322
2009-09-25 00:50:51 +00:00
Johannes Schickel
506fceeb9d Attempt to fix bug #2838205 "MONKEY: Palette glitches in Amiga version" as described on the tracker item.
svn-id: r44321
2009-09-25 00:31:46 +00:00
Willem Jan Palenstijn
10b6349291 SCI: When setting global palette, map all unused colours to index 0.
This fixes white artifacts outside the bar in the SQ4CD intro,
but might cause regressions elsewhere.

svn-id: r44320
2009-09-24 23:54:48 +00:00
Willem Jan Palenstijn
825421108b SCI: Delete unused function declaration
svn-id: r44319
2009-09-24 23:54:30 +00:00
Max Horn
881eee8105 SCI: Fix spelling
svn-id: r44318
2009-09-24 22:10:39 +00:00
Willem Jan Palenstijn
e183222df3 SCI: Fix flat dithering by permuting the blended palette so that the EGA colours are the first 16 entries
svn-id: r44317
2009-09-24 21:37:54 +00:00
Filippos Karapetis
842602ee8c Set dithering to the FreeSCI "enhanced" style by default for SCI0 games, as disabling dithering makes some colors not show up correctly (e.g. the trees in Iceman and LSL3). Dithering can still be disabled on a per-game basis by using the "dither_mode" option
svn-id: r44316
2009-09-24 19:38:02 +00:00
Filippos Karapetis
7820605450 Oops, DoNextFrame() is supposed to return a value
svn-id: r44315
2009-09-24 17:59:19 +00:00
Filippos Karapetis
b4f1960318 Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
2009-09-24 17:52:53 +00:00
Johannes Schickel
0ea3cde160 Turn an error into a warning.
svn-id: r44313
2009-09-24 17:28:14 +00:00
Filippos Karapetis
a983c88e37 Reverted parts of revisions #44292, #44293, #44295 and #44296, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44312
2009-09-24 17:24:42 +00:00
Filippos Karapetis
5028d5a68b Reverted my commit #44290 - apparently, it was a bad idea, as g_engine is a hack
svn-id: r44311
2009-09-24 17:07:27 +00:00
Johannes Schickel
1ee30563cd Remove references to non existant function convertScreenRect.
svn-id: r44310
2009-09-24 16:30:10 +00:00
Johannes Schickel
9ab801bec6 Fixed bug in Engine::flipMute, whiched prevent the game from being muted the first time flipMute is called, when there's no "mute" config entry.
svn-id: r44308
2009-09-24 16:17:52 +00:00
Johannes Schickel
e56dbf68be Changed some code to follow our guidelines.
svn-id: r44307
2009-09-24 16:17:25 +00:00
Johannes Schickel
f2a07d7ae9 Fix what looks like a typo in the condition, which checks for a divide by zero.
svn-id: r44306
2009-09-24 14:07:02 +00:00
Johannes Schickel
b2817fdb7d Add the "FIXME" comment at "g_engine" from engine.cpp to "g_engine" in engine.h too.
svn-id: r44305
2009-09-24 14:02:05 +00:00
Johannes Schickel
ade3204b56 Fix warnings.
svn-id: r44304
2009-09-24 13:59:09 +00:00
Filippos Karapetis
2dbd096dd5 Changed _script to be a pointer, in order to control its creation/destruction, like the rest of the groovie engine parts, and resolve a potential issue that Microsoft claims to be severe (warning C4355, read more here: http://msdn.microsoft.com/en-us/library/3c594ae3.aspx)
svn-id: r44303
2009-09-24 10:58:00 +00:00
Filippos Karapetis
1cc326dda0 Changed make_reg to accept the same type of parameters as a reg_t does - i.e. 16-bit integers, instead of 32-bit ones
svn-id: r44302
2009-09-24 10:30:05 +00:00
Filippos Karapetis
f2c4bd514f Changed createResFileEntry() to error out again
svn-id: r44301
2009-09-24 10:24:12 +00:00
Filippos Karapetis
6b79910bcb Fixed some more warnings about unreachable code
svn-id: r44300
2009-09-24 10:15:50 +00:00
Filippos Karapetis
16d7d9ba23 Fixed some more warnings about unreachable code
svn-id: r44299
2009-09-24 10:02:13 +00:00
Filippos Karapetis
9026b63503 AGOS: Fixed some warnings about unreachable code
svn-id: r44298
2009-09-24 09:53:51 +00:00
Filippos Karapetis
c91f5759b9 MADE: Fixed some warnings about unreachable code
svn-id: r44296
2009-09-24 09:51:26 +00:00
Filippos Karapetis
3a976bfb6f TINSEL: Fixed some warnings about unreachable code
svn-id: r44295
2009-09-24 09:50:22 +00:00
Filippos Karapetis
fbe1586abc The maximum value that a signed 16-bit integer can hold is 32767, not 32768 (0x8000)
svn-id: r44294
2009-09-24 09:41:11 +00:00
Filippos Karapetis
db63b401a6 CRUISE: Fixed some warnings about unreachable code
svn-id: r44293
2009-09-24 09:40:12 +00:00
Filippos Karapetis
fe7a64d467 Removed some warnings about unreachable code
svn-id: r44292
2009-09-24 09:01:33 +00:00
Filippos Karapetis
c6d2190d2d Add "demo" to the extras field of the fallback detector for demos
svn-id: r44291
2009-09-24 07:18:38 +00:00
Filippos Karapetis
a70351e5ea Changed some references from LureEngine to the global g_engine (e.g. calls to shouldQuit()), to minimize places where LureEngine is referenced
svn-id: r44290
2009-09-24 06:53:03 +00:00
Travis Howell
f6cdfde2f7 Add VGA script code differences in DIMP.
svn-id: r44288
2009-09-24 04:14:41 +00:00
Travis Howell
f9692d47cf Correct tags.
svn-id: r44286
2009-09-24 03:53:06 +00:00