diff options
author | Torbjörn Andersson | 2008-04-20 15:36:40 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2008-04-20 15:36:40 +0000 |
commit | 7e07dd5ec720905e09c5aac37a80941c6053e132 (patch) | |
tree | c547330503a3d8de2b15c596a406fd11485fd0ae /engines/made/script.h | |
parent | 84a7cd33876eabfcc1fedd0b126f77039647edaf (diff) | |
download | scummvm-rg350-7e07dd5ec720905e09c5aac37a80941c6053e132.tar.gz scummvm-rg350-7e07dd5ec720905e09c5aac37a80941c6053e132.tar.bz2 scummvm-rg350-7e07dd5ec720905e09c5aac37a80941c6053e132.zip |
Changed spaces to tabs.
svn-id: r31610
Diffstat (limited to 'engines/made/script.h')
-rw-r--r-- | engines/made/script.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/engines/made/script.h b/engines/made/script.h index 5831d3edd2..6c031f8708 100644 --- a/engines/made/script.h +++ b/engines/made/script.h @@ -40,19 +40,19 @@ const int kScriptStackLimit = kScriptStackSize + 1; class ScriptStack { public: - ScriptStack(); - ~ScriptStack(); - int16 top(); - int16 pop(); - void push(int16 value = 0); - void setTop(int16 value); - int16 peek(int16 index); - void poke(int16 index, int16 value); - void alloc(int16 count); - void free(int16 count); - int16 getStackPos() const { return _stackPos; } - void setStackPos(int16 stackPtr); - int16 *getStackPtr(); + ScriptStack(); + ~ScriptStack(); + int16 top(); + int16 pop(); + void push(int16 value = 0); + void setTop(int16 value); + int16 peek(int16 index); + void poke(int16 index, int16 value); + void alloc(int16 count); + void free(int16 count); + int16 getStackPos() const { return _stackPos; } + void setStackPos(int16 stackPtr); + int16 *getStackPtr(); protected: int16 _stack[kScriptStackSize]; int16 _stackPos; @@ -60,11 +60,11 @@ protected: class ScriptInterpreter { public: - ScriptInterpreter(MadeEngine *vm); - ~ScriptInterpreter(); - void runScript(int16 scriptObjectIndex); + ScriptInterpreter(MadeEngine *vm); + ~ScriptInterpreter(); + void runScript(int16 scriptObjectIndex); protected: - MadeEngine *_vm; + MadeEngine *_vm; ScriptStack _stack; int16 _localStackPos; @@ -72,7 +72,7 @@ protected: byte *_codeBase, *_codeIp; bool _terminated; - ScriptFunctions *_functions; + ScriptFunctions *_functions; byte readByte(); int16 readInt16(); |