25 #include <unordered_map> 36 using CStaticObjectUPtr = std::unique_ptr<CStaticObject>;
43 const std::string& key,
59 static CStaticObjectUPtr Create(
int id,
69 void TransformCrashSphere(
Math::Sphere& crashSphere)
override;
70 void TransformCameraCollisionSphere(
Math::Sphere& collisionSphere)
override;
79 static const std::unordered_map<ObjectType, std::string, ObjectTypeHash> m_staticModelNames;
void SetTransparency(CObject *obj, float value)
Changes the level of transparency of an object and objects transported (battery & cargo) ...
Definition: camera.cpp:56
3D model saved in model file
Definition: model.h:40
4x4 matrix
Definition: matrix.h:65
Definition: parserline.h:37
Definition: static_object.h:38
Terrain loader/generator and manager.
Definition: terrain.h:147
Namespace for (new) graphics code.
Definition: app.h:49
CObject - base class for all game objects.
Manager for models read from model files.
Definition: model_manager.h:34
The graphics engine.
Definition: engine.h:585
ObjectType
Type of game object.
Definition: object_type.h:33
3D (3x1) vector
Definition: vector.h:53
Base class for all 3D in-game objects.
Definition: object.h:63