[cvar] Clean up most misinterpreted cvar types

The misinterpretations were due to either the cvar not being accessed
directly by the engine, but via only the callback, or the cvars were
accesssed only by progs (in which case, they should be float). The
remainder are a potential enum (hud gravity) and a "too hard basket"
(rcon password: need to figure out how I want to handle secret strings).
This commit is contained in:
Bill Currie 2022-04-24 20:04:06 +09:00
parent 90447a5d3b
commit bff0847761
24 changed files with 121 additions and 127 deletions

View file

@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern struct recorder_s demo;
extern float sv_demofps;
extern float sv_demoPings;
extern char *sv_demoMaxSize;
void SV_Stop (int reason);
void Demo_Init (void);