Matthew Hoops
0031c41db8
COMMON: Change kPlatformPC to kPlatformDOS
...
"PC" was very ambiguous and now it matches what we show in the GUI.
This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
D G Turner
80af0e2394
TEENAGENT: Convert Dialog text color symbols to an enum.
2012-10-10 14:43:19 +01:00
D G Turner
115593a6c1
TEENAGENT: Convert Inventory item ids to an enum.
2012-10-10 14:42:21 +01: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
30dfaa7c34
TEENAGENT: Cleanup TeenagentEngine class.
...
This removes the underscores in various variables as per project
coding standard.
2012-09-26 02:15:25 +01:00
D G Turner
5d1143a9e0
TEENAGENT: Cleanup Surface class.
...
This removes the underscores in various variables as per project coding
standard.
2012-09-24 16:10:06 +01:00
D G Turner
e33f2779c6
TEENAGENT: Cleanup Scene class.
...
This removes the underscores in various variables as per project
coding standard.
2012-09-24 06:05:49 +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
86475a0b06
TEENAGENT: Further cleanup for Font class.
2012-09-24 01:22:08 +01:00
D G Turner
0903351974
TEENAGENT: Cleanup Font class.
...
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-23 18:53:22 +01:00
D G Turner
82e9011d24
TEENAGENT: Cleanup Inventory class.
...
This removes the underscores in various variables as per project coding
standard.
2012-09-23 18:12:34 +01:00
D G Turner
fba9c88ea7
TEENAGENT: Minor cleanups to Animation Class.
...
Renaming to remove underscores in member variables and minor method
reordering for readability.
2012-09-16 10:45:41 +01:00
D G Turner
d501c4d4ae
TEENAGENT: Cleanup Actor class.
...
This fixes a mismatched function prototype wrt. the definition and
removes the underscores in various variables as per project coding
standard.
2012-09-13 15:53:18 +01:00
D G Turner
b7b2a4ee88
TEENAGENT: Clean up SurfaceList Class.
...
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-13 10:55:10 +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
75e121806d
TEENAGENT: Ensure MusicPlayer is stopped on destruction.
2012-08-02 13:01:37 +01:00
D G Turner
95ba78c27d
TEENAGENT: Fix for bug #3428161 "PSP: No music in TeenAgent".
...
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-02 13:00:28 +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
e11e72d5a7
TEENAGENT: Replace two missed inventory item ids with symbols.
2012-08-01 07:00:29 +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
6949b30146
TEENAGENT: Fix likely cut-and-paste error in Message positioning code.
2012-07-31 14:54:48 +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
b0b99cead0
TEENAGENT: Align some variable names with coding conventions.
2012-07-28 08:27:56 +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