From f91e95eed85bdd74b219b20a435fa6f297069da1 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 13 Jan 2017 10:42:55 -0500 Subject: vector2 stuff, other things --- include/world.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/world.hpp') diff --git a/include/world.hpp b/include/world.hpp index 14c64d0..9b68314 100644 --- a/include/world.hpp +++ b/include/world.hpp @@ -37,7 +37,7 @@ struct WorldData { float grassHeight[2]; /**< height of the two grass blades */ float groundHeight; /**< height of the 'line' */ unsigned char groundColor; /**< a value that affects the ground's color */ -} __attribute__ ((packed)); +}; /** * Defines how many game ticks it takes to go from day to night or vice versa. @@ -171,8 +171,8 @@ public: WorldData2 worldData; void generate(int width = 0); - void addHole(const unsigned int& start, const unsigned int& end); - void addHill(const ivec2& peak, const unsigned int& width); + //void addHole(const unsigned int& start, const unsigned int& end); + //void addHill(const ivec2& peak, const unsigned int& width); bool save(void); void load(const std::string& file); -- cgit v1.2.3