aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h2
-rw-r--r--include/entities.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h
index 0df6533..4115f10 100644
--- a/include/common.h
+++ b/include/common.h
@@ -110,7 +110,7 @@ extern unsigned int SCREEN_HEIGHT;
*
*/
-#define HLINE 3
+#define HLINE 4
/**
* A 'wrapper' for libc's srand(), as we hope to eventually have our own random number
diff --git a/include/entities.h b/include/entities.h
index 1fcb896..56b3078 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -91,9 +91,9 @@ public:
glEnable(GL_TEXTURE_2D);
glColor3ub(255,255,255);
glBegin(GL_QUADS);
- glTexCoord2f(.25*index.x, .126*index.y); glVertex2i(loc.x, loc.y);
- glTexCoord2f(.26*index.x, .126*index.y); glVertex2i(loc.x + width, loc.y);
- glTexCoord2f(.26*index.x, .125*index.y); glVertex2i(loc.x + width, loc.y + height);
+ glTexCoord2f(.25*index.x, .125*index.y); glVertex2i(loc.x, loc.y);
+ glTexCoord2f(.25*index.x, .125*index.y); glVertex2i(loc.x + width, loc.y);
+ glTexCoord2f(.25*index.x, .125*index.y); glVertex2i(loc.x + width, loc.y + height);
glTexCoord2f(.25*index.x, .125*index.y); glVertex2i(loc.x, loc.y + width);
glEnd();
glDisable(GL_TEXTURE_2D);