From d34152b488025411c7c6a0d627bc2408eafe2196 Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Fri, 4 Jan 2019 16:04:20 -0500 Subject: [PATCH] Worlds now hold information about their growing plants --- src/inc/world.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/inc/world.hpp b/src/inc/world.hpp index 1a3ff2a..304c68f 100644 --- a/src/inc/world.hpp +++ b/src/inc/world.hpp @@ -1,4 +1,5 @@ #include +#include // A world struct holds information about a world's dimensions and block data. // It makes it easy and efficient to modify and read the properties of every @@ -12,6 +13,10 @@ struct world unsigned int y_res; unsigned int z_res; + // A list of plants that are growing. + + std::vector growing_plants; + // Get the voxel at the specified coordinates. inline voxel get(unsigned int x, unsigned int y, unsigned int z)