Hi,
I’m working around the cvars and menus.
And try to correct an inconsistency that has appeared in the tutorial I have written.
The value of a cvars can be set via menu.
In the menu file there is one variable name per cvar.
The cvar should be declared in the “_main.c"- and "local.h"-file where it fits best.
Now I have the problem to use this variable in a "bg.c"-file (both game).
In the menu I have only one variable.
Whereas I have two corresponding cvars in the "bg.c”-file (comming from the game- and cgame-files).