summaryrefslogtreecommitdiff
path: root/src/include/parser.h
blob: 94647ac5ba51b1aea29fc26507a2b02092508fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef PARSER_H
#define PARSER_H

#include "data_ini.h"

#define OUT_OF_BOUNDS "out of bounds"
#define CANNOT_BE_NEGATIVE "cannot be negative"
#define BAD_VALUE "bad value"

#define MAX_OBJECT_TYPES 32
#define MAX_OBJECT_FRAMES 64
#define MAX_OBJECTS_COUNT 256
#define MAX_TERRAINS_COUNT 1024
#define MAX_STEELS_COUNT 256
#define MAX_LEMMTYPES_COUNT 256
#define MAX_SOUNDS_COUNT 32
#define MAX_NUMLEMMINGS 100
#define STEEL_MAX_WIDTH 256
#define STEEL_MAX_HEIGHT 256

int parse(gameIni_t *gIni);

#endif /*PARSER_H*/