25 #include "object/task/task.h"
31 const int MAXPOINTS = 500;
82 bool EventProcess(
const Event &event);
84 Error Start(
Math::Vector goal,
float altitude, TaskGotoGoal goalMode, TaskGotoCrash crashMode);
89 void WormFrame(
float rTime);
92 bool AdjustBuilding(
Math::Vector &pos,
float margin,
float &distance);
93 bool GetHotPoint(
CObject *pObj,
Math::Vector &pos,
bool bTake,
float distance,
float &suppl);
96 void ComputeFlyingRepulse(
float &dir);
109 void BitmapTerrain(
int minx,
int miny,
int maxx,
int maxy);
112 void BitmapSetCircle(
const Math::Vector &pos,
float radius);
113 void BitmapClearCircle(
const Math::Vector &pos,
float radius);
114 void BitmapSetDot(
int rank,
int x,
int y);
115 void BitmapClearDot(
int rank,
int x,
int y);
116 bool BitmapTestDot(
int rank,
int x,
int y);
123 TaskGotoCrash m_crashMode;
124 TaskGotoGoal m_goalMode;
125 TaskGotoPhase m_phase;
134 float m_wormLastTime;
135 float m_lastDistance;
140 unsigned char* m_bmArray;
141 int m_bmMinX, m_bmMinY;
142 int m_bmMaxX, m_bmMaxY;
146 char m_bmIter[MAXPOINTS+2];
155 float m_bmWatchDogTime;
2D point
Definition: point.h:49
Vector struct and related functions.
Error
Type of error or info message.
Definition: global.h:32
3D (3x1) vector
Definition: vector.h:52
Event sent by system, interface or game.
Definition: event.h:678
Definition: taskgoto.h:76