2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/Mission/MissionTraining.h $
15 * Special code for training missions. Stuff like displaying training messages in
16 * the special training window, listing the training objectives, etc.
19 * Revision 1.2 2002/06/09 04:41:14 relnev
20 * added copyright header
22 * Revision 1.1.1.1 2002/05/03 03:28:12 root
26 * 2 10/07/98 10:53a Dave
29 * 1 10/07/98 10:49a Dave
31 * 7 4/16/98 4:33p Hoffoss
32 * Added support for detecting instructor terminating training due to
33 * player shooting at him.
35 * 6 4/15/98 5:25p Lawrance
36 * extern Training_msg_visible
38 * 5 1/05/98 4:04p Hoffoss
39 * Changed training-msg sexp operator to allow it to control the length of
40 * time a message is displayed for.
42 * 4 10/17/97 6:39p Hoffoss
43 * Added delayability to key-pressed operator and training-msg operator.
45 * 3 10/10/97 6:15p Hoffoss
46 * Implemented a training objective list display.
48 * 2 10/09/97 4:44p Hoffoss
49 * Dimmed training window glass and made it less transparent, added flags
50 * to events, set he stage for detecting current events.
52 * 1 10/09/97 2:41p Hoffoss
57 extern int Training_msg_method;
58 extern int Training_num_lines;
59 extern int Training_msg_visible;
60 extern int Training_failure;
62 void training_mission_init();
63 void training_mission_shutdown();
64 void training_check_objectives();
65 void message_training_que(char *text, int timestamp, int length = -1);
66 void message_training_setup(int num, int length = -1);
67 void message_training_display();
68 void message_translate_tokens(char *buf, char *text);