mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Add a few debug cvars for development purposes.
git-svn-id: https://svn.eduke32.com/eduke32@1702 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
399a822fd7
commit
3d31f645fb
3 changed files with 12 additions and 0 deletions
|
@ -284,6 +284,10 @@ extern char palfadedelta;
|
|||
|
||||
extern int32_t dommxoverlay, novoxmips;
|
||||
|
||||
#ifdef DEBUGGINGAIDS
|
||||
extern float debug1, debug2;
|
||||
#endif
|
||||
|
||||
#ifdef SUPERBUILD
|
||||
extern int32_t tiletovox[MAXTILES];
|
||||
extern int32_t usevoxels, voxscale[MAXVOXELS];
|
||||
|
|
|
@ -318,6 +318,10 @@ int32_t baselayer_init(void)
|
|||
{ "vid_gamma","vid_gamma <gamma>: adjusts gamma ramp",(void *)&vid_gamma, CVAR_DOUBLE|CVAR_FUNCPTR, 0, 10 },
|
||||
{ "vid_contrast","vid_contrast <gamma>: adjusts gamma ramp",(void *)&vid_contrast, CVAR_DOUBLE|CVAR_FUNCPTR, 0, 10 },
|
||||
{ "vid_brightness","vid_brightness <gamma>: adjusts gamma ramp",(void *)&vid_brightness, CVAR_DOUBLE|CVAR_FUNCPTR, 0, 10 },
|
||||
#endif
|
||||
#ifdef DEBUGGINGAIDS
|
||||
{ "debug1","debug counter",(void *)&debug1, CVAR_FLOAT, -100000, 100000 },
|
||||
{ "debug2","debug counter",(void *)&debug2, CVAR_FLOAT, -100000, 100000 },
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
@ -44,6 +44,10 @@
|
|||
|
||||
#define CACHEAGETIME 16
|
||||
|
||||
#ifdef DEBUGGINGAIDS
|
||||
float debug1, debug2;
|
||||
#endif
|
||||
|
||||
#ifdef SUPERBUILD
|
||||
void loadvoxel(int32_t voxindex) { voxindex=0; }
|
||||
int32_t tiletovox[MAXTILES];
|
||||
|
|
Loading…
Reference in a new issue