aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2009-09-03Fix a new/free mismatch when creating a MemoryReadStream from a ↵Matthew Hoops
MemoryWriteStreamDynamic by changing MemoryWriteStreamDynamic to use malloc/free instead of new/delete[]. This could have affected ScummEngine_v4::prepareSavegame(). svn-id: r43918
2009-09-03SCI: Relocate export table when restoring SCI1.1 savegamesWalter van Niftrik
svn-id: r43916
2009-09-03- Re-added the SCI0 dithering code. Dithering is disabled by default. Added ↵Filippos Karapetis
the 3 dithering modes as an enum (and reorganized them a bit) - Added 3 config options for dithering in the ini file - mainly for purists (config option "dither_mode"): 0 - disabled, 1 - 16 color dithering (Sierra style) and 2 - 256 color dithering - Dithering is now always applied depending on the screen scale (removed the relevant parameter) - Removed the background picture buffering option, used to speed-up room changes. Room changing is quite fast (instantaneous), and the extra memory allocated is not worth the possible speed increase in small devices. Plus.... there is no reliable value to set this option to, so there is no point in letting the user decide what value to put there using guesswork svn-id: r43915
2009-09-02LOL: - fix speech/text settingsFlorian Kagerer
- start fixing floppy version svn-id: r43914
2009-09-02Fixed loading again (broken accidentally in rev. 43504Filippos Karapetis
svn-id: r43913
2009-09-02SAGA: Change Actor::fillPathArray to use a dynamic queue instead of an ↵Max Horn
only-growing array -> should reduce memory usage significantly svn-id: r43912
2009-09-02Removed the dirty rectangle option of updating one huge rectangle, and only ↵Filippos Karapetis
left the algorithm of updating the screen with multiple small rectangles, like we do in all the other engines that support dirty rectangle screen updates svn-id: r43909
2009-09-02Some renaming:Filippos Karapetis
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908
2009-09-02SCI: Renamed kernel_dereference_* to kernelDeref*, and added kernelDerefStringMax Horn
svn-id: r43907
2009-09-02SCI:Max Horn
* removed kNOP * renamed k_Unknown to kUnknown * added FIXME to kfunct_mappers table * more cleanup svn-id: r43906
2009-09-02SCI: funct_nr is not used in 99% of all opcodes -- hide it in those (to be ↵Max Horn
removed eventually) svn-id: r43905
2009-09-02LOL: update kyra.dat with floppy version data (floppy version still doesn't ↵Florian Kagerer
work, though) svn-id: r43904
2009-09-01Added checksums for KQ5 EGA (bug report #2829470)Filippos Karapetis
svn-id: r43903
2009-09-01Disabled the FreeSCI PIC0 palette dithering code, for now. It doesn't really ↵Filippos Karapetis
make sense to dither, as Sierra games use up to 256 colors (even the later SVGA ones), and it messes up the result of the FreeSCI graphics filters. Plus, the resulting image looks worse than the original one svn-id: r43901
2009-09-01Making another variable offset unsigned, since it overflows int16Sven Hesse
svn-id: r43900
2009-09-01Fixing warnings and adding a warning should the ID be something yet unknown, ↵Sven Hesse
just in case svn-id: r43899
2009-09-01Disabled dithering by default, in order to get the graphics filters working ↵Filippos Karapetis
(is dithering even used anywhere?) svn-id: r43897
2009-09-01Playtoons: Add support to IDs 65530, 65531, 65532, 65534, and renamed Id -1 ↵Arnaud Boutonné
into 65535 in Map_v2::loadMapObjects. This allows to start the contruction mode and "somehow" use it. (Thanks DrMcCoy for pointing out my errors) svn-id: r43896
2009-09-01Re-enabled custom graphics options, and read the cursor, view, pic and text ↵Filippos Karapetis
filtering algorithm options from the ScummVM ini file (options "cursor_filter", "view_filter", "pic_filter" and "text_filter", 0 - unfiltered, 1 - bilinear filtering, 2 - trilinear filtering) svn-id: r43894
2009-09-01- Reverted the *vga targets back to *sci, and used the extras field again ↵Filippos Karapetis
for VGA remakes - The extras field is now filled by the fallback detector for VGA games svn-id: r43893
2009-09-01- Added MD5's for the 5 different Crazy Nick's collectionsFilippos Karapetis
- Added the MD5's of the French versions of GK2 and SQ6 (bug reports #2846842 and #2846515) - Added a different game id for QFG1 VGA (SCI1.1), to distinguish it from the older EGA version (SCI0) and added detection for the VGA version in the fallback detector - Changed some VGA SCI game IDs: lsl1sci -> lsl1vga, pq1sci -> pq1vga, sq1sci -> sq1vga, to distinguish SCI VGA remakes from SCI EGA remakes (like with QFG1VGA) svn-id: r43891
2009-09-01SCI: Fix message property of mouse event. This fixes mouse handling in theWalter van Niftrik
room with the pier in KQ6. svn-id: r43888
2009-09-01- Moved the Sierra game ID conversion code inside game.cpp, so that any ↵Filippos Karapetis
game-specific workarounds are tested against ScummVM IDs - Added detection for the EcoQuest 1 demo in the fallback detector - Partially reverted my previous "fix" for EcoQuest 1 CD, and turned it into a script-specific hack for that game, for now - Added handling of kDisposeScript calls made with 2 parameters, e.g. in KQ5CD and others (still untested, haven't found a test case) svn-id: r43887
2009-09-01Fixed incorrect usage of ARRAYSIZE (thanks fingolfin)Filippos Karapetis
svn-id: r43886
2009-09-01SCI: Turned convertSierraGameId partially into a tableMax Horn
svn-id: r43883
2009-09-01Coding best practice: Whenever possible, pass objects by reference instead ↵Max Horn
of by value. Also make variables or data table which are only used locally "static". svn-id: r43882
2009-09-01Coding best practice: Always use enums instead of #defines to define integer ↵Max Horn
constants (for many good reasons) svn-id: r43881
2009-09-01SCUMM: Better fix for convertFilePath (use snprintf instead of sprintf, ↵Max Horn
avoid intermediate buffer) svn-id: r43879
2009-09-01Changed an error to a warning, as it occurs at the beginning of EcoQuest 1 ↵Filippos Karapetis
CD and doesn't seem to have any side effects svn-id: r43876
2009-09-01Fixed the crash at the beginning of EcoQuest 1 CDFilippos Karapetis
svn-id: r43875
2009-09-01Fixed regression with some weird mouse cursors (e.g. in EcoQuest)Filippos Karapetis
svn-id: r43874
2009-09-01SCI: Fix bug in SCI1.1 varselector search.Walter van Niftrik
svn-id: r43872
2009-09-01SCI: Fix relative cues in SCI1.Walter van Niftrik
svn-id: r43871
2009-08-31CleanupFilippos Karapetis
svn-id: r43869
2009-08-31CleanupFilippos Karapetis
svn-id: r43866
2009-08-31Rewrote the static selector mapper to use SCI versions instead of game IDs, ↵Filippos Karapetis
and split the selectors in SCI generations svn-id: r43863
2009-08-31- Removed the now-unused "setTarget" selectorFilippos Karapetis
- Added the "setCursor" selector - Replaced the selector table of the LSL5 demo with the one from the LSL1 demo (we no longer get a warning about an invalid selector) - Changed the selector table of the xmas1992 demo to use the table from KQ6 floppy - Set Laura Bow 2 floppy to use the KQ6 floppy table svn-id: r43859
2009-08-31Some adjustments to the output of the "selector" and "selectors" console ↵Filippos Karapetis
commands svn-id: r43858
2009-08-31SCI: Add stub for PalVary.Walter van Niftrik
svn-id: r43857
2009-08-31Removed many bogus return values in the SCI graphics functions - some ↵Filippos Karapetis
functions always returned "true", whereas in others they errored out in fatal conditions before any value was returned. FreeSCI was returning values from the graphics drivers it used. In ScummVM, we have one graphics driver, and we error out in fatal conditions anyway, so these error checks are no longer necessary, and the resulting code looks much neater svn-id: r43851
2009-08-31SCI: Fix messages in QFG remake.Walter van Niftrik
svn-id: r43850
2009-08-31Groovie: Handle special case for cursor #4Scott Thomas
svn-id: r43847
2009-08-31Revert revision 43845, to keep configure options for games and game engines ↵Travis Howell
clear and consistent. svn-id: r43846
2009-08-31Added the --enable-unsupported option to enable the detection of theJordi Vilalta Prat
unsupported games, guarded by the ENABLE_UNSUPPORTED_GAMES define. It's a generalization of r43843. Also grouped all the engines options together in the configure help. svn-id: r43845
2009-08-31Add configure option for Groovie 2 games.Travis Howell
svn-id: r43843
2009-08-30Groovie: Initial implementation cursors for Groovie V2Scott Thomas
svn-id: r43842
2009-08-30Modify warning message for o5_deleteFile as it's not only used by Dynasty, ↵Arnaud Boutonné
and Add oPlaytoons_copyFile. The latest will need to be completed if a call requires it. For the moment, it only fixes the crash at the end of the 3rd video of the construction kit. svn-id: r43841
2009-08-30Implement getDebugger() in AGIJordi Vilalta Prat
svn-id: r43840
2009-08-30Fix indentationJordi Vilalta Prat
svn-id: r43837
2009-08-30Adding support for AVI in SCI games (such as kq6) and implement kPlatform.Matthew Hoops
svn-id: r43834