ScummVM API documentation
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
29namespace 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
66conv_chunk *get_conv(Conv *c, int32 cSize);
67entry_chunk *get_entry(Conv *c, int32 cSize);
68char *conv_ops_get_entry(int32 i, int32 *next, int32 *tag, Conv *c);
69void conv_ops_unknown_chunk(int32 tag, const char *s);
70decl_chunk *get_decl(Conv *c, int32 cSize);
71char *get_string(Conv *c, int32 cSize);
72text_chunk *get_text(Conv *c, int32 cSize);
73int32 conv_ops_text_strlen(char *s);
74c_assign_chunk *get_c_asgn(Conv *c, int32 cSize);
75int conv_ops_cond_successful(int32 l_op, int32 op, int32 r_op);
76int32 conv_ops_process_asgn(int32 val, int32 oprtr, int32 opnd);
77assign_chunk *get_asgn(Conv *c, int32 cSize);
78misc_chunk *get_misc(Conv *c, int32 cSize);
79entry_chunk *get_hash_entry(Conv *c, int32 cSize);
80c_misc_chunk *get_c_misc(Conv *c, int32 cSize);
81c_goto_chunk *get_c_goto(Conv *c, int32 cSize);
82goto_chunk *get_goto(Conv *c, int32 cSize);
83reply_chunk *get_reply(Conv *c, int32 cSize);
84lnode_chunk *get_lnode(Conv *c, int32 cSize);
85node_chunk *get_node(Conv *c, int32 cSize);
86fall_chunk *get_fall(Conv *c, int32 cSize);
87int32 get_long(Conv *c, int32 cSize);
88c_reply_chunk *get_c_reply(Conv *c, int32 cSize);
89w_reply_chunk *get_w_reply(Conv *c, int32 cSize);
90w_entry_chunk *get_w_entry(Conv *c, int32 cSize);
91
92} // End of namespace M4
93
94#endif
Definition: database.h:28