12 #ifndef _MISSIONMESSAGE_H
13 #define _MISSIONMESSAGE_H
37 #define MESSAGE_PRIORITY_LOW 1
38 #define MESSAGE_PRIORITY_NORMAL 2
39 #define MESSAGE_PRIORITY_HIGH 3
42 #define MESSAGE_TIME_IMMEDIATE 1
43 #define MESSAGE_TIME_SOON 2
44 #define MESSAGE_TIME_ANYTIME 3
47 #define MESSAGE_SOURCE_SHIP 1
48 #define MESSAGE_SOURCE_WINGMAN 2
49 #define MESSAGE_SOURCE_COMMAND 3
50 #define MESSAGE_SOURCE_SPECIAL 4
51 #define MESSAGE_SOURCE_NONE 5
54 #define DEFAULT_COMMAND "Command"
70 #define MAX_BUILTIN_MESSAGE_TYPES 45
74 #define MESSAGE_ARRIVE_ENEMY 0
75 #define MESSAGE_ATTACK_TARGET 1
76 #define MESSAGE_BETA_ARRIVED 2
77 #define MESSAGE_CHECK_6 3
78 #define MESSAGE_ENGAGE 4
79 #define MESSAGE_GAMMA_ARRIVED 5
80 #define MESSAGE_HELP 6
81 #define MESSAGE_PRAISE 7
82 #define MESSAGE_REINFORCEMENTS 8
83 #define MESSAGE_IGNORE 9
84 #define MESSAGE_NOSIR 10
85 #define MESSAGE_OOPS 11
86 #define MESSAGE_PERMISSION 12
87 #define MESSAGE_STRAY 13
88 #define MESSAGE_WARP_OUT 14
89 #define MESSAGE_YESSIR 15
90 #define MESSAGE_REARM_ON_WAY 16
91 #define MESSAGE_ON_WAY 17
92 #define MESSAGE_REARM_WARP 18
93 #define MESSAGE_NO_TARGET 19
94 #define MESSAGE_DOCK_YES 20
95 #define MESSAGE_REPAIR_DONE 21
96 #define MESSAGE_REPAIR_ABORTED 22
97 #define MESSAGE_HAMMER_SWINE 23
98 #define MESSAGE_REARM_REQUEST 24 // wingman messages player when he calls a support ship
99 #define MESSAGE_DISABLE_TARGET 25
100 #define MESSAGE_DISARM_TARGET 26
101 #define MESSAGE_PLAYER_DIED 27 // message sent when player starts death roll
102 #define MESSAGE_WINGMAN_SCREAM 28
103 #define MESSAGE_SUPPORT_KILLED 29
104 #define MESSAGE_ALL_CLEAR 30
105 #define MESSAGE_ALL_ALONE 31 // message sent when player is last ship left and primary objectives still exist
106 #define MESSAGE_REPAIR_REQUEST 32
107 #define MESSAGE_DELTA_ARRIVED 33
108 #define MESSAGE_EPSILON_ARRIVED 34
109 #define MESSAGE_INSTRUCTOR_HIT 35
110 #define MESSAGE_INSTRUCTOR_ATTACK 36
111 #define MESSAGE_STRAY_WARNING 37
112 #define MESSAGE_STRAY_WARNING_FINAL 38
113 #define MESSAGE_AWACS_75 39
114 #define MESSAGE_AWACS_25 40
115 #define MESSAGE_PRAISE_SELF 41
116 #define MESSAGE_HIGH_PRAISE 42
117 #define MESSAGE_REARM_PRIMARIES 43
118 #define MESSAGE_PRIMARIES_LOW 44
166 #define MAX_PERSONA_TYPES 4
170 #define PERSONA_FLAG_WINGMAN (1<<0)
171 #define PERSONA_FLAG_SUPPORT (1<<1)
172 #define PERSONA_FLAG_LARGE (1<<2) // for large ships
173 #define PERSONA_FLAG_COMMAND (1<<3) // for terran command
176 #define PERSONA_FLAG_VASUDAN (1<<30)
177 #define PERSONA_FLAG_USED (1<<31)
int Default_command_persona
int Praise_self_percentage
SCP_vector< MMessage > Messages
GLenum GLuint GLenum GLsizei const GLchar * message
void message_pagein_mission_messages()
struct builtin_message builtin_message
void message_parse(bool importing_from_fsm=false)
void message_queue_message(int message_num, int priority, int timing, char *who_from, int source, int group, int delay, int builtin_type=-1)
void message_mission_close()
void message_send_builtin_to_player(int type, ship *shipp, int priority, int timing, int group, int delay, int multi_target, int multi_team_filter)
union MissionMessage::@254 avi_info
struct message_extra message_extra
void message_queue_process()
struct MissionMessage MMessage
pmessage Playing_messages[2]
void message_kill_all(int kill_all)
SCP_vector< message_extra > Message_avis
SCP_vector< message_extra > Message_waves
GLuint const GLchar * name
union MissionMessage::@255 wave_info
void message_load_wave(int index, const char *filename)
void message_mission_shutdown()
bool substitute_missing_messages
int message_persona_name_lookup(char *name)
int message_filter_multi(int id)
bool add_message(char *name, char *message, int persona_index, int multi_team)
GLenum GLsizei GLenum GLenum const GLvoid * data
SCP_vector< SCP_string > Builtin_moods
void message_maybe_distort()
bool change_message(char *name, char *message, int persona_index, int multi_team)
builtin_message Builtin_messages[]
GLsizei GLsizei GLchar * source
void message_send_unique_to_player(char *id, void *data, int source, int priority, int group, int delay)
SCP_vector< int > excluded_moods
bool message_filename_is_generic(char *filename)
int message_anim_is_playing()