Implemented accessor headers

This commit is contained in:
CobaltXII
2018-12-30 14:21:18 -05:00
parent 941d871acf
commit 0750d82cb1
2 changed files with 16 additions and 0 deletions

0
src/inc/accessor.cpp Normal file
View File

16
src/inc/accessor.hpp Normal file
View File

@@ -0,0 +1,16 @@
// An accessor struct acts as a middleman between common code and world
// objects. It's job is to queue up all the changes made to a world, and
// then regenerate all required resources with a single function call.
struct accessor
{
world* the_world;
chunk** the_chunks;
unsigned int chunk_x_res;
unsigned int chunk_y_res;
unsigned int chunk_z_res;
unsigned int chunk_count;
};