summaryrefslogtreecommitdiff
path: root/saveload.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-11-21 16:54:16 +0000
committerDarkvater <Darkvater@openttd.org>2006-11-21 16:54:16 +0000
commit3445dab1124ed5cc296daf46bd722f5c203032af (patch)
treec1ce3057af274253f84f6418f2d207d69b926f06 /saveload.h
parent92a1daf4f53586730d08662a7ccafba9f06d3b00 (diff)
downloadopenttd-3445dab1124ed5cc296daf46bd722f5c203032af.tar.xz
(svn r7228) -Codechange: [internal] Add the possibility to save/load string-pointers which do not
have a pre-allocated buffer.
Diffstat (limited to 'saveload.h')
-rw-r--r--saveload.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/saveload.h b/saveload.h
index bdd2de489..3a0a59010 100644
--- a/saveload.h
+++ b/saveload.h
@@ -100,10 +100,10 @@ enum VarTypes {
SLE_VAR_I64 = 7 << 4,
SLE_VAR_U64 = 8 << 4,
SLE_VAR_NULL = 9 << 4, ///< useful to write zeros in savegame.
- SLE_VAR_STRB = 10 << 4, ///< normal string (with pre-allocated buffer)
+ SLE_VAR_STRB = 10 << 4, ///< string (with pre-allocated buffer)
SLE_VAR_STRBQ = 11 << 4, ///< string enclosed in quotes (with pre-allocated buffer)
SLE_VAR_STR = 12 << 4, ///< string pointer
- SLE_VAR_STRQ = 13 << 4, ///< string enclosed in quotes
+ SLE_VAR_STRQ = 13 << 4, ///< string pointer enclosed in quotes
/* 2 more possible memory-primitives */
/* Shortcut values */