#include <airport.h>
Public Methods | |
| Airport () | |
| ~Airport () | |
| void | Animate () |
| void | Center (double &x, double &y, double &z) |
| void | GetNearestPoint (float planeX, float planeY, float &coordX, float &coordY, float &runwayDirX, float &runwayDirY, string runwayHandle) |
| void | GetNearestPoint (float planeX, float planeY, float &coordX, float &coordY, float &runwayDirX, float &runwayDirY) |
| string | GetNearestRunway (float xPos, float yPos) |
| const int | GetNumRunways () |
| const int | GetNumPlanesQueued (string runwayHandle) |
| bool | IsPlaneQueued (string planeHandle, string runwayHandle) |
| bool | LoadAirport (char *name) |
| bool | Render () |
| RunwayResponse | ReserveRunway (string planeHandle, string runwayHandle) |
| RunwayResponse | ReserveRunway (string planeHandle, float xPos, float yPos) |
| void | SetScale (double newScale) |
| void | SetWaterSpeed (float xSpeed, float ySpeed) |
| void | UnreserveRunway (string planeHandle, string runwayHandle) |
| void | UnreserveRunway (string planeHandle) |
|
|
Contructor does almost nothing. LoadAirport is used instead so it can return a value if something goes wrong. |
|
|
Destructor |
|
|
Updates all information needed to be updated each frame |
|
||||||||||||||||
|
Changes the x, y, and z parameters to the rough center of the airport |
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||
|
Gets the nearest point on the runway that the plane can land on as well as the vectored direction of the runway |
|
||||||||||||
|
Returns the handle of the nearest runway given an x and y position |
|
|
Returns the number of planes on a given runway |
|
|
Returns the number of runways |
|
||||||||||||
|
Checks if a plane is queued on a given runway |
|
|
Loads all object placement and models, water, textures, and display lists. |
|
|
Render the tower, terminals, and runways |
|
||||||||||||||||
|
|
|
||||||||||||
|
Reserves a runway for an airplane |
|
|
Used to set the relative size of the airport |
|
||||||||||||
|
Used to set the speed of the water. Recommended numbers are around 0.001 or less. This number will give you the rate at which the water moves per call to Airport::Animate() in meters / frame. |
|
|
|
|
||||||||||||
|
If a plane wants to, release its binding to a runway |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001