summaryrefslogtreecommitdiff
path: root/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application.cpp')
-rw-r--r--application.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/application.cpp b/application.cpp
index 87797b1..f7ddaae 100644
--- a/application.cpp
+++ b/application.cpp
@@ -141,10 +141,10 @@ void Application::run() {
elapsed = 0;
paused = false;
- font = new FTPixmapFont("VeraMono.ttf");
+ font = new FTPixmapFont("fonts/VeraMono.ttf");
font->FaceSize(12);
- background = new TextureSDL("background.png");
- texture = new TextureSDL("foo4.png");
+ background = new TextureSDL("textures/background.png");
+ texture = new TextureSDL("textures/shot1.png");
shader = new GLShaderProgram();
patterns.push_back(new BulletPattern());
@@ -153,8 +153,8 @@ void Application::run() {
}
patterns.push_back(new BulletPattern2(9000));
- GLFragmentShader shader1("bullet_fragment.glsl");
- GLVertexShader shader2("bullet_vertex.glsl");
+ GLFragmentShader shader1("shaders/bullet_fragment.glsl");
+ GLVertexShader shader2("shaders/bullet_vertex.glsl");
shader->attach(shader1);
shader->attach(shader2);
shader->link();