Commit Graph
151 Commits
Author SHA1 Message Date
Duane Mach 3e4f6f4ef7 TEENAGENT: Add missing callback 0x7962 for spider 2022-05-01 13:02:54 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Strangerke 9c82cf4844 TEENAGENT: Some British to American English 2014-02-19 21:45:26 +01:00
Johannes Schickel 47b6111033 TEENAGENT: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
D G Turner 4df249b9ce TEENAGENT: Fix two more missing callbacks.
This fixes bug #6494 "TEENAGENT: Yet another unimplemented callback".
2014-01-13 03:26:43 +00:00
D G Turner 570379bc54 TEENAGENT: Fix missing callback for examining first haystack.
This fixes bug #6492 "TEENAGENT: Engine abort when using hay."
2014-01-10 23:51:44 +00:00
Sven Hesse 989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
D G Turner c92ff8db33 TEENAGENT: Fix constant naming to comply with Coding Conventions.
Adding missing CamelCase k-prefixes.
2012-10-09 09:14:44 +01:00
D G Turner e8f9c61065 TEENAGENT: Modify callback comment into readable FIXME. 2012-10-02 05:08:33 +01:00
D G Turner c9185c9b11 TEENAGENT: Cleanup Object classes.
This removes the underscores in various variables as per project coding
standard.
2012-09-24 02:51:26 +01:00
D G Turner bdba8bfb82 TEENAGENT: Add missing (disabled?) callback implementation. 2012-09-12 08:33:13 +01:00
D G Turner df6c4fbdf0 TEENAGENT: Annotate Symbols for Inventory Object Callback Table. 2012-09-12 06:32:54 +01:00
D G Turner 31cb5ce3f1 TEENAGENT: Remove final usages of code segment blob.
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-09-02 04:56:20 +01:00
D G Turner 7f8d15d008 TEENAGENT: Add missing callback for examining left window in house #2. 2012-08-06 18:37:16 +01:00
D G Turner 6c06a837ea TEENAGENT: Migrate Dialog Stack Address usages to symbols. 2012-08-05 21:47:38 +01:00
D G Turner 2e848941e5 TEENAGENT: Correct minor text color bug. 2012-08-03 16:47:31 +01:00
D G Turner dc009160bb TEENAGENT: Add symbols for dialog and message text colors. 2012-08-03 16:28:58 +01:00
D G Turner 5c03af4a76 TEENAGENT: Implement missing callback for talking to Bird in Act 1. 2012-08-02 09:35:17 +01:00
D G Turner 21d7db6578 TEENAGENT: Added missing callback for pushing House #2 doorbell.
This is incomplete, but an improvement. It also shows where one of the
missing messages is used.
2012-08-02 08:44:14 +01:00
D G Turner 4c395c9da9 TEENAGENT: Fix minor regression when looking at Cellar Spider.
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-02 07:48:38 +01:00
D G Turner 520234c200 TEENAGENT: Migrate remaining callback flag variables to symbols. 2012-08-01 19:26:46 +01:00
D G Turner ed86d58bda TEENAGENT: Even more migration of callback flag variables to symbols. 2012-08-01 16:17:37 +01:00
D G Turner 502a284b85 TEENAGENT: Some more migration of callback flag variables to symbols. 2012-08-01 14:44:51 +01:00
D G Turner efc1e16151 TEENAGENT: Further migration of callback flag variables to symbols. 2012-08-01 13:18:20 +01:00
D G Turner 455be31ff3 TEENAGENT: Migrate some callback flag variables to symbols. 2012-08-01 08:24:40 +01:00
D G Turner 92aa3123cb TEENAGENT: Add symbols for inventory items. 2012-08-01 06:40:49 +01:00
D G Turner 4e26e1969f TEENAGENT: Add three more missing callbacks. 2012-07-31 15:08:32 +01:00
D G Turner d62bb98659 TEENAGENT: Resolve two FIXMEs by adding missing callbacks. 2012-07-31 14:40:47 +01:00
D G Turner b01fdfeec6 TEENAGENT: Add symbols for remaining missing message strings.
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-31 13:17:56 +01:00
D G Turner 8c37d72897 TEENAGENT: Migrate most of the remaining callbacks from cseg usage. 2012-07-31 01:21:34 +01:00
D G Turner 470bdfd5a9 TEENAGENT: Some more migration of callbacks from cseg usage. 2012-07-30 14:22:24 +01:00
D G Turner 79f281c791 TEENAGENT: Even more migration of callbacks from cseg usage. 2012-07-30 00:10:57 +01:00
D G Turner 7337e03e5b TEENAGENT: Further migration of callbacks from cseg usage. 2012-07-29 14:02:43 +01:00
D G Turner fe7fbe8c33 TEENAGENT: Migrate even more callbacks from cseg usage. 2012-07-29 11:02:31 +01:00
D G Turner df3d3e2946 TEENAGENT: Migrate more callbacks from cseg usage. 2012-07-29 07:59:51 +01:00
D G Turner e2d6381645 TEENAGENT: Switch Callback ordering to use switch before cseg data.
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-29 06:00:27 +01:00
D G Turner d4591dcfb5 TEENAGENT: Further addition of variable locations used in Callbacks. 2012-07-28 10:57:26 +01:00
D G Turner 955f5b5180 TEENAGENT: Add symbols for functions called by TimerCallback(). 2012-07-28 09:44:16 +01:00
D G Turner 7032dd5a1d TEENAGENT: Symbolise most of remaining addresses in TeenAgent engine.
Also, change address 0 usage to 0x0000 for readability.
2012-07-28 09:05:16 +01:00
D G Turner be4be025b9 TEENAGENT: Add constant values for screen width and height.
It is unlikely these will be changed, but the symbols make the code more
readable.
2012-07-28 07:31:41 +01:00
D G Turner 890b83e3d8 TEENAGENT: Use prexisting defined symbols in Callbacks code. 2012-07-28 06:05:20 +01:00
D G Turner 7bc646f8ca TEENAGENT: Migrated remaining recursive processCallback calls. 2012-07-26 22:35:22 +01:00
D G Turner 07bb1ae7cf TEENAGENT: Add symbols for Mansion intrusion attempt function addresses. 2012-07-26 21:32:39 +01:00
D G Turner cce5d3e30f TEENAGENT: Migrate mansion intrusion callback lookup table to switch. 2012-07-26 10:22:54 +01:00
D G Turner 72adca69f3 TEENAGENT: Migrate most recursive processCallback() calls to functions. 2012-07-26 06:06:44 +01:00
D G Turner 9128f8a8de TEENAGENT: Further recursive processCallback() migration work.
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-26 01:49:46 +01:00
D G Turner ebef5fefea TEENAGENT: Symbol migration associated with recursive processCallback(). 2012-07-26 00:39:05 +01:00
D G Turner 88a1989a79 TEENAGENT: Replace reject message table lookup with explicit values.
Also, this adds explicit offset indexes for indexed message tables
contents.
2012-07-23 04:04:42 +01:00
D G Turner af7fca1a7e TEENAGENT: Split out functions to avoid need for processCallback(). 2012-07-23 00:50:19 +01:00
D G Turner f9d3cb8e28 TEENAGENT: Fix another invalid string offset.
This typo caused an incorrect string output when Mark examines the
car trunk when it is empty.
2012-07-22 22:35:00 +01:00