Open source remastering of the Freespace 2 engine
missiontraining.h File Reference
#include "hud/hud.h"

Go to the source code of this file.


class  HudGaugeDirectives
class  HudGaugeTrainingMessages


void training_mission_init ()
void training_mission_shutdown ()
void training_check_objectives ()
void message_training_queue (char *text, int timestamp, int length=-1)
void message_training_setup (int num, int length=-1)
void message_translate_tokens (char *buf, char *text)
void training_fail ()
void message_training_update_frame ()


int Max_directives
int Training_message_method
int Training_num_lines
int Training_message_visible
int Training_failure

Function Documentation

void message_training_queue ( char *  text,
int  timestamp,
int  length 

Add a message to the queue to be sent later

Definition at line 858 of file missiontraining.cpp.

void message_training_setup ( int  num,
int  length = -1 
void message_training_update_frame ( )

Definition at line 952 of file missiontraining.cpp.

void message_translate_tokens ( char *  buf,
char *  text 

Translates all special tokens in a message, producing the new finalized message to be displayed

Definition at line 646 of file missiontraining.cpp.

void training_check_objectives ( )

Maintains the objectives listing, adding, removing and updating items

Called at same rate as goals/events are evaluated.

Definition at line 523 of file missiontraining.cpp.

void training_fail ( )

Definition at line 1131 of file missiontraining.cpp.

void training_mission_init ( )

Mission initializations (called once before a new mission is started)

Definition at line 342 of file missiontraining.cpp.

void training_mission_shutdown ( )

Do cleanup when leaving a mission

Definition at line 601 of file missiontraining.cpp.

Variable Documentation

int Max_directives

Definition at line 74 of file missiontraining.cpp.

int Training_failure

Definition at line 82 of file missiontraining.cpp.

int Training_message_method

Definition at line 76 of file missiontraining.cpp.

int Training_message_visible

Definition at line 85 of file missiontraining.cpp.

int Training_num_lines

Definition at line 77 of file missiontraining.cpp.