init
This commit is contained in:
27
src/client/component/dvars.hpp
Normal file
27
src/client/component/dvars.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
namespace dvars
|
||||
{
|
||||
namespace disable
|
||||
{
|
||||
void set_bool(const std::string& name);
|
||||
void set_float(const std::string& name);
|
||||
void set_int(const std::string& name);
|
||||
void set_string(const std::string& name);
|
||||
}
|
||||
|
||||
namespace override
|
||||
{
|
||||
void register_bool(const std::string& name, bool value, unsigned int flags);
|
||||
void register_float(const std::string& name, float value, float min, float max, unsigned int flags);
|
||||
void register_int(const std::string& name, int value, int min, int max, unsigned int flags);
|
||||
void register_string(const std::string& name, const std::string& value, unsigned int flags);
|
||||
void register_vector2(const std::string& name, float x, float y, float min, float max, unsigned int flags);
|
||||
void register_vector3(const std::string& name, float x, float y, float z, float min, float max, unsigned int flags);
|
||||
|
||||
void set_bool(const std::string& name, bool boolean);
|
||||
void set_float(const std::string& name, float fl);
|
||||
void set_int(const std::string& name, int integer);
|
||||
void set_string(const std::string& name, const std::string& string);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user