diff options
author | Zaba999 <zaba.marcin@gmail.com> | 2012-09-10 23:39:22 +0200 |
---|---|---|
committer | Zaba999 <zaba.marcin@gmail.com> | 2012-09-10 23:39:22 +0200 |
commit | e57be247c2ddce796fd64e9f3c1b3bfa4759b74a (patch) | |
tree | ea40766c14518e9e742b64773de902e532ca9f4f /src/graphics | |
parent | 479a67a731be5a5e8035ea7acce0344c7c605814 (diff) | |
download | colobot-e57be247c2ddce796fd64e9f3c1b3bfa4759b74a.tar.gz colobot-e57be247c2ddce796fd64e9f3c1b3bfa4759b74a.tar.bz2 colobot-e57be247c2ddce796fd64e9f3c1b3bfa4759b74a.zip |
commented new part in cmakelist and reverted stubs in camera.cpp. Will be commited later after implementation is finished in dev-object branch.
Diffstat (limited to 'src/graphics')
-rw-r--r-- | src/graphics/engine/camera.cpp | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/graphics/engine/camera.cpp b/src/graphics/engine/camera.cpp index 78ab808..034c5ea 100644 --- a/src/graphics/engine/camera.cpp +++ b/src/graphics/engine/camera.cpp @@ -28,6 +28,67 @@ #include "object/object.h" #include "physics/physics.h" + +// TODO temporary stubs for CObject and CPhysics + +void CObject::SetTransparency(float) +{ +} + +CObject* CObject::GetFret() +{ + return nullptr; +} + +CObject* CObject::GetPower() +{ + return nullptr; +} + +CObject* CObject::GetTruck() +{ + return nullptr; +} + +ObjectType CObject::GetType() +{ + return OBJECT_NULL; +} + +void CObject::SetGunGoalH(float) +{ +} + +void CObject::GetGlobalSphere(Math::Vector &pos, float &radius) +{ +} + +float CObject::GetAngleY(int) +{ + return 0.0f; +} + +Math::Vector CObject::GetPosition(int) +{ + return Math::Vector(); +} + +void CObject::SetViewFromHere(Math::Vector &eye, float &dirH, float &dirV, + Math::Vector &lookat, Math::Vector &upVec, + Gfx::CameraType type) +{ +} + +CPhysics* CObject::GetPhysics() +{ + return nullptr; +} + +bool CPhysics::GetLand() +{ + return false; +} + //! Changes the level of transparency of an object and objects transported (battery & cargo) void SetTransparency(CObject* obj, float value) { @@ -1658,3 +1719,4 @@ Math::Vector Gfx::CCamera::ExcludeObject(Math::Vector eye, Math::Vector lookat, return eye;*/ } + |