Wing Commander II
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
orders.c File Reference

Wingman orders and landing requests. More...

#include "game.h"

Go to the source code of this file.

Functions

void cleanup_objectives (void)
short IsShipRouting (short ship)
void SendWingmanCommandAcknowledgement (short ship, short accepted)
short report_kilrathi_rout (int mode)
short detect_enemy_tail (short obj)
short any_enemy (short obj, short range)
void engage (short obj, short target, short objective)
unsigned int reset_objective (short ship, short objective)
unsigned int alter_objective (short ship, short objective)
short disobey_formation (short ship)
short IsEngagementTargetDisallowed (short ship, short target)
short CanPlayerLand (void)
short triumph (short obj)
void request (short requester, short ship, short command)
short ShouldWingmanAcceptRoutCommand (short ship, short pilot)

Variables

short g_bEjectionSequencePending = 0

Detailed Description

Wingman orders and landing requests.

Definition in file orders.c.

Function Documentation

◆ alter_objective()

unsigned int alter_objective ( short ship,
short objective )

Definition at line 453 of file logic.c.

◆ any_enemy()

short any_enemy ( short obj,
short range )

Definition at line 610 of file logic.c.

◆ CanPlayerLand()

◆ cleanup_objectives()

◆ detect_enemy_tail()

short detect_enemy_tail ( short obj)

Definition at line 330 of file logic.c.

◆ disobey_formation()

◆ engage()

void engage ( short obj,
short target,
short objective )

Definition at line 952 of file logic.c.

◆ IsEngagementTargetDisallowed()

short IsEngagementTargetDisallowed ( short ship,
short target )

◆ IsShipRouting()

short IsShipRouting ( short ship)

◆ report_kilrathi_rout()

short report_kilrathi_rout ( int mode)

Definition at line 214 of file logic.c.

◆ request()

◆ reset_objective()

unsigned int reset_objective ( short ship,
short objective )

Definition at line 445 of file logic.c.

◆ SendWingmanCommandAcknowledgement()

void SendWingmanCommandAcknowledgement ( short ship,
short accepted )

◆ ShouldWingmanAcceptRoutCommand()

◆ triumph()

short triumph ( short obj)

Definition at line 983 of file logic.c.

Variable Documentation

◆ g_bEjectionSequencePending

short g_bEjectionSequencePending = 0

Definition at line 8 of file orders.c.

Referenced by check_message(), and request().