void SCR_RegisterShaders( void ) { cls.fillImage = GL_LoadTexture( "*white", NULL, 0, TF_IMAGE ); // used for FillRGBA cls.particleImage = GL_LoadTexture( "*particle", NULL, 0, TF_IMAGE ); // register gfx.wad images cls.pauseIcon = GL_LoadTexture( "gfx.wad/paused.lmp", NULL, 0, TF_IMAGE ); cls.loadingBar = GL_LoadTexture( "gfx.wad/lambda.lmp", NULL, 0, TF_IMAGE|TF_LUMINANCE ); cls.creditsFont.hFontTexture = GL_LoadTexture( "gfx.wad/creditsfont.fnt", NULL, 0, TF_IMAGE ); cls.hChromeSprite = pfnSPR_Load( "sprites/shellchrome.spr" ); SCR_LoadCreditsFont (); SCR_InstallParticlePalette (); }
void SCR_RegisterTextures( void ) { cls.fillImage = GL_LoadTexture( "*white", NULL, 0, TF_IMAGE, NULL ); // used for FillRGBA cls.particleImage = GL_LoadTexture( "*particle", NULL, 0, TF_IMAGE, NULL ); // register gfx.wad images cls.oldParticleImage = GL_LoadTexture("*oldparticle", NULL, 0, TF_IMAGE, NULL); cls.pauseIcon = GL_LoadTexture( "gfx.wad/paused.lmp", NULL, 0, TF_IMAGE, NULL ); if( cl_allow_levelshots->integer ) cls.loadingBar = GL_LoadTexture( "gfx.wad/lambda.lmp", NULL, 0, TF_IMAGE|TF_LUMINANCE, NULL ); else cls.loadingBar = GL_LoadTexture( "gfx.wad/lambda.lmp", NULL, 0, TF_IMAGE, NULL ); cls.tileImage = GL_LoadTexture( "gfx.wad/backtile.lmp", NULL, 0, TF_UNCOMPRESSED|TF_NOPICMIP|TF_NOMIPMAP, NULL ); cls.hChromeSprite = pfnSPR_Load( "sprites/shellchrome.spr" ); }