summaryrefslogtreecommitdiffstats
path: root/test/unit/ui/stubs
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-02-25 21:58:01 +0100
committerPiotr Dziwinski <piotrdz@gmail.com>2013-02-25 21:58:01 +0100
commitb0d86ebe5a3c2330307a5c383f0136377338336c (patch)
tree358d9f002de1478eefce00e7f81f02d71403b648 /test/unit/ui/stubs
parent3a594dc3a814cff4ae4db02985f4b1ce643a0604 (diff)
downloadcolobot-b0d86ebe5a3c2330307a5c383f0136377338336c.tar.gz
colobot-b0d86ebe5a3c2330307a5c383f0136377338336c.tar.bz2
colobot-b0d86ebe5a3c2330307a5c383f0136377338336c.zip
Better light sorting
Should fix lighting issue (#62)
Diffstat (limited to 'test/unit/ui/stubs')
-rw-r--r--test/unit/ui/stubs/engine_stub.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/unit/ui/stubs/engine_stub.cpp b/test/unit/ui/stubs/engine_stub.cpp
index 40886da..0a2777c 100644
--- a/test/unit/ui/stubs/engine_stub.cpp
+++ b/test/unit/ui/stubs/engine_stub.cpp
@@ -77,11 +77,28 @@ int CEngine::GetEditIndentValue()
void CEngine::DeleteTexture(const std::string& /* texName */)
{
}
+
Texture CEngine::LoadTexture(const std::string& /* name */)
{
Texture texture;
return texture;
}
+Math::Vector CEngine::GetEyePt()
+{
+ return Math::Vector();
+}
+
+Math::Vector CEngine::GetLookatPt()
+{
+ return Math::Vector();
+}
+
+bool CEngine::GetPause()
+{
+ return false;
+}
+
+
} /* Gfx */