From 001cbb9141ecd8e1f3f6f63b4c5765cb87eff4a2 Mon Sep 17 00:00:00 2001 From: tylermurphy534 Date: Wed, 28 Sep 2022 22:55:07 -0400 Subject: cooler chunk generation --- src/chunk.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/chunk.hpp') diff --git a/src/chunk.hpp b/src/chunk.hpp index 734c07b..8d1f03c 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -13,15 +13,27 @@ #include #include #include +#include #define INVALID -1 #define AIR 0 #define DIRT 1 #define GRASS 2 +#define GREEN 3 +#define STONE 4 +#define SNOW 5 +#define SAND 6 +#define WATER 7 #define DIRT_TEXTURE "res/image/dirt.png" #define GRASS_TEXTURE "res/image/grass.png" #define GRASS_TOP_TEXTURE "res/image/grass_top.png" +#define STONE_TEXTURE "res/image/stone.png" +#define SNOW_TEXTURE "res/image/snow.png" +#define SAND_TEXTURE "res/image/sand.png" +#define WATER_TEXTURE "res/image/water.png" + +static constexpr int WATER_LEVEL = 20; namespace app { -- cgit v1.2.3-freya