Commit Graph

33877 Commits

Author SHA1 Message Date
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
Travis Howell
48cce58ab5 Split the script opcode table for DIMP, since it doesn't match(ie timers) other Puzzle Pack games.
svn-id: r44285
2009-09-24 03:41:45 +00:00
Filippos Karapetis
2c438b4304 Commented out unused variable
svn-id: r44284
2009-09-24 02:56:37 +00:00
Filippos Karapetis
3d0f106edc Removed the MSVC-specific pragmas for disabling warnings. These are now in ScummVM_Global.vsprops and thus not needed in scummsys.h
svn-id: r44283
2009-09-24 02:06:07 +00:00
Travis Howell
c4f6d91777 Fix bug #2865191 - NoPatience hangs after undo.
svn-id: r44281
2009-09-24 00:38:29 +00:00
Andre Heider
3045ecce2f Removed an assert() in favour of error checking.
svn-id: r44278
2009-09-23 21:14:37 +00:00
Joost Peters
6a5bd81599 PSP: improved suspend/resume support [patch from bluddy]
svn-id: r44276
2009-09-23 16:11:23 +00:00
Paweł Kołodziejski
227e4e65df fix for bug #2820389
svn-id: r44274
2009-09-23 13:22:12 +00:00
Johannes Schickel
c05c5fca03 Commit modified patch from bug report #2849084 "AGI: Crash when saving fallback-matched game" to fix that bug.
svn-id: r44273
2009-09-23 13:17:08 +00:00
Paweł Kołodziejski
e6580be475 not need continue checks after found
svn-id: r44272
2009-09-23 13:04:51 +00:00
Max Horn
ba0bd938e4 SCI: Rename _sciVersion to s_sciVersion and made it local to resource.cpp (i.e. follow CFG and achieve code/data isolation)
svn-id: r44271
2009-09-23 12:12:37 +00:00