aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2016-03-01SCI32: Fix text size calculation scaling to match SCIColin Snover
The previous code works correctly only for ratios like 2:1 that do not generate remainders.
2016-03-01SCI32: Revert GK1 hacksWillem Jan Palenstijn
Replacing a valid signature error by a warning isn't useful.
2016-03-01SCI32: Add a note about the menu bars in GK1Filippos Karapetis
2016-03-01SCI32: Warn when the unhandled parameter is set in kPalVarySetPercentFilippos Karapetis
2016-03-01SCI32: GK1 adds another optional parameter to kPalVarySetPercentFilippos Karapetis
2016-03-01SCI: Remove superfluous cast to boolean and fix code stylingFilippos Karapetis
2016-03-01SCI: Use uint32 instead of unsigned intFilippos Karapetis
2016-02-29SCI: Fix compilation on amigaos4Lars Skovlund
2016-02-29SCI3: Collect bits for managing kInfoFlagViewVisibleLars Skovlund
2016-02-29SCI: Add vocab994 console commandLars Skovlund
This is intended for early SCI2, but should work with older SCI too, not that we need it.
2016-02-28SCI32: Non-titled text bitmap implementationColin Snover
This implementation is not 100% engine accurate, but it is more accurate than what was there, and hopefully the differences between this and the engine code are merely cosmetic. The known (intentional) differences are: 1. Uses ScummVM rects inside the engine code, converting to/from SCI rects on the kernel edges and when scaling 2. Fewer side effects when performing operations that *should* have been pure from the start (like text dimension calculation). Still not side-effect-free, but at least things like colours and alignment do not need to be reset every time a measurement is taken, unlike in the actual engine. Editor controls and some other kBitmap code are temporarily disabled as a result of changes to GfxText32 until they can be updated to be engine-accurate.
2016-02-27SCI32: Clear InfoFlagViewVisible after updating ScreenItemWillem Jan Palenstijn
2016-02-27SCI32: Update InfoFlagViewVisible from send_selectorWillem Jan Palenstijn
2016-02-27SCI32: Update InfoFlagViewVisible in VM opcodesWillem Jan Palenstijn
2016-02-27SCI32: Remove two hacks for Torin, and document what happens insteadFilippos Karapetis
2016-02-27SCI: Remove another GK1-related hackFilippos Karapetis
2016-02-27SCI: Remove a TODO in GK1 that has been resolved properly nowFilippos Karapetis
2016-02-26SCI: Make Freddy Pharkas intro scaling patch more genericMartin Kiewitz
So that hopefully the signature will match for all versions
2016-02-25SCI: Add script patch for Freddy Pharkas intro scalingMartin Kiewitz
Fixes game title views not shown while they are scaled in.
2016-02-25SCI: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-02-24SCI: Add script patch for qfg3 combat speed problemMartin Kiewitz
Fixes bug #6247
2016-02-24SCI: Fix FM-Towns audio language selectionMartin Kiewitz
This first of all combines both detection entries and makes it possible so that the user can directly choose English or Japanese without having to add the game twice. But it also fixes the in-game option to switch between English and Japanese. Prior to this commit it was only possible to for example switch from Japanese to English once, but it was not possible to switch back without quitting the game and starting it again.
2016-02-23SCI: Improve kAnimate fastcast detection, Remove EQ1 hackMartin Kiewitz
- Add "kAnimate fast cast state" to "version" debug command - Make it possible for script patcher signatures to get fully used outside of the regular script patcher - Remove previous fastcast detections and replace them with a signature heuristic - Remove object name checking, when fastcast global is set - Heuristic detects "fast cast" support incorrectly for multilingual KQ5, but it seems the game never sets the global, so it won't matter. KQ5 CD (also SCI1 late) has fastcast support. - Remove hack in GfxView::draw - Add lots of comments to ScriptPatcher class This fixes EcoQuest 1 Floppy showing the anemone on top of the message box (see bug #5170)
2016-02-22SCI32: Do not clear screen when restoring for SCI32Martin Kiewitz
Fixes graphical issues, when restoring saved games. SCI32 did not clear the screen and also did not even redraw the screen on restore. It only redraws elements that have changed. Behavior verified using TSR in DOSBox (see comments). Also added comment about clearing the screen for SCI16.
2016-02-22SCI: Add hack for Pepper's Adventure in Time CDAUDIO issueMartin Kiewitz
Game checks for file CDAUDIO. Currently the kFileIO(Exists) code is working pretty slowly on at least Windows. Needs to get fixed properly by enhancing SaveFileManager(). This is primarily for branch 1.8.0.
2016-02-22SCI: Make Pharkas CD opcodes return explicit values. Document.Lars Skovlund
2016-02-22SCI32: Document purpose of 993.vocLars Skovlund
2016-02-21SCI32: Comment splitRectsWillem Jan Palenstijn
2016-02-21SCI32: Clean up Gfx::FrameoutsyncWithScripts()Martin Kiewitz
2016-02-21SCI: Add help for debuglevel commandWillem Jan Palenstijn
2016-02-21SCI32: Fix save patching for ScummVM dialogMartin Kiewitz
- Patch game super object for saving instead of game object - Remove re-adding planes+screen items, game::replay does that We would only have to do that for soft-failing on restore - Change debug levels of kNumLoops/kNumCels to 9 - Add special comment about -info- selector in syncWithScripts() This should now make ScummVM menu saving work properly at least in SQ6.
2016-02-21SCI32: Add comment about SQ6's option planeMartin Kiewitz
2016-02-21SCI32: Implement syncing planes+screen items from VM for restoreMartin Kiewitz
Fixes restoring saved games, when ScummVM dialogs are patched in Removing clearing planes+screen items as well, because the scripts actually did that, but did not clear everything. Fixes "Invalid screen item" message when entering options menu, after restoring in SQ6.
2016-02-21SCI: Use nullptr instead of 0 for null pointer checksColin Snover
2016-02-21SCI32: Use debugC instead of debugCN for debug outputMartin Kiewitz
2016-02-21SCI32: Add debug output to Add/Update/DeleteScreenItem+PlanesMartin Kiewitz
debugflag Graphics level 6 for Add+Delete level 7 for Update
2016-02-21SCI32: Add a bit more debug info to errors + screenitemsMartin Kiewitz
2016-02-21SCI: Add script patch for Laura Bow 1 easter eggMartin Kiewitz
Fixes view-loop for PC version
2016-02-21SCI: Fix redrawAll updating visiblePlanesWillem Jan Palenstijn
It was comparing ScreenItem*'s directly, instead of objects.
2016-02-21SCI: Skip NULL entries in FindByObjectWillem Jan Palenstijn
Lists can contain gaps if they're searched before Pack() is called.
2016-02-21SCI: Clear visible planes in GfxFrameout::clear() tooWillem Jan Palenstijn
This caused planes and visibleplanes to go out of sync when loading.
2016-02-20SCI: Fix showStyle check in palMorphFrameOut() - thanks snoverFilippos Karapetis
2016-02-20SCI: Fix missing whitespace causing create_project errorsColin Snover
2016-02-20SCI32: Change kAddLine to use kStubNull b/c signaturesMartin Kiewitz
2016-02-20SCI32: kIsOnMe apply scaling + use mulru() thx snoverMartin Kiewitz
2016-02-20SCI: Fix a regression in the fallback detector. Some cleanupFilippos Karapetis
Removed the superfluous initForDetection() function, which was not updated in commit 2f17ba2b0ab77ef939c21efa04f7aaafccbd0c37 and caused the fallback detector to crash because of uninitialized variables
2016-02-20SCI32: kIsOnMe searches _visiblePlanes, not just _planesMartin Kiewitz
Forgot to mention that in last commit
2016-02-20SCI32: Splitting up GfxFrameout::kernelIsOnMe() into 2 methodsMartin Kiewitz
2016-02-20SCI: Document and disable the unverified code used in GK1Filippos Karapetis
2016-02-20SCI: Add a more detailed explanation about kernelSetZoomZoneFilippos Karapetis