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