From 0e5c78738efd5206ace1d000fd4160e223ba8597 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 29 Oct 2015 08:15:06 -0400 Subject: fixed world again --- include/common.h | 2 +- include/world.h | 2 +- src/world.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/common.h b/include/common.h index 3c83e66..f278020 100644 --- a/include/common.h +++ b/include/common.h @@ -65,7 +65,7 @@ typedef struct { * */ -#define HLINE 2 // 3 as in 3 pixels +#define HLINE 3 // 3 as in 3 pixels /* * Define 'our' random number generation library. Eventually these macros will be replaced diff --git a/include/world.h b/include/world.h index ef9ef6e..ab161c0 100644 --- a/include/world.h +++ b/include/world.h @@ -71,7 +71,7 @@ public: // drawn and handled by the world. void addHole(unsigned int start,unsigned int end); // Create a hole in the world - int getWidth(void); + int getStart(void); }; float worldGetYBase(World *w); diff --git a/src/world.cpp b/src/world.cpp index ec91c02..97ec5ac 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -581,7 +581,7 @@ void World::addHole(unsigned int start,unsigned int end){ } } -int World::getWidth(void){ +int World::getStart(void){ return -x_start; } -- cgit v1.2.3