aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
AgeCommit message (Collapse)Author
2012-09-02TEENAGENT: Remove final usages of code segment blob.D G Turner
The loading of cseg is now replaced by skipping, so that the external dat file remains the same, but RAM usage is reduced. The callbacks code will now error on unknown callback addresses, which should not happen as all cases should now be covered, though the callback tables need to be checked to ensure this is guaranteed.
2012-08-06TEENAGENT: Add missing callback for examining left window in house #2.D G Turner
2012-08-05TEENAGENT: Migrate Dialog Stack Address usages to symbols.D G Turner
2012-08-03TEENAGENT: Correct minor text color bug.D G Turner
2012-08-03TEENAGENT: Add symbols for dialog and message text colors.D G Turner
2012-08-02TEENAGENT: Ensure MusicPlayer is stopped on destruction.D G Turner
2012-08-02TEENAGENT: Fix for bug #3428161 "PSP: No music in TeenAgent".D G Turner
This could occur on other platforms too and was a race hazard between mixer thread startup and music being valid i.e. If the music doesn't already exist, when the mixer callback is done, this deletes the channel as idle. Reordered the calls to fix this. Also, removed unecessary music->start() as this is done by setMusic(n) on successful load anyway.
2012-08-02TEENAGENT: Implement missing callback for talking to Bird in Act 1.D G Turner
2012-08-02TEENAGENT: Added missing callback for pushing House #2 doorbell.D G Turner
This is incomplete, but an improvement. It also shows where one of the missing messages is used.
2012-08-02TEENAGENT: Fix minor regression when looking at Cellar Spider.D G Turner
This code appeared to be missing. After comparing with the original interpreter under DOSBox which showed the expected behaviour if it was present, have added it.
2012-08-01TEENAGENT: Migrate remaining callback flag variables to symbols.D G Turner
2012-08-01TEENAGENT: Even more migration of callback flag variables to symbols.D G Turner
2012-08-01TEENAGENT: Some more migration of callback flag variables to symbols.D G Turner
2012-08-01TEENAGENT: Further migration of callback flag variables to symbols.D G Turner
2012-08-01TEENAGENT: Migrate some callback flag variables to symbols.D G Turner
2012-08-01TEENAGENT: Replace two missed inventory item ids with symbols.D G Turner
2012-08-01TEENAGENT: Add symbols for inventory items.D G Turner
2012-07-31TEENAGENT: Add three more missing callbacks.D G Turner
2012-07-31TEENAGENT: Fix likely cut-and-paste error in Message positioning code.D G Turner
2012-07-31TEENAGENT: Resolve two FIXMEs by adding missing callbacks.D G Turner
2012-07-31TEENAGENT: Add symbols for remaining missing message strings.D G Turner
By doing this, have tracked down most of the remaining missing trivial callbacks using these strings. Some strings are either unused or are used in odd places, marked these with FIXME. Also discovered another unimplemented non-trivial callback.
2012-07-31TEENAGENT: Migrate most of the remaining callbacks from cseg usage.D G Turner
2012-07-30TEENAGENT: Some more migration of callbacks from cseg usage.D G Turner
2012-07-30TEENAGENT: Even more migration of callbacks from cseg usage.D G Turner
2012-07-29TEENAGENT: Further migration of callbacks from cseg usage.D G Turner
2012-07-29TEENAGENT: Migrate even more callbacks from cseg usage.D G Turner
2012-07-29TEENAGENT: Migrate more callbacks from cseg usage.D G Turner
2012-07-29TEENAGENT: Switch Callback ordering to use switch before cseg data.D G Turner
This now emits warning output if a callback is not explicitly implemented in the switch statement. This is to migrate away from loading and using the cseg data in favor of explicit code blocks. Also, some implementation of callbacks using cseg previously.
2012-07-28TEENAGENT: Further addition of variable locations used in Callbacks.D G Turner
2012-07-28TEENAGENT: Add symbols for functions called by TimerCallback().D G Turner
2012-07-28TEENAGENT: Symbolise most of remaining addresses in TeenAgent engine.D G Turner
Also, change address 0 usage to 0x0000 for readability.
2012-07-28TEENAGENT: Align some variable names with coding conventions.D G Turner
2012-07-28TEENAGENT: Add constant values for screen width and height.D G Turner
It is unlikely these will be changed, but the symbols make the code more readable.
2012-07-28TEENAGENT: Use prexisting defined symbols in Callbacks code.D G Turner
2012-07-28TEENAGENT: Add symbols for data tables used in Scene class.D G Turner
2012-07-27TEENAGENT: Fix inventory regression due to missing blank entry.D G Turner
This was a regression from f856a0a7466f62ad0bd26484bf5c07c2d01c1461. The _objects list starts with a blank Inventory Object entry, but this was previously done in an implicit manner with an address overlap. Fixed in a more explicit manner.
2012-07-27TEENAGENT: Add symbols for idle animation table usage in Actor class.D G Turner
2012-07-27TEENAGENT: Add symbols for object callback tables in Inventory class.D G Turner
Also, removed one ptr usage, replacing with direct get_byte / get_word accesses.
2012-07-27TEENAGENT: Add symbols in Inventory class for various sizes.D G Turner
2012-07-27TEENAGENT: Add dsAddr symbols for Inventory. Minor fix to logic.D G Turner
The start address for the inventory item pointer data table was incorrect and has been corrected.
2012-07-26TEENAGENT: Migrated remaining recursive processCallback calls.D G Turner
2012-07-26TEENAGENT: Add symbols for Mansion intrusion attempt function addresses.D G Turner
2012-07-26TEENAGENT: Migrate mansion intrusion callback lookup table to switch.D G Turner
2012-07-26TEENAGENT: Migrate deinit functions to constructor/destructors.D G Turner
This removes a number of memory leaks.
2012-07-26TEENAGENT: Migrate most recursive processCallback() calls to functions.D G Turner
2012-07-26TEENAGENT: Further recursive processCallback() migration work.D G Turner
Added extra debug output to processCallback cseg functions. Used this to resolve the FIXME unknown functions. 0x61fe is trivial callback, but 0x50c5 is a typo. Corrected.
2012-07-26TEENAGENT: Symbol migration associated with recursive processCallback().D G Turner
2012-07-23TEENAGENT: Replace reject message table lookup with explicit values.D G Turner
Also, this adds explicit offset indexes for indexed message tables contents.
2012-07-23TEENAGENT: Split out functions to avoid need for processCallback().D G Turner
2012-07-22TEENAGENT: Fix another invalid string offset.D G Turner
This typo caused an incorrect string output when Mark examines the car trunk when it is empty.