h1-mod/src/client/component/game_console.hpp

20 lines
523 B
C++
Raw Normal View History

2022-02-03 14:05:24 -05:00
#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, ...);
2022-02-03 14:05:24 -05:00
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);
2022-02-03 14:05:24 -05:00
void execute(const char* cmd);
}