diff options
author | Simei Yin | 2017-07-20 10:39:24 +0200 |
---|---|---|
committer | Simei Yin | 2017-07-20 19:10:01 +0200 |
commit | caa51ef49af5f6e92169a2f8095c08325823cb44 (patch) | |
tree | 9e2b060bf7d325d84a9b212416b36916ceaad277 /engines/sludge/sludger.h | |
parent | 9752d7bb43f41106147e7a39e0381fae51443c94 (diff) | |
download | scummvm-rg350-caa51ef49af5f6e92169a2f8095c08325823cb44.tar.gz scummvm-rg350-caa51ef49af5f6e92169a2f8095c08325823cb44.tar.bz2 scummvm-rg350-caa51ef49af5f6e92169a2f8095c08325823cb44.zip |
SLUDGE: Change all structure names to Uppercase
Diffstat (limited to 'engines/sludge/sludger.h')
-rw-r--r-- | engines/sludge/sludger.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/engines/sludge/sludger.h b/engines/sludge/sludger.h index fe5d9b85e6..fe00cc6300 100644 --- a/engines/sludge/sludger.h +++ b/engines/sludge/sludger.h @@ -36,10 +36,10 @@ typedef struct _FILETIME { uint32 dwHighDateTime; } FILETIME; -struct variable; -struct variableStack; +struct Variable; +struct VariableStack; -struct eventHandlers { +struct EventHandlers { int leftMouseFunction; int leftMouseUpFunction; int rightMouseFunction; @@ -49,26 +49,26 @@ struct eventHandlers { int spaceFunction; }; -struct lineOfCode { +struct LineOfCode { sludgeCommand theCommand; int32 param; }; -struct loadedFunction { +struct LoadedFunction { int originalNumber; - lineOfCode *compiledLines; + LineOfCode *compiledLines; int numLocals, timeLeft, numArgs; - variable *localVars; - variableStack *stack; - variable reg; + Variable *localVars; + VariableStack *stack; + Variable reg; uint runThisLine; - loadedFunction *calledBy; - loadedFunction *next; + LoadedFunction *calledBy; + LoadedFunction *next; bool returnSomething, isSpeech, unfreezable, cancelMe; byte freezerLevel; }; -struct inputType { +struct InputType { bool leftClick, rightClick, justMoved, leftRelease, rightRelease; int mouseX, mouseY, keyPressed; }; @@ -76,22 +76,22 @@ struct inputType { bool initSludge(const Common::String &); void displayBase(); void sludgeDisplay(); -int startNewFunctionNum(uint, uint, loadedFunction *, variableStack*&, bool = true); +int startNewFunctionNum(uint, uint, LoadedFunction *, VariableStack*&, bool = true); bool handleInput(); -void restartFunction(loadedFunction *fun); -bool loadFunctionCode(loadedFunction *newFunc); +void restartFunction(LoadedFunction *fun); +bool loadFunctionCode(LoadedFunction *newFunc); void loadHandlers(Common::SeekableReadStream *stream); void saveHandlers(Common::WriteStream *stream); -void finishFunction(loadedFunction *fun); -void abortFunction(loadedFunction *fun); +void finishFunction(LoadedFunction *fun); +void abortFunction(LoadedFunction *fun); Common::File *openAndVerify(const Common::String &filename, char extra1, char extra2, const char *er, int &fileVersion); void freezeSubs(); void unfreezeSubs(); void completeTimers(); void killSpeechTimers(); -int cancelAFunction(int funcNum, loadedFunction *myself, bool &killedMyself); +int cancelAFunction(int funcNum, LoadedFunction *myself, bool &killedMyself); } // End of namespace Sludge |