23 #include "object/task/task.h" 32 const float BUILDMARGIN = 16.0f;
33 const int TBMAXLIGHT = 4;
56 bool EventProcess(
const Event &event)
override;
59 Error IsEnded()
override;
60 bool Abort()
override;
67 CObject* SearchMetalObject(
float &angle,
float dMin,
float dMax,
float aLimit, Error &err);
75 TaskBuildPhase m_phase = TBP_STOP;
76 bool m_bError =
false;
77 bool m_bBuild =
false;
78 bool m_bBlack =
false;
80 float m_lastParticle = 0.0f;
81 float m_progress = 0.0f;
83 float m_angleY = 0.0f;
84 float m_angleZ = 0.0f;
86 float m_buildingHeight = 0.0f;
87 int m_lightRank[TBMAXLIGHT] = {};
88 int m_soundChannel = 0;
Definition: taskbuild.h:50
Definition: old_object.h:79
Vector struct and related functions.
ObjectType
Type of game object.
Definition: object_type.h:33
3D (3x1) vector
Definition: vector.h:53
Event sent by system, interface or game.
Definition: event.h:735
Base class for all 3D in-game objects.
Definition: object.h:63