ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lundump.h
1 /*
2 ** load pre-compiled Lua chunks
3 ** See Copyright Notice in lua.h
4 */
5 
6 #ifndef GRIM_LUNDUMP_H
7 #define GRIM_LUNDUMP_H
8 
9 #include "engines/grim/lua/lobject.h"
10 #include "engines/grim/lua/lzio.h"
11 
12 namespace Grim {
13 
14 #define ID_CHUNK 27 // ESC
15 #define ID_FUNCTION '#'
16 #define ID_END '$'
17 #define ID_NUM 'N'
18 #define ID_STR 'S'
19 #define ID_FUN 'F'
20 #define SIGNATURE "Lua"
21 #define VERSION 0x31 // last format change was in 3.1
22 #define TEST_FLOAT 0.123456789e-23 // a float for testing representation
23 
24 #define IsMain(f) (f->lineDefined == 0)
25 
26 TProtoFunc *luaU_undump1(ZIO *Z); // load one chunk
27 
28 } // end of namespace Grim
29 
30 #endif
31 
32 
Definition: actor.h:33
Definition: lzio.h:56