aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
AgeCommit message (Collapse)Author
2013-07-19TEENAGENT: Add missing "break"s to switch casesTorbjörn Andersson
I think this is the correct thing to do, and that it won't have any noticeable effect whatsoever. Cases 29 and 30 happen in the first half of the game, in the cantine, while case 42 happens in the second half of the game. By the time you reach the point where case 42 does something, I don't think it's possible to get back to cases 29 and 30, so when case 29 falls through neither 30 nor 42 will do anything. CID 1003730, 1003731
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2012-10-10TEENAGENT: Convert Dialog text color symbols to an enum.D G Turner
2012-10-10TEENAGENT: Convert Inventory item ids to an enum.D G Turner
2012-10-09TEENAGENT: Fix constant naming to comply with Coding Conventions.D G Turner
Adding missing CamelCase k-prefixes.
2012-10-02TEENAGENT: Modify callback comment into readable FIXME.D G Turner
2012-09-26TEENAGENT: Cleanup TeenagentEngine class.D G Turner
This removes the underscores in various variables as per project coding standard.
2012-09-24TEENAGENT: Cleanup Surface class.D G Turner
This removes the underscores in various variables as per project coding standard.
2012-09-24TEENAGENT: Cleanup Scene class.D G Turner
This removes the underscores in various variables as per project coding standard.
2012-09-24TEENAGENT: Cleanup Object classes.D G Turner
This removes the underscores in various variables as per project coding standard.
2012-09-24TEENAGENT: Further cleanup for Font class.D G Turner
2012-09-23TEENAGENT: Cleanup Font class.D G Turner
This fixes a mismatched function prototype wrt. the definition and removes the underscores in various variables as per project coding standard. Also, minor reordering of functions for readability.
2012-09-23TEENAGENT: Cleanup Inventory class.D G Turner
This removes the underscores in various variables as per project coding standard.
2012-09-16TEENAGENT: Minor cleanups to Animation Class.D G Turner
Renaming to remove underscores in member variables and minor method reordering for readability.
2012-09-13TEENAGENT: Cleanup Actor class.D G Turner
This fixes a mismatched function prototype wrt. the definition and removes the underscores in various variables as per project coding standard.
2012-09-13TEENAGENT: Clean up SurfaceList Class.D G Turner
This removes an unecessary type and unused parameter from the load method and renames to remove underscores from variable names as per the project coding conventions.
2012-09-12TEENAGENT: Add missing (disabled?) callback implementation.D G Turner
2012-09-12TEENAGENT: Annotate Symbols for Inventory Object Callback Table.D G Turner
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.