diff options
author | Paul Gilbert | 2019-07-01 20:56:55 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-07-06 15:27:09 -0700 |
commit | 5dea66231397c52afc7d2cdeae5989fd5edd0604 (patch) | |
tree | 6cd65d939d4051f0d0bade793f4598485547ad47 /engines/glk/alan3/alt_info.h | |
parent | 18566feefcb9f4fa4d7395ffa6e6f2a6f0247d0e (diff) | |
download | scummvm-rg350-5dea66231397c52afc7d2cdeae5989fd5edd0604.tar.gz scummvm-rg350-5dea66231397c52afc7d2cdeae5989fd5edd0604.tar.bz2 scummvm-rg350-5dea66231397c52afc7d2cdeae5989fd5edd0604.zip |
GLK: ALAN3: Wrapping method calls in longjmp replacement macros
Diffstat (limited to 'engines/glk/alan3/alt_info.h')
-rw-r--r-- | engines/glk/alan3/alt_info.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/glk/alan3/alt_info.h b/engines/glk/alan3/alt_info.h index 2a7dd0c2f9..a46d16b933 100644 --- a/engines/glk/alan3/alt_info.h +++ b/engines/glk/alan3/alt_info.h @@ -27,6 +27,7 @@ #include "glk/alan3/types.h" #include "glk/alan3/acode.h" +#include "glk/alan3/jumps.h" #include "glk/alan3/params.h" #include "glk/alan3/parameter_position.h" @@ -72,14 +73,14 @@ typedef AltInfo AltInfoArray[]; /* Functions */ extern void primeAltInfo(AltInfo *altInfo, int level, int parameter, int instance, int cls); -extern bool executedOk(AltInfo *altInfo); -extern bool checkFailed(AltInfo *altInfo, bool execute); +extern bool executedOk(CONTEXT, AltInfo *altInfo); +extern bool checkFailed(CONTEXT, AltInfo *altInfo, bool execute); extern bool canBeExecuted(AltInfo *altInfo); extern AltInfo *duplicateAltInfoArray(AltInfoArray altInfos); extern int lastAltInfoIndex(AltInfoArray altInfos); -extern bool anyCheckFailed(AltInfoArray altInfos, bool execute); +extern bool anyCheckFailed(CONTEXT, AltInfoArray altInfos, bool execute); extern bool anythingToExecute(AltInfoArray altInfos); -extern bool possible(int verb, Parameter parameters[], ParameterPosition parameterPositions[]); +extern bool possible(CONTEXT, int verb, Parameter parameters[], ParameterPosition parameterPositions[]); extern AltInfo *findAllAlternatives(int verb, Parameter parameters[]); } // End of namespace Alan3 |