summaryrefslogtreecommitdiffstats
path: root/src/graphics
diff options
context:
space:
mode:
authorKrzysztof Dermont <erihel@gmail.com>2014-06-22 15:01:06 +0200
committerKrzysztof Dermont <erihel@gmail.com>2014-06-22 15:01:06 +0200
commit754154341dba420e5bfc3190c81deb2859d751ba (patch)
tree2fae97b49724edfc2e889f4ca9720af74737db26 /src/graphics
parent1630cf0ed20ea8df879327af1275ff281a9bc7e0 (diff)
downloadcolobot-754154341dba420e5bfc3190c81deb2859d751ba.tar.gz
colobot-754154341dba420e5bfc3190c81deb2859d751ba.tar.bz2
colobot-754154341dba420e5bfc3190c81deb2859d751ba.zip
More work on PhysFS support
* added output stream * fixed music loading
Diffstat (limited to 'src/graphics')
-rw-r--r--src/graphics/engine/engine.cpp2
-rw-r--r--src/graphics/engine/particle.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp
index 072261b..6f6141b 100644
--- a/src/graphics/engine/engine.cpp
+++ b/src/graphics/engine/engine.cpp
@@ -3773,7 +3773,7 @@ void CEngine::DrawShadow()
SetMaterial(material);
// TODO: create a separate texture
- SetTexture("text.png");
+ SetTexture("textures/interface/text.png");
Math::Point ts, ti;
diff --git a/src/graphics/engine/particle.cpp b/src/graphics/engine/particle.cpp
index ead2387..9e36153 100644
--- a/src/graphics/engine/particle.cpp
+++ b/src/graphics/engine/particle.cpp
@@ -3551,7 +3551,7 @@ void CParticle::DrawParticle(int sheet)
// Draw tire marks.
if (m_wheelTraceTotal > 0 && sheet == SH_WORLD)
{
- m_engine->SetTexture("text.png");
+ m_engine->SetTexture("textures/interface/text.png");
m_engine->SetState(ENG_RSTATE_TTEXTURE_WHITE);
Math::Matrix matrix;
matrix.LoadIdentity();