summaryrefslogtreecommitdiff
path: root/application.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-05-21 00:59:44 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-05-21 00:59:44 +0200
commit14833f2e5bddab2ff0ac637fe1340ade94eb88ae (patch)
treee36353df0d1c648a4e7eac3fe5931c0465ac6068 /application.cpp
parentca56469cbb3ebf77dba433da9b23698ff5138a3d (diff)
Moved resource files.
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();