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

16 lines
428 B
C++
Raw Normal View History

2021-04-20 00:56:11 +02:00
#pragma once
#include "game/dvars.hpp"
2021-04-20 00:56:11 +02:00
namespace game_console
{
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);
void find_matches(std::string input, std::vector<dvars::dvar_info>& suggestions, const bool exact);
2021-04-23 16:45:33 +02:00
void execute(const char* cmd);
2021-12-21 02:00:22 +01:00
void clear_console();
2022-06-17 20:22:12 +02:00
void add(const std::string& cmd);
2021-04-20 00:56:11 +02:00
}