ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
chunk_ops.h
1 
2 /* ScummVM - Graphic Adventure Engine
3  *
4  * ScummVM is the legal property of its developers, whose names
5  * are too numerous to list here. Please refer to the COPYRIGHT
6  * file distributed with this source distribution.
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 
23 #ifndef M4_ADV_R_CHUNK_OPS_H
24 #define M4_ADV_R_CHUNK_OPS_H
25 
26 #include "m4/m4_types.h"
27 #include "m4/adv_r/conv.h"
28 
29 namespace M4 {
30 
31 #define PPLUS 402
32 #define MINUS 403
33 #define TIMES 404
34 #define PERCENT 405
35 #define POWER 406
36 #define IS_ASSIGNED 407
37 #define PERIOD 410
38 #define DOLLAR 411
39 #define LT 412
40 #define GT 413
41 #define L_BRAK 416
42 #define R_BRAK 417
43 
44 #define DIVIDE 418
45 #define NOT 419
46 
47 #define LE 420
48 #define GE 421
49 #define NE 422
50 #define PE 423
51 #define ME 424
52 #define TE 425
53 #define DE 426
54 #define AE 427
55 #define OE 428
56 #define EQ 429
57 #define AND 430
58 #define OR 431
59 #define TILDA 432
60 #define DBL_QUOTE 433
61 #define ANDAND 444
62 #define OROR 445
63 #define DOT 446
64 #define CNE 448
65 
66 conv_chunk *get_conv(Conv *c, int32 cSize);
67 entry_chunk *get_entry(Conv *c, int32 cSize);
68 char *conv_ops_get_entry(int32 i, int32 *next, int32 *tag, Conv *c);
69 void conv_ops_unknown_chunk(int32 tag, const char *s);
70 decl_chunk *get_decl(Conv *c, int32 cSize);
71 char *get_string(Conv *c, int32 cSize);
72 text_chunk *get_text(Conv *c, int32 cSize);
73 int32 conv_ops_text_strlen(char *s);
74 c_assign_chunk *get_c_asgn(Conv *c, int32 cSize);
75 int conv_ops_cond_successful(int32 l_op, int32 op, int32 r_op);
76 int32 conv_ops_process_asgn(int32 val, int32 oprtr, int32 opnd);
77 assign_chunk *get_asgn(Conv *c, int32 cSize);
78 misc_chunk *get_misc(Conv *c, int32 cSize);
79 entry_chunk *get_hash_entry(Conv *c, int32 cSize);
80 c_misc_chunk *get_c_misc(Conv *c, int32 cSize);
81 c_goto_chunk *get_c_goto(Conv *c, int32 cSize);
82 goto_chunk *get_goto(Conv *c, int32 cSize);
83 reply_chunk *get_reply(Conv *c, int32 cSize);
84 lnode_chunk *get_lnode(Conv *c, int32 cSize);
85 node_chunk *get_node(Conv *c, int32 cSize);
86 fall_chunk *get_fall(Conv *c, int32 cSize);
87 int32 get_long(Conv *c, int32 cSize);
88 c_reply_chunk *get_c_reply(Conv *c, int32 cSize);
89 w_reply_chunk *get_w_reply(Conv *c, int32 cSize);
90 w_entry_chunk *get_w_entry(Conv *c, int32 cSize);
91 
92 } // End of namespace M4
93 
94 #endif
Definition: database.h:28