Introduced Content, ContentIndices, no more integer ids hardcoded, common refactor
This commit is contained in:
+2
-17
@@ -4,25 +4,10 @@
|
||||
#include <iostream>
|
||||
#include "core_defs.h"
|
||||
|
||||
#define BLOCK_DIRT 1
|
||||
#define BLOCK_GRASS_BLOCK 2
|
||||
#define BLOCK_LAMP 3
|
||||
#define BLOCK_GLASS 4
|
||||
#define BLOCK_PLANKS 5
|
||||
#define BLOCK_WOOD 6
|
||||
#define BLOCK_LEAVES 7
|
||||
#define BLOCK_STONE 8
|
||||
#define BLOCK_WATER 9
|
||||
#define BLOCK_SAND 10
|
||||
#define BLOCK_BEDROCK 11
|
||||
#define BLOCK_GRASS 12
|
||||
#define BLOCK_FLOWER 13
|
||||
#define BLOCK_BRICK 14
|
||||
#define BLOCK_METAL 15
|
||||
#define BLOCK_RUST 16
|
||||
class ContentBuilder;
|
||||
|
||||
extern void setup_bindings();
|
||||
extern void setup_definitions();
|
||||
extern void setup_definitions(ContentBuilder* builder);
|
||||
|
||||
#endif // DECLARATIONS_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user