summaryrefslogtreecommitdiff
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
parentca56469cbb3ebf77dba433da9b23698ff5138a3d (diff)
Moved resource files.
-rw-r--r--application.cpp10
-rw-r--r--fonts/VeraMono.ttf (renamed from VeraMono.ttf)bin49224 -> 49224 bytes
-rw-r--r--foo.pngbin1435 -> 0 bytes
-rw-r--r--foo2.pngbin1024 -> 0 bytes
-rw-r--r--shaders/bullet_fragment.glsl (renamed from bullet_fragment.glsl)0
-rw-r--r--shaders/bullet_vertex.glsl (renamed from bullet_vertex.glsl)0
-rw-r--r--textures/background.png (renamed from background.png)bin13359 -> 13359 bytes
-rw-r--r--textures/shot1.png (renamed from foo4.png)bin5967 -> 5967 bytes
8 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();
diff --git a/VeraMono.ttf b/fonts/VeraMono.ttf
index 139f0b4..139f0b4 100644
--- a/VeraMono.ttf
+++ b/fonts/VeraMono.ttf
Binary files differ
diff --git a/foo.png b/foo.png
deleted file mode 100644
index c87d1f1..0000000
--- a/foo.png
+++ /dev/null
Binary files differ
diff --git a/foo2.png b/foo2.png
deleted file mode 100644
index 7673659..0000000
--- a/foo2.png
+++ /dev/null
Binary files differ
diff --git a/bullet_fragment.glsl b/shaders/bullet_fragment.glsl
index 5e8becd..5e8becd 100644
--- a/bullet_fragment.glsl
+++ b/shaders/bullet_fragment.glsl
diff --git a/bullet_vertex.glsl b/shaders/bullet_vertex.glsl
index 0843be2..0843be2 100644
--- a/bullet_vertex.glsl
+++ b/shaders/bullet_vertex.glsl
diff --git a/background.png b/textures/background.png
index a97cc05..a97cc05 100644
--- a/background.png
+++ b/textures/background.png
Binary files differ
diff --git a/foo4.png b/textures/shot1.png
index 7c9b56f..7c9b56f 100644
--- a/foo4.png
+++ b/textures/shot1.png
Binary files differ