aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2017-05-02DIRECTOR: Add CachedMacTextTobia Tesan
2017-05-02DIRECTOR: Add TextCast::importStxtTobia Tesan
2017-05-02DIRECTOR: Remove now-useless textId parameter from renderButtonTobia Tesan
2017-05-02DIRECTOR: Use text from textCastsTobia Tesan
2017-05-02DIRECTOR: Init textCasts with Stxts in ScoreTobia Tesan
2017-05-02DIRECTOR: Equip textCast with _ftextTobia Tesan
2017-05-02GRAPHICS: Pass interlinear as constructor argument to MacTextTobia Tesan
2017-05-02DIRECTOR: Add stxt.cppTobia Tesan
2017-05-02DIRECTOR: Delete Stxts in ~ScoreTobia Tesan
2017-05-02DIRECTOR: Use preloaded Stxt for renderingTobia Tesan
2017-05-02DIRECTOR: Preload Stxts in ScoreTobia Tesan
2017-05-02DIRECTOR: Add _loadedStxts member to ScoreTobia Tesan
2017-05-02DIRECTOR: Add Stxt.hTobia Tesan
2017-05-02SCI32: Fix incorrect arguments to readPixel in kCelInfoColin Snover
Fixes Trac#9750.
2017-05-01Revert "SCI32: Add debugging calls to GfxCursor32"Colin Snover
This reverts commit c02f2674ad3533aebd6c5dbcaf47f3e1d20904a4. Two minutes after committing this, the author of the ticket resolved the problem, which was caused by missing VMDs.
2017-05-01SCI32: Add debugging calls to GfxCursor32Colin Snover
Refs Trac#9740.
2017-05-01SCI32: Add support for Shivers interactive demoColin Snover
Closes Trac#9745.
2017-05-01SCI32: Add detection for KQ7 German 1.65cColin Snover
Closes Trac#9738.
2017-04-30SCI: Clean up ugly syncBaseObject callColin Snover
2017-04-30SCI: Hold script data as mutable internallyColin Snover
Script buffer data is modified after a script is loaded by savegame operations, and, in SCI16, by string operations. Casting away const to allow these mutations to happen is not a very good design, so this patch just changes the privately held reference to data to be mutable. (Public accessors still return immutable data.)
2017-04-30SCI32: add detection for GK2 GermanMartin Kiewitz
2017-04-30DIRECTOR: clean up renderText: separate reading & actual renderingTobia Tesan
2017-04-30DIRECTOR: remove redundant/ineffective assignments to widthTobia Tesan
2017-04-30DIRECTOR: clean up renderText: move warning block downTobia Tesan
This changes slightly the semantics of the method; however, I assume we want to print (or not) the warning based on the width/height values that will in fact be used *in* the method.
2017-04-30DIRECTOR: consolidate font, width instructions in renderTextTobia Tesan
2017-04-30GRAPHICS: Delete MacFont in MacTextTobia Tesan
2017-04-30GRAPHICS: Use MacFont in lieu of Graphics::Font in MacTextTobia Tesan
2017-04-30TESTBED: Fix building with --disable-cloud (#938)Tarek Soliman
The linker fails when building with --disable-cloud and not passing --disable-libcurl
2017-04-29SCI32: Remove unnecessary GfxFrameout::_frameNowVisibleColin Snover
This flag was used in SSCI to read from VRAM instead of from the back buffer when a mouse interrupt was received in the middle of a back buffer update. Since ScummVM controls when mouse events are received via polling, it is not possible to receive a mouse event in the middle of back buffer updates, so this code is unnecessary for the engine to work properly. This also fixes Valgrind warnings about use of uninitialized memory at the start of the game, caused by not filling the cursor memory buffers because `_frameNowVisible` was false until the first frame was rendered.
2017-04-29SCI32: Promote GK2 and Torin demos to AGDF_TESTINGColin Snover
2017-04-24SCI: Add var count sanity checking to object initializationColin Snover
2017-04-24SCI: Use the var count from the instance's class in SCI1.1-2.1 when looking ↵Colin Snover
up selectors At least some versions of Island of Dr Brain have a bMessager instance in script 0 with a var count greater than that of its class. This probably should never happen since it means the object has a variable with no corresponding selector. The next commit adds some extra sanity checking code to object initialization, to warn on any other games where this happens.
2017-04-25DIRECTOR: Fix Various Compiler Warnings.D G Turner
2017-04-23SCI32: Remove SCI3 TODOColin Snover
SCI3 resources appear to already be properly handled.
2017-04-23SCI32: Allow resource maps with missing corresponding volumesColin Snover
GK2 on Steam comes with an extra bogus resource map file which would previously cause ScummVM to refuse to load the game due to a mismatch in the number of map & volume files. This does not cause any harm, but is a pain for users (since it requires them to manually delete the file, and it will be recreated if a user runs the Steam game file integrity check), so allow the game to load with a warning instead.
2017-04-23SCI: Improve error messages in Script::validateExportFuncColin Snover
2017-04-23SCI32: Exclude SCI3 code from compilation when SCI32 is disabledColin Snover
2017-04-23SCI32: Fix missing mustSetViewVisible data in cloned objectsColin Snover
This information comes directly from script data and is not modified at runtime, so it does not need to be persisted in save games, but does need to be set when reconstructing clones.
2017-04-23SCI32: Improve disassembly output of SCI3 property opcodesColin Snover
Since SCI3 scripts use selectors instead of offsets as operands to property-related opcodes, the disassembler can look up and display property names everywhere (unlike SCI2.1 and earlier, which need to know the object being operated on to look up the correct selector for a given offset).
2017-04-23SCI32: Fix mustSetViewVisible for SCI3Colin Snover
In SCI2/2.1, variable indexes are used along with a range encoded in the interpreter executable to determine whether an object variable is a view-related variable. Operands to aTop, sTop, ipToa, dpToa, ipTos, and dpTos are byte offsets into an object, which are divided by two to get the varindex to check against the interpreter range. In SCI3, objects in game scripts contain groups of 32 selectors, and each group has a flag that says whether or not the selectors in that group are view-related. Operands to aTop, sTop, ipToa, dpToa, ipTos, and dpTos are selectors.
2017-04-23SCI32: Replace magic numbers in SCI3 selector initColin Snover
2017-04-23SCI32: Add debugger command to list digital audio samplesColin Snover
2017-04-23SCI32: Fix race conditions in Audio32Colin Snover
2017-04-23SCI32: Remove unused code branchColin Snover
2017-04-23SCI32: Serialize Robots in SCI3Colin Snover
This is necessary for at least Lighthouse, which maintains the state of Robots across save games.
2017-04-23SCI: Fix SCI3 exportsColin Snover
Export functions may be relocated above 64k in SCI3, but exports that do not have an entry in the relocation table must be handled the same as SCI1.1-2.1.
2017-04-23SCI: Deduplicate Object::locateVarSelector codeColin Snover
The variable count returned by Object::getVarCount is populated by variable 1 in SCI1.1, so specially reading the variable explicitly for that engine version is not necessary.
2017-04-23SCI: Fix support for 32-bit SCI3 script offsetsColin Snover
2017-04-23SCI: Replace mostly-unused flags property with a single booleanColin Snover
There does not appear to be any reason to use a bit field instead of a simple boolean for this one flag, since there are no other flags that need to be set on Object like this.
2017-04-23SCI: Improve documentation of Object classColin Snover