diff options
-rw-r--r-- | include/entities.hpp | 4 | ||||
-rw-r--r-- | src/world.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/entities.hpp b/include/entities.hpp index c62e625..e7864d0 100644 --- a/include/entities.hpp +++ b/include/entities.hpp @@ -2,9 +2,9 @@ #define ENTITIES_H #include <common.hpp> -#include <Quest.hpp> +#include <quest.hpp> #include <inventory.hpp> -#include <Texture.hpp> +#include <texture.hpp> #include <sstream> diff --git a/src/world.cpp b/src/world.cpp index 0cff9d4..f03606f 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -432,10 +432,10 @@ void World::draw(Player *p){ safeSetColorA( 255, 255, 255, weather == WorldWeather::Snowy ? 150 : 255 - worldShade * 4); glBegin( GL_QUADS ); - glTexCoord2i( 0, 0 ); glVertex2i( offset.x - SCREEN_WIDTH/2, SCREEN_HEIGHT ); - glTexCoord2i( 1, 0 ); glVertex2i( offset.x + SCREEN_WIDTH/2, SCREEN_HEIGHT ); - glTexCoord2i( 1, 1 ); glVertex2i( offset.x + SCREEN_WIDTH/2, 0 ); - glTexCoord2i( 0, 1 ); glVertex2i( offset.x - SCREEN_WIDTH/2, 0 ); + glTexCoord2i( 0, 0 ); glVertex2i( offset.x - SCREEN_WIDTH/2-5, SCREEN_HEIGHT ); + glTexCoord2i( 1, 0 ); glVertex2i( offset.x + SCREEN_WIDTH/2+5, SCREEN_HEIGHT ); + glTexCoord2i( 1, 1 ); glVertex2i( offset.x + SCREEN_WIDTH/2+5, 0 ); + glTexCoord2i( 0, 1 ); glVertex2i( offset.x - SCREEN_WIDTH/2-5, 0 ); glEnd(); bgTex->bindNext(); |