aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/mpal/mpaldll.h
diff options
context:
space:
mode:
authorStrangerke2012-09-01 00:25:35 +0200
committerStrangerke2012-09-01 00:25:35 +0200
commitf2df769aab10e719cc4fba6cb71e1500eb3acae4 (patch)
tree6e1d574e9fe484639612f350e47f125740fbaf80 /engines/tony/mpal/mpaldll.h
parent7fbfbc8e6b57729e1a5008d256b28b0571f1c3b6 (diff)
downloadscummvm-rg350-f2df769aab10e719cc4fba6cb71e1500eb3acae4.tar.gz
scummvm-rg350-f2df769aab10e719cc4fba6cb71e1500eb3acae4.tar.bz2
scummvm-rg350-f2df769aab10e719cc4fba6cb71e1500eb3acae4.zip
TONY: More renaming
Diffstat (limited to 'engines/tony/mpal/mpaldll.h')
-rw-r--r--engines/tony/mpal/mpaldll.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/tony/mpal/mpaldll.h b/engines/tony/mpal/mpaldll.h
index 853b5b2dac..8897096f51 100644
--- a/engines/tony/mpal/mpaldll.h
+++ b/engines/tony/mpal/mpaldll.h
@@ -82,8 +82,8 @@ typedef MpalVar *LpMpalVar;
* MPAL Messages
*/
struct MpalMsg {
- HGLOBAL _hText; // Handle to the message text
- uint16 _wNum; // Message number
+ MpalHandle _hText; // Handle to the message text
+ uint16 _wNum; // Message number
} PACKED_STRUCT;
typedef MpalMsg *LpMpalMsg;
@@ -110,7 +110,7 @@ struct Command {
* #3 -> Making a choice (DIALOG)
*
*/
- byte _type; // Type of control
+ byte _type; // Type of control
union {
int32 _nCf; // Custom function call [#1]
@@ -120,10 +120,10 @@ struct Command {
union {
int32 _arg1; // Argument for custom function [#1]
- HGLOBAL _expr; // Expression to assign to a variable [#2]
+ MpalHandle _expr; // Expression to assign to a variable [#2]
};
- int32 _arg2, _arg3, _arg4; // Arguments for custom function [#1]
+ int32 _arg2, _arg3, _arg4; // Arguments for custom function [#1]
} PACKED_STRUCT;
@@ -148,7 +148,7 @@ struct MpalDialog {
// The select number (we're pretty stingy with RAM). The last select has dwData == 0
struct {
- HGLOBAL _when;
+ MpalHandle _when;
uint32 _dwData;
uint16 _wPlayGroup[MAX_PLAYGROUPS_PER_SELECT];
@@ -163,7 +163,7 @@ struct MpalDialog {
} _choice[MAX_CHOICES_PER_DIALOG];
uint16 _periodNums[MAX_PERIODS_PER_DIALOG];
- HGLOBAL _periods[MAX_PERIODS_PER_DIALOG];
+ MpalHandle _periods[MAX_PERIODS_PER_DIALOG];
} PACKED_STRUCT;
typedef MpalDialog *LpMpalDialog;
@@ -175,20 +175,20 @@ struct ItemAction {
byte _num; // Action number
uint16 _wTime; // If idle, the time which must pass
byte _perc; // Percentage of the idle run
- HGLOBAL _when; // Expression to compute. If != 0, then
- // action can be done
+ MpalHandle _when; // Expression to compute. If != 0, then
+ // action can be done
uint16 _wParm; // Parameter for action
- byte _nCmds; // Number of commands to be executed
+ byte _nCmds; // Number of commands to be executed
uint32 _cmdNum[MAX_COMMANDS_PER_ACTION]; // Commands to execute
} PACKED_STRUCT;
struct MpalItem {
- uint32 _nObj; // Item number
+ uint32 _nObj; // Item number
byte _lpszDescribe[MAX_DESCRIBE_SIZE]; // Name
- byte _nActions; // Number of managed actions
- uint32 _dwRes; // Resource that contains frames and patterns
+ byte _nActions; // Number of managed actions
+ uint32 _dwRes; // Resource that contains frames and patterns
struct Command _command[MAX_COMMANDS_PER_ITEM];