diff options
author | Simei Yin | 2018-05-31 18:51:42 +0200 |
---|---|---|
committer | Simei Yin | 2018-05-31 23:15:09 +0200 |
commit | 2ab7665e56b303e7d5311b4d88945cd2007bee3e (patch) | |
tree | bc300b4a4871f95eb3118051266b7c8cc6d3b78b /engines/sludge/variable.h | |
parent | 04444b70f97c40fe3893e80d73042b4f11dbfa46 (diff) | |
download | scummvm-rg350-2ab7665e56b303e7d5311b4d88945cd2007bee3e.tar.gz scummvm-rg350-2ab7665e56b303e7d5311b4d88945cd2007bee3e.tar.bz2 scummvm-rg350-2ab7665e56b303e7d5311b4d88945cd2007bee3e.zip |
SLUDGE: Move SetVariable() into struct Variable
Diffstat (limited to 'engines/sludge/variable.h')
-rw-r--r-- | engines/sludge/variable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/variable.h b/engines/sludge/variable.h index 5a750b5a6a..33810514d6 100644 --- a/engines/sludge/variable.h +++ b/engines/sludge/variable.h @@ -75,6 +75,7 @@ struct Variable { } void unlinkVar(); + void setVariable(VariableType vT, int value); }; struct VariableStack { @@ -84,7 +85,6 @@ struct VariableStack { // Setting variables -void setVariable(Variable &thisVar, VariableType vT, int value); bool copyVariable(const Variable &from, Variable &to); bool loadStringToVar(Variable &thisVar, int value); void newAnimationVariable(Variable &thisVar, struct PersonaAnimation *i); |