Simulator::cGameTerrainCursor class

Base classes

class cGameData
Base class for most Simulator objects.
class cSpatialObject
A 3D model in the Simulator.

Public types

using SpatialObjects = eastl::vector<cSpatialObjectPtr>

Public static variables

static const uint32_t TYPE
static const uint32_t NOUN_ID

Public static functions

static auto GetTerrainCursor() -> cGameTerrainCursor*

Public functions

auto ToSpatialObject() -> cGameData* virtual
auto SetObjects(SpatialObjects* pVector) -> void virtual
auto func5Ch_(int) -> void virtual
auto func60h_(int, int) -> void virtual
auto func64h_() -> void virtual
auto GetObjectsCount() -> int virtual
Returns the amount of values in the objects vector.
auto GetObjectTypeCount(uint32_t type) -> int virtual
Returns how many objects of the specified type are in the objects vector.
auto GetSelectedObjectCount() -> int virtual
auto UpdateSelectedObjectCount() -> int virtual
auto UpdateSelectedObjects() -> int virtual
auto func7Ch_(int, int) -> int virtual
auto func80h_(int, int) -> void virtual
auto SetAnchor(const Vector3& position) -> void virtual
auto GetAnchor() -> const Vector3& virtual
auto SetDiagonal1(const Vector3& position) -> void virtual
auto GetDiagonal1() -> const Vector3& virtual
auto SetDiagonal2(const Vector3& position) -> void virtual
auto GetDiagonal2() -> const Vector3& virtual
auto func9Ch_(int, int) -> int virtual
auto funcA0h(int, int) -> void virtual
auto ResetAnchors() -> void virtual
auto IsAnchorValid() -> bool virtual
auto SetRadius(float value) -> void virtual
auto SetAlpha(float value) -> void virtual
auto GetAlpha() -> float virtual
auto SetIsVisible(bool value) -> void virtual
auto IsVisible() -> bool virtual
auto SetAnchorValid(bool value) -> void virtual
auto IsAnchorValid_() -> bool virtual
auto funcC8h_() -> void virtual
auto SetIsFactoryObject(bool value) -> void virtual
auto funcD0h_(cSpatialObject*) -> void virtual
auto funcD4h_() -> cSpatialObject* virtual
auto SetIsRectangleSelect(bool value) -> void virtual
auto IsRectangleSelect() -> bool virtual
auto funcE0h_(bool) -> void virtual
auto funcE4h_() -> bool virtual
auto Cast(uint32_t typeID) const -> void* pure virtual
auto AddRef() -> int pure virtual
auto Release() -> int pure virtual

Public variables

Vector3 mPosition
Vector3 mAnchorPosition
Vector3 mDiagonalPosition1
Vector3 mDiagonalPosition2
Quaternion mOrientation
float mRadius
float mAlpha
bool mbRectangleSelect
int field_154
bool field_158
bool mbIsVisible
bool mbIsFactoryObject
int mSelectedObjectCount
bool mbAnchorValid
SpatialObjects* mpObjects
cSpatialObjectPtr field_168

Function documentation

int Simulator::cGameTerrainCursor::GetObjectTypeCount(uint32_t type) virtual

Returns how many objects of the specified type are in the objects vector.

Parameters
type The object TYPE field.