From caa51ef49af5f6e92169a2f8095c08325823cb44 Mon Sep 17 00:00:00 2001 From: Simei Yin Date: Thu, 20 Jul 2017 10:39:24 +0200 Subject: SLUDGE: Change all structure names to Uppercase --- engines/sludge/savedata.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/sludge/savedata.cpp') 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); -- cgit v1.2.3