diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-10-27 16:22:18 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-10-27 16:22:18 -0400 |
commit | e32f533207c0ded45441d8c32e96247ff7119eac (patch) | |
tree | 118a7ce3d9123695b53e9164432f423f57acffc5 /main.cpp | |
parent | db699c0140946cef99d1636b05f3a8492f86c739 (diff) |
Made better tree layer
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -556,12 +556,12 @@ void render(){ glEnd(); glBindTexture(GL_TEXTURE_2D, bgTreesFirst); - glColor4ub(255,255,255,200); + glColor4ub(255,255,255,255); glBegin(GL_QUADS); - glTexCoord2i(0,1);glVertex2i(0 +player->loc.x*.25, 100); - glTexCoord2i(1,1);glVertex2i(7680 +player->loc.x*.25, 100); - glTexCoord2i(1,0);glVertex2i(7680 +player->loc.x*.25, 2260); - glTexCoord2i(0,0);glVertex2i(0 +player->loc.x*.25, 2260); + glTexCoord2i(0,1);glVertex2i(-960 +player->loc.x*.25, 50); + glTexCoord2i(1,1);glVertex2i(960 +player->loc.x*.25, 50); + glTexCoord2i(1,0);glVertex2i(960 +player->loc.x*.25, 1130); + glTexCoord2i(0,0);glVertex2i(-960 +player->loc.x*.25, 1130); glEnd(); glDisable(GL_TEXTURE_2D); |