]> git.lizzy.rs Git - dragonblocks-bedrock.git/blob - src/game.h
Add files via upload
[dragonblocks-bedrock.git] / src / game.h
1 #ifndef _GAME_H_
2 #define _GAME_H_
3 #include <string>
4 #include <cstdio>
5
6 #include "map.h"
7 #include "inventory.h"
8
9 #define WARNING 1
10 #define ERROR 2
11 #define INFO -1
12 #define EASTEREGG 17
13 #define LOG 0
14
15 #define VERSION "3.0"
16
17 #define BLACK 0
18 #define RED 1
19 #define GREEN 2
20 #define ORANGE 3
21 #define BLUE 4
22 #define VIOLET 5
23 #define LIGHTBLUE 6
24 #define GREY 7
25
26 class Game{
27         public:
28                 static int *argc;
29                 static char **argv;
30                 static int seed;
31                 static std::string mapfile;
32                 static std::string logfile;
33                 static FILE *logfile_fd;
34                 static Map *map;
35                 static void log(std::string);
36                 static void log(std::string, int);
37                 static void help();
38                 static void version();
39                 static void worldlist();
40                 static Inventory *inventory;
41 };
42
43 #endif