diff options
Diffstat (limited to 'engines/sludge/savedata.cpp')
-rw-r--r-- | engines/sludge/savedata.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sludge/savedata.cpp b/engines/sludge/savedata.cpp index 280d2dcbfe..9b75e137f3 100644 --- a/engines/sludge/savedata.cpp +++ b/engines/sludge/savedata.cpp @@ -94,9 +94,9 @@ char *readTextPlain(Common::File *fp) { return reply; } -bool fileToStack(const Common::String &filename, stackHandler *sH) { +bool fileToStack(const Common::String &filename, StackHandler *sH) { - variable stringVar; + Variable stringVar; stringVar.varType = SVT_NULL; Common::String checker = saveEncoding ? "[Custom data (encoded)]\r\n" : "[Custom data (ASCII)]\n"; @@ -193,12 +193,12 @@ bool fileToStack(const Common::String &filename, stackHandler *sH) { return true; } -bool stackToFile(const Common::String &filename, const variable &from) { +bool stackToFile(const Common::String &filename, const Variable &from) { #if 0 FILE *fp = fopen(filename, saveEncoding ? "wb" : "wt"); if (!fp) return fatal("Can't create file", filename); - variableStack *hereWeAre = from.varData.theStack -> first; + VariableStack *hereWeAre = from.varData.theStack -> first; encode1 = (byte)saveEncoding & 255; encode2 = (byte)(saveEncoding >> 8); |