aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
AgeCommit message (Collapse)Author
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.
2012-07-22TEENAGENT: Symbol migration associated with remaning display*Message().D G Turner
Have also corrected typo in offset i.e. 0x39b7 was incorrect, it appears that 0x3ab7 was intended.
2012-07-18TEENAGENT: Improve readability of displayMessage() calls.D G Turner
2012-07-18TEENAGENT: Improve readability of displayAsyncMessage() calls.D G Turner
2012-07-17TEENAGENT: Symbol migration associated with displayCutsceneMessage().D G Turner
2012-07-17TEENAGENT: Improve readability of displayCutsceneMessage() calls.D G Turner
2012-07-17TEENAGENT: Add symbol for Mansion attempt counter.D G Turner
2012-07-17TEENAGENT: Symbol migration associated with displayCredits().D G Turner
2012-07-17TEENAGENT: Further symbol migration for processCallback() usage.D G Turner
2012-07-16TEENAGENT: Further symbol migration associated with saveStates.D G Turner
2012-07-16TEENAGENT: Migrate two more dseg regions to symbolic addresses.D G Turner
2012-07-16TEENAGENT: Update refactoring notes.D G Turner
These notes were accidently committed, but may be relevant, so will retain this (rather than filtering branch).
2012-07-16Merge branch 'master' into teenagentRefactorD G Turner
Conflicts: engines/teenagent/resources.cpp
2012-07-15TEENAGENT: Add translatable strings in resources.cppFilippos Karapetis
2012-07-15TEENAGENT: Show a verbose warning when a compressed data file is used and ↵Filippos Karapetis
zlib hasn't been included in the executable
2012-07-15TEENAGENT: Readd the zlib code, to maintain backwards compatibilityFilippos Karapetis
2012-07-15TEENAGENT: Unpack teenagent.dat and remove the engine's zlib dependencyFilippos Karapetis
This addresses bug #3539822 - "TEENAGENT: Not working without zlib"
2012-07-13TEENAGENT: Add symbols for savestate region.D G Turner
2012-07-12TEENAGENT: Minor formatting fixes for consistency.D G Turner
This is mainly ensuring that all hexadecimal usages i.e. addresses are in lowercase for consistency, but also includes some minor comment formatting correction.
2012-07-12TEENAGENT: Replace most of early return calls in processCallbacks().D G Turner
This results in a cleaner and simpler function, prior to any further refactoring.
2012-07-11TEENAGENT: Start replacing hardcoded addresses with symbols.D G Turner
2012-07-11TEENAGENT: Migrate Dialog functions to using dialog numbers.D G Turner
This removes the hardcoded address/offsets from the callback functions.
2012-07-11TEENAGENT: Replace static Dialog functions with normal class.D G Turner
This avoids the need to pass the engine pointer, vm to every function and removes the need for the functions to be static.
2012-07-11TEENAGENT: Add Resource code to precompute Dialog Offsets.D G Turner
This should allow the removal of most/all of the hardcoded eseg addresses in the Dialog calls.