From 14833f2e5bddab2ff0ac637fe1340ade94eb88ae Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Fri, 21 May 2010 00:59:44 +0200 Subject: Moved resource files. --- application.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'application.cpp') 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(); -- cgit v1.2.3