FS2_Open
Open source remastering of the Freespace 2 engine
missioncmdbrief.h
Go to the documentation of this file.
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 the
6  * source.
7  *
8 */
9 
10 
11 
12 #ifndef __MISSIONCMDBRIEF_H__
13 #define __MISSIONCMDBRIEF_H__
14 
15 #define CMD_BRIEF_STAGES_MAX 10
16 
17 #include "globalincs/globals.h"
18 #include "globalincs/pstypes.h"
19 #include "graphics/generic.h"
20 
21 struct anim;
22 struct anim_instance;
23 
25  SCP_string text; // text to display
26  char ani_filename[MAX_FILENAME_LEN]; // associated ani file to play
27  char wave_filename[MAX_FILENAME_LEN]; // associated wav file to play
28  int wave; // instance number of above
29 };
30 
31 struct cmd_brief {
35 };
36 
38 extern cmd_brief *Cur_cmd_brief; // pointer to one of the Cmd_briefs elements (the active one)
39 
40 extern int Cmd_brief_overlay_id;
41 
42 void cmd_brief_init(int stages);
43 void cmd_brief_close();
44 void cmd_brief_do_frame(float frametime);
45 void cmd_brief_hold();
46 void cmd_brief_unhold();
47 
48 void cmd_brief_pause();
49 void cmd_brief_unpause();
50 
52 
53 #endif // __MISSIONCMDBRIEF_H__
#define MAX_FILENAME_LEN
Definition: pstypes.h:324
GLbitfield stages
Definition: Glext.h:7177
#define GR_NUM_RESOLUTIONS
Definition: 2d.h:651
void cmd_brief_unpause()
char ani_filename[MAX_FILENAME_LEN]
std::basic_string< char, std::char_traits< char >, std::allocator< char > > SCP_string
Definition: vmallocator.h:21
void cmd_brief_hold()
#define CMD_BRIEF_STAGES_MAX
void cmd_brief_do_frame(float frametime)
int mission_has_cmd_brief()
int Cmd_brief_overlay_id
cmd_brief_stage stage[CMD_BRIEF_STAGES_MAX]
void cmd_brief_unhold()
void cmd_brief_close()
cmd_brief * Cur_cmd_brief
char background[GR_NUM_RESOLUTIONS][MAX_FILENAME_LEN]
void cmd_brief_pause()
char wave_filename[MAX_FILENAME_LEN]
#define MAX_TVT_TEAMS
Definition: globals.h:57
void cmd_brief_init(int stages)
cmd_brief Cmd_briefs[MAX_TVT_TEAMS]