summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/engine.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-08-09 22:50:04 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-08-09 22:50:04 +0200
commitc3ab23ac9dc02d59180f2f1af5f3aa5b50f9f8d8 (patch)
tree42aa2b0fa35ad756f68802682404f203337a2392 /src/graphics/engine/engine.h
parentacff306cc132c4f8cc71f44f85ffd7bdd18a114e (diff)
downloadcolobot-c3ab23ac9dc02d59180f2f1af5f3aa5b50f9f8d8.tar.gz
colobot-c3ab23ac9dc02d59180f2f1af5f3aa5b50f9f8d8.tar.bz2
colobot-c3ab23ac9dc02d59180f2f1af5f3aa5b50f9f8d8.zip
Graphics stubs
- added stubs for functions in CLightning, CParticle and CPyro - cleaned object.h and physics.h headers - created temporary stubs to compile CCamera - other necessary changes to compile successfully
Diffstat (limited to 'src/graphics/engine/engine.h')
-rw-r--r--src/graphics/engine/engine.h22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/graphics/engine/engine.h b/src/graphics/engine/engine.h
index cd89a1c..e61aca6 100644
--- a/src/graphics/engine/engine.h
+++ b/src/graphics/engine/engine.h
@@ -170,7 +170,10 @@ struct EngineObjLevel5
Gfx::EngineTriangleType type;
std::vector<Gfx::VertexTex2> vertices;
- EngineObjLevel5();
+ EngineObjLevel5()
+ {
+ state = 0;
+ }
};
/**
@@ -182,7 +185,10 @@ struct EngineObjLevel4
std::vector<Gfx::EngineObjLevel5> up;
Gfx::EngineObjLevel3* down;
- EngineObjLevel4();
+ EngineObjLevel4()
+ {
+ reserved = 0;
+ }
};
/**
@@ -195,7 +201,10 @@ struct EngineObjLevel3
std::vector<Gfx::EngineObjLevel4> up;
Gfx::EngineObjLevel2* down;
- EngineObjLevel3();
+ EngineObjLevel3()
+ {
+ min = max = 0.0f;
+ }
};
/**
@@ -207,7 +216,10 @@ struct EngineObjLevel2
std::vector<Gfx::EngineObjLevel3> up;
Gfx::EngineObjLevel1* down;
- EngineObjLevel2();
+ EngineObjLevel2()
+ {
+ objRank = 0;
+ }
};
/**
@@ -219,7 +231,7 @@ struct EngineObjLevel1
Gfx::Texture tex2;
std::vector<Gfx::EngineObjLevel2> up;
- EngineObjLevel1();
+ EngineObjLevel1() {}
};
/**