|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
22 CVar*
cVarCreate(std::string
const& name, std::string
const& long_name,
23 int flags, std::string
const& val = std::string());
28 void cVarAssign(CVar* cvar, std::string
const& value);
33 CVar*
cVarFind(std::string
const& input_name);
38 CVar*
cVarSet(std::string
const& input_name, std::string
const& input_val);
43 CVar*
cVarGet(std::string
const& input_name,
int flags);
CVar * cVarGet(std::string const &input_name, int flags)
Get cvar by short/long name, or create new one using input as short name.
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Binding of RoR::Console; provides console variables (cvars), usually defined in RoR....
CVar * cVarCreate(std::string const &name, std::string const &long_name, int flags, std::string const &val=std::string())
Add CVar and parse default value if specified.
CVar * cVarFind(std::string const &input_name)
Find cvar by short/long name.
void cVarAssign(CVar *cvar, std::string const &value)
Parse value by cvar type.
CVar * cVarSet(std::string const &input_name, std::string const &input_val)
Set existing cvar by short/long name.