From 6241707a788269e09adb957c659397750d19fda3 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Mon, 29 Feb 2016 08:31:49 -0500 Subject: world rewrite -- fixed all world stuffs --- include/world.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/world.h b/include/world.h index f60c181..05b2a10 100644 --- a/include/world.h +++ b/include/world.h @@ -63,7 +63,7 @@ typedef struct { typedef struct { bool grassUnpressed; - int grassHeight[2]; + float grassHeight[2]; float groundHeight; unsigned char groundColor; } WorldData; @@ -481,7 +481,7 @@ public: }; extern int worldShade; -extern char *currentXML; +extern std::string currentXML; World *loadWorldFromXML(const char *path); World *loadWorldFromXMLNoSave(const char *path); -- cgit v1.2.3