]> icculus.org git repositories - taylor/freespace2.git/blob - include/missiontraining.h
proper padding of PXO stats struct for FS2 demo
[taylor/freespace2.git] / include / missiontraining.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
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
6  * the source.
7  */
8
9 /*
10  * $Logfile: /Freespace2/code/Mission/MissionTraining.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Special code for training missions.  Stuff like displaying training messages in
16  * the special training window, listing the training objectives, etc.
17  *
18  * $Log$
19  * Revision 1.2  2002/06/09 04:41:14  relnev
20  * added copyright header
21  *
22  * Revision 1.1.1.1  2002/05/03 03:28:12  root
23  * Initial import.
24  *
25  * 
26  * 2     10/07/98 10:53a Dave
27  * Initial checkin.
28  * 
29  * 1     10/07/98 10:49a Dave
30  * 
31  * 7     4/16/98 4:33p Hoffoss
32  * Added support for detecting instructor terminating training due to
33  * player shooting at him.
34  * 
35  * 6     4/15/98 5:25p Lawrance
36  * extern Training_msg_visible
37  * 
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.
41  * 
42  * 4     10/17/97 6:39p Hoffoss
43  * Added delayability to key-pressed operator and training-msg operator.
44  * 
45  * 3     10/10/97 6:15p Hoffoss
46  * Implemented a training objective list display.
47  * 
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.
51  * 
52  * 1     10/09/97 2:41p Hoffoss
53  *
54  * $NoKeywords: $
55  */
56
57 extern int Training_msg_method;
58 extern int Training_num_lines;
59 extern int Training_msg_visible;
60 extern int Training_failure;
61
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, const int max_buflen, char *text);
69 void training_fail();
70