aboutsummaryrefslogtreecommitdiffstats
path: root/include/world.hpp
diff options
context:
space:
mode:
authorAndy <drumsetmonkey@gmail.com>2017-01-19 09:21:12 -0500
committerAndy <drumsetmonkey@gmail.com>2017-01-19 09:21:12 -0500
commit213d9ccfbb4752d4c62d6b7e6b3f9172cdf1bccc (patch)
tree7872c6f30c8adf048a7863a33d837299c7fb0771 /include/world.hpp
parent19a32074595a4a2797eaeb978f8bd302f736f6a6 (diff)
parent8452b199d28bea53bf2c5e3b3d604064000fc73d (diff)
Limb animation actually works
Diffstat (limited to 'include/world.hpp')
-rw-r--r--include/world.hpp6
1 files changed, 3 insertions, 3 deletions
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);