Stuff concerning issue
This commit is contained in:
parent
243ddc400d
commit
63acb4374d
2
deps/mongoose
vendored
2
deps/mongoose
vendored
@ -1 +1 @@
|
||||
Subproject commit 844c7787f9d86715c80ab56f4f28d1b808df5341
|
||||
Subproject commit 4120f953c7e5a14fdce2445effb1158b0650f103
|
@ -207,7 +207,7 @@ namespace Components
|
||||
{
|
||||
auto fsGame = Dvar::Var("fs_game");
|
||||
fsGame.Set(mod);
|
||||
fsGame.Get<Game::dvar_t*>()->pad2[0] = 1;
|
||||
fsGame.Get<Game::dvar_t*>()->modified = true;
|
||||
|
||||
mod.clear();
|
||||
|
||||
|
@ -60,7 +60,7 @@ namespace Components
|
||||
{
|
||||
auto fsGame = Dvar::Var("fs_game");
|
||||
fsGame.Set("");
|
||||
fsGame.Get<Game::dvar_t*>()->pad2[0] = 1;
|
||||
fsGame.Get<Game::dvar_t*>()->modified = true;
|
||||
|
||||
if (Dvar::Var("cl_modVidRestart").Get<bool>())
|
||||
{
|
||||
@ -76,7 +76,7 @@ namespace Components
|
||||
{
|
||||
auto fsGame = Dvar::Var("fs_game");
|
||||
fsGame.Set(fmt::sprintf("mods/%s", mod.data()));
|
||||
fsGame.Get<Game::dvar_t*>()->pad2[0] = 1;
|
||||
fsGame.Get<Game::dvar_t*>()->modified = true;
|
||||
|
||||
if (Dvar::Var("cl_modVidRestart").Get<bool>())
|
||||
{
|
||||
|
@ -117,14 +117,14 @@ namespace Game
|
||||
typedef struct dvar_t
|
||||
{
|
||||
//startbyte:endbyte
|
||||
const char* name; //0:3
|
||||
const char* description; //4:7
|
||||
unsigned int flags; //8:11
|
||||
char type; //12:12
|
||||
char pad2[3]; //13:15
|
||||
dvar_value_t current; //16:31
|
||||
dvar_value_t latched; //32:47
|
||||
dvar_value_t _default; //48:64
|
||||
const char* name; //0:3
|
||||
const char* description; //4:7
|
||||
unsigned int flags; //8:11
|
||||
char type; //12:12
|
||||
bool modified; //13:15
|
||||
dvar_value_t current; //16:31
|
||||
dvar_value_t latched; //32:47
|
||||
dvar_value_t _default; //48:64
|
||||
dvar_maxmin_t min; //65:67
|
||||
dvar_maxmin_t max; //68:72 woooo
|
||||
} dvar_t;
|
||||
|
Loading…
Reference in New Issue
Block a user