Commit Graph
86814 Commits
Author SHA1 Message Date
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
Paul Gilbert 92e75a768a Removed redundant offset from dirty rect calculation logic
svn-id: r44270
2009-09-23 10:58:17 +00:00
Filippos Karapetis 13ad217cdd - Moved the SCI version in a global variable
- Changed all the SCI version checks to use getSciVersion()
- Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine)

The fallback detector should work correctly now

svn-id: r44269
2009-09-23 10:55:35 +00:00
Paweł Kołodziejski 63208a20fd ops, remove some ancient change
svn-id: r44268
2009-09-23 10:49:18 +00:00
Paweł Kołodziejski 66df660e2a this should fix bug #2820389
svn-id: r44267
2009-09-23 10:40:13 +00:00
Johannes Schickel c50940bbf4 Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
2009-09-23 00:15:00 +00:00
Johannes Schickel 75113ad5f3 COMMON: Add "ignoreCase" parameter to matchString.
svn-id: r44265
2009-09-23 00:14:06 +00:00
Johannes Schickel ebde95b3d8 Clear menu stack in FWRenderer deconstructor.
svn-id: r44264
2009-09-22 17:53:00 +00:00
Johannes Schickel e591333d4b Implement menu stack to support all menu color effects, specific to the Amiga version of the game.
svn-id: r44263
2009-09-22 17:51:06 +00:00
Johannes Schickel dc8edb7203 Fix warning in gcc 3.3.5, by changing FORCEINLINE definition.
svn-id: r44262
2009-09-22 17:10:08 +00:00
Filippos Karapetis 5184f86e15 - Merged scriptObjInit0() and scriptObjInit11()
- Replaced some cases where getSciVersion() is used with _resMan->sciVersion(), as getSciVersion() will fail with the fallback detector (as the engine is not initialized). Object property accessors still crash currently, when used with the fallback detector

svn-id: r44261
2009-09-22 14:33:46 +00:00
Willem Jan Palenstijn 46511f3c63 Add basic test for HashMap::iterator
svn-id: r44259
2009-09-22 12:49:32 +00:00
Willem Jan Palenstijn f9909bfbf5 Remove superfluous checks
svn-id: r44258
2009-09-22 12:39:07 +00:00
Johannes Schickel 4f65994267 Fix regression in 44236, which caused iterators to see dummy node entries as valid entries.
svn-id: r44256
2009-09-22 11:58:59 +00:00