aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/entity.h
diff options
context:
space:
mode:
authorLittleboy2012-07-15 19:25:16 -0400
committerLittleboy2012-07-16 23:51:27 -0400
commit132dd5b4bc236f805babe0187797ef03bbb16310 (patch)
tree927651fd035f328cdcd0f94a4a7893d7864a2019 /engines/lastexpress/entities/entity.h
parentd4f7c0232380b94b42d280c3680e473cd0c2d9b5 (diff)
downloadscummvm-rg350-132dd5b4bc236f805babe0187797ef03bbb16310.tar.gz
scummvm-rg350-132dd5b4bc236f805babe0187797ef03bbb16310.tar.bz2
scummvm-rg350-132dd5b4bc236f805babe0187797ef03bbb16310.zip
LASTEXPRESS: Replace SYNC_STRING macro by function
Diffstat (limited to 'engines/lastexpress/entities/entity.h')
-rw-r--r--engines/lastexpress/entities/entity.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/lastexpress/entities/entity.h b/engines/lastexpress/entities/entity.h
index bb2b96618e..4dca5424b1 100644
--- a/engines/lastexpress/entities/entity.h
+++ b/engines/lastexpress/entities/entity.h
@@ -596,6 +596,15 @@ public:
return str;
}
+ /**
+ * Synchronizes a string.
+ *
+ * @param s The Common::Serializer to use.
+ * @param string The string.
+ * @param length Length of the string.
+ */
+ void syncString(Common::Serializer &s, Common::String &string, int length);
+
// Serializable
void saveLoadWithSerializer(Common::Serializer &s);
};