aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2016-03-07SCI32: Fix adding too many items to drawlistWillem Jan Palenstijn
2016-03-06SCI32: Implement variable size frame drawingColin Snover
2016-03-06SCI32: Make PlaneList definition order match declaration orderColin Snover
2016-03-06SCI32: Fix memory leaksColin Snover
2016-03-06SCI32: "Improve" comparison algorithm for planes and screen itemsColin Snover
This adds a slightly more accurate comparison algorithm that will at least ensure that all the engine-generated planes and screen items with matching priorities will be sorted above script-generated planes and screen items, like in the original engine. It still does not sort script-generated items by memory handle order, so if that is ever a thing that actually happens, those may still be in the wrong order.
2016-03-06SCI32: Fix missing digits in plane item list debug outputColin Snover
2016-03-06SCI32: Implement kEditTextColin Snover
2016-03-05SCI32: Fix incorrect insertion of new planesColin Snover
2016-03-05SCI: Make cursor workaround work properly on OpenPandoraMartin Kiewitz
Other platforms, that support analog stick + touch screen at the same time, are possibly also affected. Cursor workarounds exist for qfg1vga, qfg3, lsl5 and Island of Dr. Brain. Those sometimes worked and sometimes didn't on at least OpenPandora and should be fixed now.
2016-03-05CONFIGURE: Introduced new engine dependency: highresEugene Sandulenko
Some backends like GCW0 do no support graphics >320x240 due to the hardware limitation (downscaling is possible but it will ruin the pixel hunting which is often part of the gameplay). Instead of manually updating the list of engines, we now introduce a new dependency. I marked all relevant engines, but some, like tinsel, require more work with putting their relevant high-res games under USE_HIGHRES define.
2016-03-03SCI32: Fix misidentification of createFontBitmap(CelInfo &)Colin Snover
2016-03-03SCI32: Add all kBitmap signaturesColin Snover
Not all SCI2.1late/SCI3 function signatures are fully known yet, but all subops are now represented in the kernel tables.
2016-03-02SCI32: Minor consistency improvement to FrameOutColin Snover
2016-03-02SCI32: "Fix" missing fade transitionsColin Snover
The original engine had some members on PlaneShowStyle to allow wall clock timing but never actually used them in the processing loop so transitions simply ran as quickly as the CPU could process them. For the moment, we will just limit these transitions to ~30fps, which hopefully roughly matches the speed of the engine on hardware of the era.
2016-03-02SCI32: Add a workaround for kPalVarySetPercent in GK1 (chapter change)Filippos Karapetis
2016-03-02SCI32: Don't do a syncWithScripts on restore from launcherMartin Kiewitz
Causes issues in at least gk1 (option + inventory plane are shown) Game::restore is not called, when doing restores from launcher, so in the original interpreter this script code wasn't called either. Fixes option + inventory planes etc. being shown right after restoring via launcher, when original save/load dialogs were disabled.
2016-03-02SCI32: Fix changed screen items drawing on top of higher screen itemsColin Snover
2016-03-02SCI32: Add consts and remove redundant conditionalColin Snover
Adding consts to try to isolate rectangles that change during draw list processing, to be investigated for incorrect mutations causing lower screen items to be drawn over higher screen items at their edges.
2016-03-02SCI32: Review rect rounding in Plane and ScreenItemColin Snover
These changes should cause ScummVM to be more accurate in edge case rounding.
2016-03-01SCI32: Fix bad reads of mirrored celsColin Snover
2016-03-01SCI32: Fix index/offset mixup in updateInfoFlagViewVisibleWillem Jan Palenstijn
2016-03-01SCI: Cleanup: Use Common::StringArray instead of custom type.Johannes Schickel
2016-03-01SCI: Fix Macintosh game sources listing.Johannes Schickel
2016-03-01SCI: Use MacResManager when checking for Mac resource forks.Johannes Schickel
2016-03-01SCI: New Hoyle 1 was actually new Hoyle 2 versionMartin Kiewitz
5.25", 2 discs, interpreter 0.668
2016-03-01SCI: Add another version of hoyle 1 (5.25")Martin Kiewitz
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.