2358dcf30b
+ added in-game developer console + added dvar definitions and helping class + list of known game dvars can be found inside variables.cpp + adjusted logger component + re-enabled com_frame hook + some minor code formatting
27 lines
428 B
C++
27 lines
428 B
C++
#pragma once
|
|
|
|
namespace fnv1a
|
|
{
|
|
uint64_t generate_hash(const char* string);
|
|
}
|
|
|
|
namespace variables
|
|
{
|
|
struct varInfo
|
|
{
|
|
std::string name;
|
|
const char* desc;
|
|
uint64_t fnv1a;
|
|
};
|
|
|
|
struct varEntry : varInfo
|
|
{
|
|
uintptr_t pointer = 0;
|
|
};
|
|
|
|
extern std::vector<varEntry> dvars_record;
|
|
extern std::vector<varEntry> commands_record;
|
|
|
|
std::vector<const char*> get_dvars_list();
|
|
std::vector<const char*> get_commands_list();
|
|
} |