2018-12-24 17:22:56 -05:00
|
|
|
#pragma once
|
|
|
|
|
2018-12-26 14:21:20 -05:00
|
|
|
#include "structs.hpp"
|
2018-12-24 17:22:56 -05:00
|
|
|
#include "launcher/launcher.hpp"
|
|
|
|
|
|
|
|
#define SELECT_VALUE(sp, mp, dedi) (game::is_sp() ? (sp) : (game::is_mp() ? (mp) : (dedi)))
|
|
|
|
|
|
|
|
namespace game
|
|
|
|
{
|
|
|
|
namespace native
|
|
|
|
{
|
2018-12-26 14:21:20 -05:00
|
|
|
typedef void (*Conbuf_AppendText_t)(const char* message);
|
|
|
|
extern Conbuf_AppendText_t Conbuf_AppendText;
|
|
|
|
|
|
|
|
typedef void (*Sys_ShowConsole_t)();
|
2018-12-24 17:22:56 -05:00
|
|
|
extern Sys_ShowConsole_t Sys_ShowConsole;
|
|
|
|
}
|
2018-12-26 14:21:20 -05:00
|
|
|
|
2018-12-24 17:22:56 -05:00
|
|
|
bool is_mp();
|
|
|
|
bool is_sp();
|
|
|
|
bool is_dedi();
|
|
|
|
|
|
|
|
void initialize(launcher::mode mode);
|
2018-12-26 14:21:20 -05:00
|
|
|
}
|