2017-12-05 15:03:20 +01:00
|
|
|
#ifndef DEFINES_H_
|
|
|
|
#define DEFINES_H_
|
|
|
|
|
2017-12-19 21:00:02 +01:00
|
|
|
#include "config.h"
|
2017-12-19 19:42:05 +01:00
|
|
|
|
2017-12-05 15:03:20 +01:00
|
|
|
/* Room/Map dimensions */
|
|
|
|
#define MAP_ROOM_WIDTH 16
|
2017-12-10 23:49:15 +01:00
|
|
|
#define MAP_ROOM_HEIGHT 12
|
2017-12-05 15:03:20 +01:00
|
|
|
|
|
|
|
#define MAP_V_ROOM_COUNT 10
|
|
|
|
#define MAP_H_ROOM_COUNT 10
|
|
|
|
|
2017-12-10 23:49:15 +01:00
|
|
|
#define TILE_DIMENSION 32
|
|
|
|
|
|
|
|
/* Display stuff */
|
|
|
|
#define SCREEN_WIDTH MAP_ROOM_WIDTH * TILE_DIMENSION
|
|
|
|
#define SCREEN_HEIGHT MAP_ROOM_HEIGHT * TILE_DIMENSION
|
2017-12-05 15:03:20 +01:00
|
|
|
|
2017-12-19 21:00:02 +01:00
|
|
|
/* Windows and compile crap */
|
|
|
|
#ifdef _WIN32
|
|
|
|
#define strdup _strdup
|
|
|
|
#endif // _WIN32
|
|
|
|
|
|
|
|
#define UNUSED(x) (void)(x)
|
|
|
|
|
2017-12-05 15:03:20 +01:00
|
|
|
#endif // DEFINES_H_
|