Open source remastering of the Freespace 2 engine
hudmessage.h File Reference
#include "anim/packunpack.h"
#include "graphics/generic.h"
#include "hud/hud.h"

Go to the source code of this file.


struct  HUD_message_data
struct  line_node
struct  Hud_display_info
class  HudGaugeMessages
class  HudGaugeTalkingHead
class  HudGaugeFixedMessages


#define MAX_HUD_LINE_LEN   256


typedef struct HUD_message_data HUD_message_data
typedef struct line_node line_node
typedef struct Hud_display_info Hud_display_info


void hud_scrollback_init ()
void hud_scrollback_close ()
void hud_scrollback_do_frame (float frametime)
void hud_scrollback_exit ()
void hud_init_msg_window ()
void hud_clear_msg_buffer ()
int HUD_team_get_source (int team)
int HUD_source_get_team (int team)
void HUD_printf (const char *format,...)
void hud_sourced_print (int source, const char *msg)
void HUD_sourced_printf (int source, const char *format,...)
void HUD_ship_sent_printf (int sh, const char *format,...)
void HUD_fixed_printf (float duration, color col, const char *format,...)
void HUD_init_fixed_text ()
void HUD_add_to_scrollback (const char *text, int source)
void hud_add_line_to_scrollback (const char *text, int source, int t, int x, int y, int w)
void hud_add_msg_to_scrollback (const char *text, int source, int t)
void hud_free_scrollback_list ()


line_node Msg_scrollback_used_list

Macro Definition Documentation


Definition at line 21 of file hudmessage.h.


Definition at line 25 of file hudmessage.h.


Definition at line 23 of file hudmessage.h.


Definition at line 24 of file hudmessage.h.


Definition at line 28 of file hudmessage.h.


Definition at line 26 of file hudmessage.h.


Definition at line 30 of file hudmessage.h.


Definition at line 27 of file hudmessage.h.


Definition at line 22 of file hudmessage.h.

#define MAX_HUD_LINE_LEN   256

Definition at line 19 of file hudmessage.h.

Typedef Documentation

typedef struct line_node line_node

Function Documentation

void hud_add_line_to_scrollback ( const char *  text,
int  source,
int  t,
int  x,
int  y,
int  w 
void hud_add_msg_to_scrollback ( const char *  text,
int  source,
int  t 

Definition at line 683 of file hudmessage.cpp.

void HUD_add_to_scrollback ( const char *  text,
int  source 

Definition at line 642 of file hudmessage.cpp.

void hud_clear_msg_buffer ( )

Definition at line 243 of file hudmessage.cpp.

void HUD_fixed_printf ( float  duration,
color  col,
const char *  format,

Definition at line 470 of file hudmessage.cpp.

void hud_free_scrollback_list ( )

Definition at line 724 of file hudmessage.cpp.

void HUD_init_fixed_text ( )

Definition at line 207 of file hudmessage.cpp.

void hud_init_msg_window ( )

Definition at line 220 of file hudmessage.cpp.

void HUD_printf ( const char *  format,

Definition at line 527 of file hudmessage.cpp.

void hud_scrollback_close ( )

Definition at line 979 of file hudmessage.cpp.

void hud_scrollback_do_frame ( float  frametime)

Definition at line 998 of file hudmessage.cpp.

void hud_scrollback_exit ( )

Definition at line 1185 of file hudmessage.cpp.

void hud_scrollback_init ( )

Definition at line 931 of file hudmessage.cpp.

void HUD_ship_sent_printf ( int  sh,
const char *  format,

Definition at line 546 of file hudmessage.cpp.

int HUD_source_get_team ( int  team)

Definition at line 521 of file hudmessage.cpp.

void hud_sourced_print ( int  source,
const char *  msg 

Definition at line 590 of file hudmessage.cpp.

void HUD_sourced_printf ( int  source,
const char *  format,

Definition at line 571 of file hudmessage.cpp.

int HUD_team_get_source ( int  team)

Definition at line 515 of file hudmessage.cpp.

Variable Documentation

line_node Msg_scrollback_used_list

Definition at line 143 of file hudmessage.cpp.