Move HUD_render_message_frame into namespace dsx
This commit is contained in:
parent
6d311a97e9
commit
3693b2317d
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
#include "dxxsconf.h"
|
||||
#include "dsx-ns.h"
|
||||
#include "fmtcheck.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -24,7 +25,11 @@
|
|||
|
||||
extern int HUD_toolong;
|
||||
extern void HUD_clear_messages();
|
||||
#ifdef dsx
|
||||
namespace dsx {
|
||||
extern void HUD_render_message_frame();
|
||||
}
|
||||
#endif
|
||||
int HUD_init_message(int class_flag, const char * format, ... ) __attribute_format_printf(2, 3);
|
||||
#define HUD_init_message(A1,F,...) dxx_call_printf_checked(HUD_init_message,HUD_init_message_literal,(A1),(F),##__VA_ARGS__)
|
||||
int HUD_init_message_va(int class_flag, const char * format, va_list args) __attribute_format_printf(2, 0);
|
||||
|
|
|
@ -70,6 +70,7 @@ void HUD_clear_messages()
|
|||
HUD_color = -1;
|
||||
}
|
||||
|
||||
namespace dsx {
|
||||
// ----------------------------------------------------------------------------
|
||||
// Writes a message on the HUD and checks its timer.
|
||||
void HUD_render_message_frame()
|
||||
|
@ -125,6 +126,7 @@ void HUD_render_message_frame()
|
|||
|
||||
gr_set_curfont( GAME_FONT );
|
||||
}
|
||||
}
|
||||
|
||||
static int is_worth_showing(int class_flag)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue