![Logo](../../rorlogo.png) |
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
56 CVar(std::string
const& name, std::string
const& long_name,
int flags):
76 std::string str = this->
convertStr((
float)val);
108 void logUpdate(std::string
const& new_val);
@ CVAR_NO_LOG
Will not be written to RoR.log.
void logUpdate(std::string const &new_val)
@ CVAR_ARCHIVE
Will be written to RoR.cfg.
std::string convertStr(float val)
std::string const & getStr() const
CVar(std::string const &name, std::string const &long_name, int flags)
bool hasFlag(int f) const
Quake-style console variable, defined in RoR.cfg or crated via Console UI and scripts.
std::string const & getName() const
std::string const & getLongName() const
void setStr(std::string const &str)