32 lines
482 B
C
32 lines
482 B
C
#ifndef WALL_H
|
|
#define WALL_H
|
|
/* move MATERIALs to materials.h */
|
|
#define MATERIAL_STONE 0
|
|
#define MATERIAL_WOOD 1
|
|
#define MATERIAL_STEEL 2
|
|
//#define WALL_NONE 0
|
|
#define WALL_STONE 0
|
|
#define WALL_WOOD 1
|
|
#define WALL_STEEL 2
|
|
|
|
#define STONE 0
|
|
#define WOOD 1
|
|
#define STEEL 2
|
|
|
|
typedef struct {
|
|
int collision;
|
|
char name[16];
|
|
} WallTile;
|
|
|
|
typedef struct {
|
|
int collision;
|
|
char name[16];
|
|
char durability;
|
|
} FloorTile;
|
|
|
|
extern WallTile walls[];
|
|
|
|
extern FloorTile floors[];
|
|
|
|
#endif
|