equal
deleted
inserted
replaced
115 SLE_VAR_NULL = 9 << 4, ///< useful to write zeros in savegame. |
115 SLE_VAR_NULL = 9 << 4, ///< useful to write zeros in savegame. |
116 SLE_VAR_STRB = 10 << 4, ///< string (with pre-allocated buffer) |
116 SLE_VAR_STRB = 10 << 4, ///< string (with pre-allocated buffer) |
117 SLE_VAR_STRBQ = 11 << 4, ///< string enclosed in quotes (with pre-allocated buffer) |
117 SLE_VAR_STRBQ = 11 << 4, ///< string enclosed in quotes (with pre-allocated buffer) |
118 SLE_VAR_STR = 12 << 4, ///< string pointer |
118 SLE_VAR_STR = 12 << 4, ///< string pointer |
119 SLE_VAR_STRQ = 13 << 4, ///< string pointer enclosed in quotes |
119 SLE_VAR_STRQ = 13 << 4, ///< string pointer enclosed in quotes |
|
120 SLE_VAR_NAME = 14 << 4, ///< old custom name to be converted to a char pointer |
120 /* 2 more possible memory-primitives */ |
121 /* 2 more possible memory-primitives */ |
121 |
122 |
122 /* Shortcut values */ |
123 /* Shortcut values */ |
123 SLE_VAR_CHAR = SLE_VAR_I8, |
124 SLE_VAR_CHAR = SLE_VAR_I8, |
124 |
125 |
138 SLE_STRINGID = SLE_FILE_STRINGID | SLE_VAR_U16, |
139 SLE_STRINGID = SLE_FILE_STRINGID | SLE_VAR_U16, |
139 SLE_STRINGBUF = SLE_FILE_STRING | SLE_VAR_STRB, |
140 SLE_STRINGBUF = SLE_FILE_STRING | SLE_VAR_STRB, |
140 SLE_STRINGBQUOTE = SLE_FILE_STRING | SLE_VAR_STRBQ, |
141 SLE_STRINGBQUOTE = SLE_FILE_STRING | SLE_VAR_STRBQ, |
141 SLE_STRING = SLE_FILE_STRING | SLE_VAR_STR, |
142 SLE_STRING = SLE_FILE_STRING | SLE_VAR_STR, |
142 SLE_STRINGQUOTE = SLE_FILE_STRING | SLE_VAR_STRQ, |
143 SLE_STRINGQUOTE = SLE_FILE_STRING | SLE_VAR_STRQ, |
|
144 SLE_NAME = SLE_FILE_STRINGID | SLE_VAR_NAME, |
143 |
145 |
144 /* Shortcut values */ |
146 /* Shortcut values */ |
145 SLE_UINT = SLE_UINT32, |
147 SLE_UINT = SLE_UINT32, |
146 SLE_INT = SLE_INT32, |
148 SLE_INT = SLE_INT32, |
147 SLE_STRB = SLE_STRINGBUF, |
149 SLE_STRB = SLE_STRINGBUF, |