Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
ParkingPlaceBehaviorInterface Class Referenceabstract

#include <BehaviorModule.h>

Inherited by FlightDeckBehavior, and ParkingPlaceBehavior.

Classes

struct  PPInfo
 

Public Member Functions

virtual Bool shouldReserveDoorWhenQueued (const ThingTemplate *thing) const =0
 
virtual Bool hasAvailableSpaceFor (const ThingTemplate *thing) const =0
 
virtual Bool hasReservedSpace (ObjectID id) const =0
 
virtual Int getSpaceIndex (ObjectID id) const =0
 
virtual Bool reserveSpace (ObjectID id, Real parkingOffset, PPInfo *info)=0
 
virtual void releaseSpace (ObjectID id)=0
 
virtual Bool reserveRunway (ObjectID id, Bool forLanding)=0
 
virtual void calcPPInfo (ObjectID id, PPInfo *info)=0
 
virtual void releaseRunway (ObjectID id)=0
 
virtual Int getRunwayCount () const =0
 
virtual ObjectID getRunwayReservation (Int r, RunwayReservationType type=RESERVATION_TAKEOFF)=0
 
virtual void transferRunwayReservationToNextInLineForTakeoff (ObjectID id)=0
 
virtual Real getApproachHeight () const =0
 
virtual Real getLandingDeckHeightOffset () const =0
 
virtual void setHealee (Object *healee, Bool add)=0
 
virtual void killAllParkedUnits ()=0
 
virtual void defectAllParkedUnits (Team *newTeam, UnsignedInt detectionTime)=0
 
virtual Bool calcBestParkingAssignment (ObjectID id, Coord3D *pos, Int *oldIndex=NULL, Int *newIndex=NULL)=0
 
virtual const std::vector< Coord3D > * getTaxiLocations (ObjectID id) const =0
 
virtual const std::vector< Coord3D > * getCreationLocations (ObjectID id) const =0
 

Detailed Description

Definition at line 217 of file BehaviorModule.h.

Member Function Documentation

◆ calcBestParkingAssignment()

virtual Bool ParkingPlaceBehaviorInterface::calcBestParkingAssignment ( ObjectID id,
Coord3D * pos,
Int * oldIndex = NULL,
Int * newIndex = NULL )
pure virtual

◆ calcPPInfo()

virtual void ParkingPlaceBehaviorInterface::calcPPInfo ( ObjectID id,
PPInfo * info )
pure virtual

◆ defectAllParkedUnits()

virtual void ParkingPlaceBehaviorInterface::defectAllParkedUnits ( Team * newTeam,
UnsignedInt detectionTime )
pure virtual

◆ getApproachHeight()

virtual Real ParkingPlaceBehaviorInterface::getApproachHeight ( ) const
pure virtual

◆ getCreationLocations()

virtual const std::vector< Coord3D > * ParkingPlaceBehaviorInterface::getCreationLocations ( ObjectID id) const
pure virtual

◆ getLandingDeckHeightOffset()

virtual Real ParkingPlaceBehaviorInterface::getLandingDeckHeightOffset ( ) const
pure virtual

◆ getRunwayCount()

virtual Int ParkingPlaceBehaviorInterface::getRunwayCount ( ) const
pure virtual

◆ getRunwayReservation()

virtual ObjectID ParkingPlaceBehaviorInterface::getRunwayReservation ( Int r,
RunwayReservationType type = RESERVATION_TAKEOFF )
pure virtual

◆ getSpaceIndex()

virtual Int ParkingPlaceBehaviorInterface::getSpaceIndex ( ObjectID id) const
pure virtual

◆ getTaxiLocations()

virtual const std::vector< Coord3D > * ParkingPlaceBehaviorInterface::getTaxiLocations ( ObjectID id) const
pure virtual

◆ hasAvailableSpaceFor()

virtual Bool ParkingPlaceBehaviorInterface::hasAvailableSpaceFor ( const ThingTemplate * thing) const
pure virtual

◆ hasReservedSpace()

virtual Bool ParkingPlaceBehaviorInterface::hasReservedSpace ( ObjectID id) const
pure virtual

◆ killAllParkedUnits()

virtual void ParkingPlaceBehaviorInterface::killAllParkedUnits ( )
pure virtual

◆ releaseRunway()

virtual void ParkingPlaceBehaviorInterface::releaseRunway ( ObjectID id)
pure virtual

◆ releaseSpace()

virtual void ParkingPlaceBehaviorInterface::releaseSpace ( ObjectID id)
pure virtual

◆ reserveRunway()

virtual Bool ParkingPlaceBehaviorInterface::reserveRunway ( ObjectID id,
Bool forLanding )
pure virtual

◆ reserveSpace()

virtual Bool ParkingPlaceBehaviorInterface::reserveSpace ( ObjectID id,
Real parkingOffset,
PPInfo * info )
pure virtual

◆ setHealee()

virtual void ParkingPlaceBehaviorInterface::setHealee ( Object * healee,
Bool add )
pure virtual

◆ shouldReserveDoorWhenQueued()

virtual Bool ParkingPlaceBehaviorInterface::shouldReserveDoorWhenQueued ( const ThingTemplate * thing) const
pure virtual

◆ transferRunwayReservationToNextInLineForTakeoff()

virtual void ParkingPlaceBehaviorInterface::transferRunwayReservationToNextInLineForTakeoff ( ObjectID id)
pure virtual

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