loadsky command implemented:

loadsky skyname
		turns it on if env/skyname*.tga exists

	loadsky none
		turns it off, always.

Clientside support.  Serverside key needs to be added still
This commit is contained in:
Joseph Carter 2000-05-18 20:32:11 +00:00
parent 00aa3557d4
commit 0594dcfd33
6 changed files with 51 additions and 2 deletions

View file

@ -239,6 +239,8 @@ void R_InitTextures (void)
}
}
void R_LoadSky_f ();
/*
===============
R_Init
@ -255,6 +257,7 @@ void R_Init (void)
Cmd_AddCommand ("timerefresh", R_TimeRefresh_f);
Cmd_AddCommand ("pointfile", R_ReadPointFile_f);
Cmd_AddCommand ("loadsky", R_LoadSky_f);
/* Cvar_RegisterVariable (&r_draworder);
CVAR_FIXME */