aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
AgeCommit message (Collapse)Author
2011-08-13AGI: Updates to V1 instruction table, plus an outcommented experimentJussi Pitkanen
The experiment tries to implement the program control of the V1 interpreter. Maybe it is better to add another method for doing that once the workings of it are more clear.
2011-08-13AGI: Implement loader for V1 "object" fileJussi Pitkanen
2011-08-13AGI: Fix warning messages about undefined opcodesJussi Pitkanen
2011-08-13AGI: Add last undefined V1 test command that tests if a bit of var is setJussi Pitkanen
Also fix skipInstruction() for V1.
2011-08-13AGI: Rename cmd_what_ever to cmdWhatEverJussi Pitkanen
2011-08-13AGI: Fix and clarify IF expression handlingJussi Pitkanen
2011-08-13AGI: Implement V1 SAID test commandsJussi Pitkanen
Yes, V1 has three versions of SAID, for one, two and three arguments. Also add a few corrections to V1 instruction tables.
2011-08-13AGI: Formatting (+ a few debug prints)Jussi Pitkanen
2011-08-13AGI: Implement loader for V1 words.tok dictionaryJussi Pitkanen
2011-08-13AGI: Implement common internal dictionary for different words.tok formatsJussi Pitkanen
Preparations for V1 words.tok support.
2011-08-13AGI: Add still incomplete V1 instruction tablesJussi Pitkanen
2011-08-13AGI: Add loader and detection for Black Cauldron booterJussi Pitkanen
2011-08-13AGI: AgiLoader_v1: Precalculate final resource offsetsJussi Pitkanen
That is, calculate the final offsets when loading the resource directories, and when loading the resource simply seek into the disk image file.
2011-08-13AGI: Execute test commands only when neededJussi Pitkanen
2011-08-13AGI: Refactor interpreter core (somewhat akin to SCI)Jussi Pitkanen
* Instruction tables are now defined in opcodes.{cpp,h}. * Move opcode handlers from Agi::AgiEngine to Agi * Opcode handlers take as parameter a pointer to AGI state (AgiGame)
2011-08-13AGI: Comment cleanupJussi Pitkanen
2011-08-13AGI: Simplify handling of IF conditionsJussi Pitkanen
Execute all test commands in a condition even when not strictly needed.
2011-08-13AGI: Fix row duration in V1 SOUND resource playerJussi Pitkanen
2011-08-13AGI: Fix detection of IIgs sample resourcesJussi Pitkanen
2011-08-13AGI: Use a jump table for test commands instead of switch/caseJussi Pitkanen
Preparations for V1 support.
2011-08-13AGI: Add a layer of abstraction between the sound chip and the two playersJussi Pitkanen
2011-08-13AGI: Simplify sector offset calculationJussi Pitkanen
2011-08-13AGI: CleanupJussi Pitkanen
2011-08-13AGI: Do not try to pass filenames of disk images from the detector to engineJussi Pitkanen
2011-08-13AGI: Detect the end of V1 sound resources correctly, fixing crashesJussi Pitkanen
2011-08-13AGI: Implement resource loader for the DDP booter gameJussi Pitkanen
2011-08-13AGI: Detect the bootable floppy version of Donald Duck's PlaygroundJussi Pitkanen
Also create a framework into which more booter games can be added.
2011-08-13AGI: Implement note fetch routine for AGI v2.001 sound resourcesJussi Pitkanen
I suspect this is the format for AGI V1 sound resources as well. It is currently implemented by splitting getNextNote() to getNextNote_v2() and getNextNote_v1(). Since the V1 format consists of simple register values to the sound chip in PCjr, this could probably be made more cleanly by refactoring the code to resemble the chip more closely, so that its state is updated by writing to the registers.
2011-08-07GRAPHICS: Simplify the interface of Graphics::loadThumbnail().Christoph Mallon
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07ALL: Use Graphics::skipThumbnail() where appropriate.Christoph Mallon
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-07-03AGI: Cleanup some Winnie string codeMatthew Hoops
2011-07-03AGI: Fix some memset callsMatthew Hoops
Spotted by both salty-horse and LordHoto using clang
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-18AGI: Replace vsprintf by Common::String::vformatMax Horn
2011-06-14DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()Max Horn
Also reorder the parameters of composeFileHashMap, placing the "return value" first.
2011-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-10AGI: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-06-10AGI: Experimental fix for bug #3292778 ("SQ2: Music missing notes")eriktorbjorn
The idea here is that if two voices are generating the same tone, the square wave generator should be in sync so that the wave forms amplify each other, rather than cancelling each other out.
2011-06-08AGI: Numeric Keypad Control in Predictive Dialog (Bug #3309376)D G Turner
In AGI games, the numeric keypad is used as an alias for cursor keys to allow stationary and 8 directional input, but while the predictive dialog is open, this is more sensibly mapped to numeric input to allow use of the predictive input on desktop ports.
2011-06-08AGI: Fix Engine Exit While Predictive Dialog Is Open.D G Turner
2011-06-08AGI: Fix Broken Predictive Text Input.D G Turner
This was a regression introduced by 4b2f92b5e56a1fc273c8c8d2e69b747f938ea92f (r55135)
2011-06-03AGI: Fix type mismatch (see bug #3311198)Max Horn
2011-06-03Remove accidentally added file *sigh*Max Horn
2011-06-03SCI: Switch some char* to Common::String&Max Horn
2011-06-02AGI: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-05-25AGI: Fix compilation on 64 bit platformsWillem Jan Palenstijn
I'm unable to test this change, but it avoids using a pointer to store an int temporarily.