engine/EngineModel.c
//johnfitz -- used for non-lightmapped surfs with a missing texture
- used for non-lightmapped surfs with a missing texture
- used for non - lightmapped surfs with a missing texture
void Model_Initialize(void)
{
	memset(mod_novis,0xff,sizeof(mod_novis));
	r_notexture_mip = (texture_t*)Hunk_AllocName(sizeof(texture_t),"r_notexture_mip");
	strcpy(r_notexture_mip->name, "notexture");
	r_notexture_mip->height = r_notexture_mip->width = 32;
	r_notexture_mip2 = (texture_t*)Hunk_AllocName (sizeof(texture_t), "r_notexture_mip2");
	strcpy(r_notexture_mip2->name, "notexture2");
	r_notexture_mip2->height = r_notexture_mip2->width = 32;
}
void Model_Initialize ( void ) { memset ( mod_novis , 0xff , sizeof ( mod_novis ) ) ; r_notexture_mip = ( texture_t * ) Hunk_AllocName ( sizeof ( texture_t ) , " " ) ; strcpy ( r_notexture_mip -> name , " " ) ; r_notexture_mip -> height = r_notexture_mip -> width = 32 ; r_notexture_mip2 = ( texture_t * ) Hunk_AllocName ( sizeof ( texture_t ) , " " ) ; strcpy ( r_notexture_mip2 -> name , " " ) ; r_notexture_mip2 -> height = r_notexture_mip2 -> width = 32 ; }
johnfitz -- used for non-lightmapped surfs with a missing texture
johnfitz -- used for non - lightmapped surfs with a missing texture
//johnfitz -- create notexture miptex //johnfitz