aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
AgeCommit message (Collapse)Author
2012-02-11SCUMM: Add in support in v0 for the unknown variable to o_animateActorsegrax
2012-02-11SCUMM: remove some NOTEs/TODOsTobias Gunkel
- o5_breakHere() seems to be still needed. For example edna does not manage to walk up the ladder if this is not enabled. - numLocalObjects seems to be big enough so that < instead of <= can be used. The original interpreter only uses the local ids 0 .. 44 whereas scummvm has _numLocalObjects set to 200.
2012-02-11SCUMM: make what-is verb work in v0 againTobias Gunkel
2012-02-11SCUMM: reset object2 in v0 correctlyTobias Gunkel
This fixes the issue that a kid will not enter the front door after opening it with the key.
2012-02-11SCUMM: pop stack in v0 if command's object1 and 2 are the sameTobias Gunkel
Otherwise the command will never be removed and the stack overflows
2012-02-11SCUMM: improve verb and sentence handlingTobias Gunkel
- execute sentence if verb was clicked twice - reuse the first object if a new verb is selected (but no preposition is used yet)
2012-02-11SCUMM: reset sentence line in v0 if sentence executedTobias Gunkel
2012-02-11SCUMM: fix a regression in v0Tobias Gunkel
Found by segra.
2012-02-11SCUMM: click into sentence line in v0 now performs the actionTobias Gunkel
2012-02-11SCUMM: fix kid selection in v0Tobias Gunkel
The kid names are now displayed in the sentence line (instead of the verb area) as it is done in the original.
2012-02-11SCUMM: fix verb and script handlingTobias Gunkel
- getVerbEntrypoint() should not handle walk-to differently (revert 0x0D handling back to original behavior) - VAR_ACTIVE_ACTOR actually is VAR_ACTIVE_OBJECT2 - runSentenceScript(): "if (_cmdVerb == kVerbWalkTo)" must be "if (_cmdVerb != kVerbWalkTo)"
2012-02-11SCUMM: make START-button in mm c64 kid selection screen work againTobias Gunkel
2012-02-11SCUMM: use command stack and SentenceTab in mm c64Tobias Gunkel
- MM C64 uses command stack (SentenceTab, doSentence()) now - _cmdObject... added for current SentenceTab. The _active... variables are only used to build a sentence in the inventory but never by a script. -> many routines are not needed anymore and are removed
2012-02-11SCUMM: mm c64 cleanupTobias Gunkel
2012-02-11SCUMM: replace verb, prep and currentMode values with symbolic constantsTobias Gunkel
2012-02-11SCUMM: use constants for c64 actor miscflagsTobias Gunkel
2012-02-11SCUMM: selecting inventory objects and inventory scrolling works againTobias Gunkel
2012-02-11SCUMM: start handling object type and id correctly in mm c64Tobias Gunkel
- removed complicated and unnecessary _v0ObjectIndex, _v0ObjectInInventory, _v0ObjectFlag vars - started to merge object id and type into one object value (type<<8|id) - verb preposition ids do not dependent on language -> remove from VerbSettings Note: - objects with type=0 are foreground objects. They have a state, an owner and a bg overlay image. - objects with type=1 are bg objects. They do not have a state or owner and are already contained in the bg image. The do not have an entry in objectState/OwnerTable
2012-02-11SCUMM: remove unneeded verbPrep() callsTobias Gunkel
2012-02-11SCUMM: fix ScummEngine_v0::o_stopCurrentScript()Tobias Gunkel
2012-02-11SCUMM: changed handling of _activeInventory/_activeActor to ↵Tobias Gunkel
_activeObject(2)/_activeObject(2)Type Note: the transition is not completed yet. The code compiles but is probably not runnable as not every occurrence of _activeInventory has been properly replaced. The usage of _v0ObjectIndex and _v0ObjectInInventory should be revised too and both variables should be replaced by another mechanism (maybe by using a single variable "obj = (type << 8) | id"). - moved v0 only vars _activeInventory, _activeObject, _activeVerb from ScummEngine_v2 to ScummEngine_v0 - removed _activeActor, _activeInvExecute, _activeObject2Inv and _activeInventory. They are handled by _activeObject/_activeObjectType and _activeObject2/_activeObject2Type now. - removed _activeObject(2)Index as they only bloat the code without any benefit (?) - merge prep-name tables from ScummEngine_v2::drawPreposition() and ScummEngine_v0::drawSentenceWord() by introducing ScummEngine_v2::drawPreposition() - rename ObjectData.flags -> obj_type (quick-fix only, needs review! Maybe obj_nr and obj_type can be merged into one var: obj_nr = (obj_type << 8) | obj_nr) - o_unknown2 is negation of o_ifActiveObject (o_ifNotEqualActiveObject2) - renamed o_ifActiveObject -> o_ifEqualActiveObject2 as it acts only on _activeObject2 - renamed ScummEngine_v0::drawSentenceWord() -> ScummEngine_v0::getObjectName()
2012-02-11SCUMM: Fix pickupObject()Tobias Gunkel
2012-02-11SCUMM: make verbs working betterTobias Gunkel
2012-02-11SCUMM: Fix bug with tracker ID 3072094Tobias Gunkel
MANIAC C64: Bug while getting the stamps from the parcel - ID: 3072094 MMC64: use stamps with envelope - ID: 3095595
2012-02-11SCUMM: Fix meteor actor indexTobias Gunkel
- Now the correct actor name is shown with "give ... to meteor". Formerly the name was "". - Add actor names that do not have a string assigned
2012-02-11SCUMM: Fix sound playback if fast-mode is onTobias Gunkel
Sounds are played that fast in fast-mode that the queue gets stuck. This is just a workaround and only fixes the symptoms. Check the queue handling for a correct fix.
2012-02-10JANITORIAL: Fix template definition whitespaceTarek Soliman
2012-02-10Merge pull request #177 from ↵Eugene Sandulenko
BenCastricum/5db023646a8c685469bfe9dc551a282f8240ae04 SCUMM: Use regular detection algorithms for FMTOWNS demos.
2012-01-29SCUMM: Add script number differences in SCUMM V0, for two work arounds in ↵Travis Howell
Maniac Mansion.
2012-01-26SCUMM: Use regular detection algorithms for FMTOWNS demos.Ben Castricum
2012-01-15SCUMM: add missing free()athrxx
2012-01-15Merge pull request #166 from BenCastricum/masterEugene Sandulenko
SCUMM: Added detection for more Dutch HE demos
2012-01-14SCUMM: Fix workaround for Dig spider lair sound glitchTorbjörn Andersson
The soundKludge() function assumes there are always 8 parameters for Digital iMUSE script commands.
2012-01-08SCUMM: Recognize platform on win version of dutch puttrace demoBen Castricum
2012-01-08SCUMM: Work around script bug in The DigTorbjörn Andersson
The sound of trickling water in the spider lair is started, but never explicitly stopped, so it keeps going. (Possibly not forever. When I tried it in DOSBox, it finally stopped when I got back to the Nexus.) The same sound effect is used the underwater cavern, and in that case the exit script does fade out the sound so this workaround emulates that behaviour.
2012-01-08SCUMM: Recognize Mac version of dutch putttime demoBen Castricum
2012-01-08SCUMM: Recognize Windows as platform for pajama2 demoBen Castricum
2012-01-08SCUMM: Add support for 2 freddi3 Mac/Dutch demosBen Castricum
2012-01-08SCUMM: Correctly recognize platform on freddi2 dutch demoBen Castricum
2012-01-07SCUMM: Add three Hebrew HE gamesMatan Bareket
Freddi Fish 3: The Case of the Stolen Conch Shell, Putt-Putt Joins the Circus, Pajama Sam 2: Thunder and Lightning Aren't so Frightening
2012-01-01SCUMM: Add support for 2 Dutch/Mac spyfox demos (1 MD5, 1 filename pattern)Ben Castricum
2012-01-01SCUMM: Don't hide scumm detector debug message for certain casesBen Castricum
2011-12-28SCUMM: Fix warning due to implicit conversion to intMax Horn
2011-12-26SCUMM: Make SampleBuffer::write non-virtual to silence a g++ warning.Johannes Schickel
No class inherits from SampleBuffer, thus it should be safe to do so.
2011-12-26SCUMM: Add a difficulty selection dialog for Loom FM-Towns.Johannes Schickel
It is in spirit of the DOS version's selection dialog, but it has the description above the buttons instead of below it.
2011-12-26Merge pull request #150 from tobigun/player_appleIIEugene Sandulenko
SCUMM: Add Apple-II sound player support
2011-12-24SCUMM: add player_apple2.cpp to project filesTobias Gunkel
Seems as if the iphone project files have to be updated separately.
2011-12-24SCUMM: Rename player_appleII.* -> player_apple2.* to have the filenames ↵Tobias Gunkel
lower case
2011-12-24SCUMM: Remove assert.h include from player_appleIITobias Gunkel
2011-12-23Add patch #3463338 - Detect Macintosh demo of Pajama Sam 1.Travis Howell