h1-mod/src/client/component/game_console.hpp
Skull 1b91a2deac stuff
Console improvement & printing
s1 command system"needs work"
2022-02-04 23:17:56 +02:00

20 lines
523 B
C++

#pragma once
namespace game_console
{
enum console_type
{
con_type_error = 1,
con_type_warning = 3,
con_type_info = 7
};
//void print(int type, const char* fmt, ...);
bool console_char_event(int local_client_num, int key);
bool console_key_event(int local_client_num, int key, int down);
bool match_compare(const std::string& input, const std::string& text, const bool exact);
void find_matches(std::string input, std::vector<std::string>& suggestions, const bool exact);
void execute(const char* cmd);
}