Overview
Comment: | Ensure that undef_message is set when loading message numbers from the CLASS.DEF lump. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e6ec7babc9dd86caeb3a8e69524b33c8 |
User & Date: | user on 2022-04-26 23:18:42 |
Other Links: | manifest | tags |
Context
2022-04-29
| ||
05:04 | A change to the parsing of strings in a level table definition block. check-in: 80dc8e429b user: user tags: trunk | |
2022-04-26
| ||
23:18 | Ensure that undef_message is set when loading message numbers from the CLASS.DEF lump. check-in: e6ec7babc9 user: user tags: trunk | |
18:27 | Add the Walkable instruction. check-in: 4436b9f0d2 user: user tags: trunk | |
Changes
Modified class.c from [17e9f0f3a2] to [565233454d].
︙ | |||
2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 | 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 | + | i+=2; p=data+i; while(i<size && data[i++]); if(i==size && data[i-1]) fatal("Malformed CLASS.DEF lump\n"); if(messages[n]) fatal("Duplicate message number %d\n",n+256); messages[n]=strdup(p); if(!messages[n]) fatal("Allocation failed\n"); if(n>=undef_message) undef_message=n+1; } free(data); } static void parse_order_block(void) { // OP_MISC1, OP_MISC1_C, etc = properties (_C=reverse) // 0x1000...0x10FF = Have flag |
︙ |