D G Turner
5859d0fab1
TEENAGENT: Add symbols for idle animation table usage in Actor class.
2012-07-27 08:27:13 +01:00
D G Turner
b19c164f1a
TEENAGENT: Add symbols for object callback tables in Inventory class.
...
Also, removed one ptr usage, replacing with direct get_byte / get_word
accesses.
2012-07-27 06:46:34 +01:00
D G Turner
7dce94c70b
TEENAGENT: Add symbols in Inventory class for various sizes.
2012-07-27 05:48:48 +01:00
D G Turner
f856a0a746
TEENAGENT: Add dsAddr symbols for Inventory. Minor fix to logic.
...
The start address for the inventory item pointer data table was
incorrect and has been corrected.
2012-07-27 03:49:15 +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
f137c75e46
TEENAGENT: Migrate deinit functions to constructor/destructors.
...
This removes a number of memory leaks.
2012-07-26 09:18:57 +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
D G Turner
c373ed4ea4
TEENAGENT: Symbol migration associated with remaning display*Message().
...
Have also corrected typo in offset i.e. 0x39b7 was incorrect, it appears
that 0x3ab7 was intended.
2012-07-22 04:55:46 +01:00
D G Turner
7c0b3e0167
TEENAGENT: Improve readability of displayMessage() calls.
2012-07-18 03:29:52 +01:00
D G Turner
567ca1e506
TEENAGENT: Improve readability of displayAsyncMessage() calls.
2012-07-18 02:55:38 +01:00
D G Turner
7f4ba475fe
TEENAGENT: Symbol migration associated with displayCutsceneMessage().
2012-07-17 17:09:13 +01:00
D G Turner
320f1e3059
TEENAGENT: Improve readability of displayCutsceneMessage() calls.
2012-07-17 14:15:47 +01:00
D G Turner
e181e3d499
TEENAGENT: Add symbol for Mansion attempt counter.
2012-07-17 03:10:38 +01:00
D G Turner
91b13b30b3
TEENAGENT: Symbol migration associated with displayCredits().
2012-07-17 02:21:40 +01:00
D G Turner
5563abae6d
TEENAGENT: Further symbol migration for processCallback() usage.
2012-07-17 00:04:27 +01:00
D G Turner
d7dcbb2c2d
TEENAGENT: Further symbol migration associated with saveStates.
2012-07-16 15:09:34 +01:00
D G Turner
28c3aa3024
TEENAGENT: Migrate two more dseg regions to symbolic addresses.
2012-07-16 14:06:27 +01:00
D G Turner
dad5258c79
TEENAGENT: Update refactoring notes.
...
These notes were accidently committed, but may be relevant, so will
retain this (rather than filtering branch).
2012-07-16 12:25:28 +01:00
D G Turner
e73dffa57c
Merge branch 'master' into teenagentRefactor
...
Conflicts:
engines/teenagent/resources.cpp
2012-07-16 01:24:40 +01:00
Filippos Karapetis
a97f4466fd
TEENAGENT: Add translatable strings in resources.cpp
2012-07-15 03:07:01 +03:00
Filippos Karapetis
f4e395b4a1
TEENAGENT: Show a verbose warning when a compressed data file is used and zlib hasn't been included in the executable
2012-07-15 02:47:06 +03:00
Filippos Karapetis
c54f95ee86
TEENAGENT: Readd the zlib code, to maintain backwards compatibility
2012-07-15 02:27:51 +03:00
Filippos Karapetis
13a5e5812a
TEENAGENT: Unpack teenagent.dat and remove the engine's zlib dependency
...
This addresses bug #3539822 - "TEENAGENT: Not working without zlib"
2012-07-15 02:14:37 +03:00
D G Turner
9669b73ca8
TEENAGENT: Add symbols for savestate region.
2012-07-13 10:14:38 +01:00
D G Turner
85cf79a57f
TEENAGENT: Minor formatting fixes for consistency.
...
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-12 21:03:47 +01:00
D G Turner
8dcc426911
TEENAGENT: Replace most of early return calls in processCallbacks().
...
This results in a cleaner and simpler function, prior to any further
refactoring.
2012-07-12 00:01:26 +01:00
D G Turner
53a7e522ea
TEENAGENT: Start replacing hardcoded addresses with symbols.
2012-07-11 19:28:36 +01:00
D G Turner
923c05faf5
TEENAGENT: Migrate Dialog functions to using dialog numbers.
...
This removes the hardcoded address/offsets from the callback functions.
2012-07-11 18:21:46 +01:00
D G Turner
cffff61081
TEENAGENT: Replace static Dialog functions with normal class.
...
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-11 14:34:09 +01:00
D G Turner
c05dfddec3
TEENAGENT: Add Resource code to precompute Dialog Offsets.
...
This should allow the removal of most/all of the hardcoded eseg
addresses in the Dialog calls.
2012-07-11 13:03:32 +01:00
D G Turner
aec83e015c
TEENAGENT: Replaced non-const static variable in Scene class.
...
This could cause glitches with Return To Launcher and thus should be
avoided. Replaced with a private member variable on the class.
2012-07-08 01:08:15 +01:00
D G Turner
0e6ba29ede
TEENAGENT: Migrate engine to using debugflags.
...
This required some restructuring of the header dependencies.
2012-07-08 00:36:05 +01:00
D G Turner
62c4c09225
TEENAGENT: Enable commented out debug statements.
...
Commented out code is not good practice. Will change these statements
to using debugflags instead in a future commit.
2012-07-07 17:04:42 +01:00
D G Turner
a77a81da51
TEENAGENT: Remove unecessary passing of OSystem to scene Class.
...
This can be accessed via the engine's _system variable instead.
2012-07-07 14:42:26 +01:00
D G Turner
d7b3ca02fe
TEENAGENT: Migrate to using ConfMan singleton.
2012-07-07 14:04:11 +01:00
D G Turner
313502e2ee
TEENAGENT: Remove static Resources class Instance.
...
This is replaced by an engine instance. This should prevent issues
with Return To Launcher and may remove issues with file handles.
2012-07-07 13:46:28 +01:00
D G Turner
91d6db93f0
TEENAGENT: Add symbols for Segment sizes.
2012-07-05 11:43:49 +01:00
D G Turner
3526f6760d
TEENAGENT: Removed unused quad functions from Segment class.
2012-07-05 11:40:02 +01:00
D G Turner
efb1d96d98
TEENAGENT: Fix erroneous files in savegame listing.
...
This was achieved by making the detection pattern stricter to avoid
matching the dat file or other extraneous files in the savegame path.
This fixes bug #3539774 "TEENAGENT : teenagent.dat considered as a
savegame".
Also did some minor formatting and string function usage cleanup.
2012-07-04 02:13:40 +01:00
Johannes Schickel
72e1e5a31c
TEENAGENT: Slight cleanup in querySaveMetaInfos.
2012-07-03 18:39:50 +02:00
Johannes Schickel
f3c66a191f
TEENAGENT: Get rid of casts on OSystem::copyRectToScreen calls.
2012-06-16 02:39:00 +02:00
Christoph Mallon
e578cb8976
ALL: Remove unnecessary forward declarations.
2011-11-21 15:59:19 +01:00
Strangerke
bab4b6f729
LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)
2011-11-16 22:38:58 +01:00