18#ifndef INCLUDED_MODELDUMMY
19#define INCLUDED_MODELDUMMY
35 std::unique_ptr<CModelAbstract>
Clone()
const override {
return std::make_unique<CModelDummy>(); }
Abstract base class for graphical objects that are used by units, or as props attached to other CMode...
Definition: ModelAbstract.h:50
Empty placeholder ModelAbstract implementation, to render nothing.
Definition: ModelDummy.h:27
void SetTerrainDirty(ssize_t, ssize_t, ssize_t, ssize_t) override
Called when terrain has changed in the given inclusive bounds.
Definition: ModelDummy.h:39
CModelDummy * ToCModelDummy() override
Dynamic cast.
Definition: ModelDummy.h:36
void ValidatePosition() override
Ensure that both the transformation and the bone matrices are correct for this model and all its prop...
Definition: ModelDummy.h:40
~CModelDummy() override=default
std::unique_ptr< CModelAbstract > Clone() const override
Definition: ModelDummy.h:35
void InvalidatePosition() override
Mark this model's position and bone matrices, and all props' positions as invalid.
Definition: ModelDummy.h:41
void CalcBounds() override
(Re)calculates and stores any bounds or bound-dependent data for this object.
Definition: ModelDummy.h:38
intptr_t ssize_t
Definition: wposix_types.h:82