Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CTaskGoto Class Reference
Inheritance diagram for CTaskGoto:
Inheritance graph
[legend]

Public Member Functions

 CTaskGoto (CObject *object)
bool EventProcess (const Event &event)
Error Start (Math::Vector goal, float altitude, TaskGotoGoal goalMode, TaskGotoCrash crashMode)
Error IsEnded ()
- Public Member Functions inherited from CTask
 CTask (CObject *object)
virtual bool IsBusy ()
virtual bool Abort ()

Protected Member Functions

CObjectWormSearch (Math::Vector &impact)
void WormFrame (float rTime)
CObjectSearchTarget (Math::Vector pos, float margin)
bool AdjustTarget (CObject *pObj, Math::Vector &pos, float &distance)
bool AdjustBuilding (Math::Vector &pos, float margin, float &distance)
bool GetHotPoint (CObject *pObj, Math::Vector &pos, bool bTake, float distance, float &suppl)
bool LeakSearch (Math::Vector &pos, float &delay)
void ComputeRepulse (Math::Point &dir)
void ComputeFlyingRepulse (float &dir)
int BeamShortcut ()
void BeamStart ()
void BeamInit ()
Error BeamSearch (const Math::Vector &start, const Math::Vector &goal, float goalRadius)
Error BeamExplore (const Math::Vector &prevPos, const Math::Vector &curPos, const Math::Vector &goalPos, float goalRadius, float angle, int nbDiv, float step, int i, int nbIter)
Math::Vector BeamPoint (const Math::Vector &startPoint, const Math::Vector &goalPoint, float angle, float step)
void BitmapDebug (const Math::Vector &min, const Math::Vector &max, const Math::Vector &start, const Math::Vector &goal)
bool BitmapTestLine (const Math::Vector &start, const Math::Vector &goal, float stepAngle, bool bSecond)
void BitmapObject ()
void BitmapTerrain (const Math::Vector &min, const Math::Vector &max)
void BitmapTerrain (int minx, int miny, int maxx, int maxy)
bool BitmapOpen ()
bool BitmapClose ()
void BitmapSetCircle (const Math::Vector &pos, float radius)
void BitmapClearCircle (const Math::Vector &pos, float radius)
void BitmapSetDot (int rank, int x, int y)
void BitmapClearDot (int rank, int x, int y)
bool BitmapTestDot (int rank, int x, int y)

Protected Attributes

Math::Vector m_goal
Math::Vector m_goalObject
float m_angle
float m_altitude
TaskGotoCrash m_crashMode
TaskGotoGoal m_goalMode
TaskGotoPhase m_phase
int m_try
Error m_error
bool m_bTake
float m_stopLength
float m_time
Math::Vector m_pos
bool m_bWorm
bool m_bApprox
float m_wormLastTime
float m_lastDistance
int m_bmSize
int m_bmOffset
int m_bmLine
unsigned char * m_bmArray
int m_bmMinX
int m_bmMinY
int m_bmMaxX
int m_bmMaxY
int m_bmTotal
int m_bmIndex
Math::Vector m_bmPoints [MAXPOINTS+2]
char m_bmIter [MAXPOINTS+2]
int m_bmIterCounter
CObjectm_bmFretObject
float m_bmFinalMove
float m_bmFinalDist
Math::Vector m_bmFinalPos
float m_bmTimeLimit
int m_bmStep
Math::Vector m_bmWatchDogPos
float m_bmWatchDogTime
Math::Vector m_leakPos
float m_leakDelay
float m_leakTime
bool m_bLeakRecede
- Protected Attributes inherited from CTask
Gfx::CEnginem_engine
Gfx::CLightManagerm_lightMan
Gfx::CParticlem_particle
Gfx::CTerrainm_terrain
Gfx::CWaterm_water
Gfx::CCameram_camera
CMotionm_motion
CBrainm_brain
CPhysicsm_physics
CObjectm_object
CRobotMainm_main
CSoundInterfacem_sound

The documentation for this class was generated from the following files: