void trap_R_LoadWorldMap( const char *mapname ) { DEBUG_REGISTERPROFILE_INIT CG_DrawInformation( qtrue ); syscall( CG_R_LOADWORLDMAP, mapname ); DEBUG_REGISTERPROFILE_EXEC("trap_R_LoadWorldMap",mapname) trap_PumpEventLoop(); }
void trap_R_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) { DEBUG_REGISTERPROFILE_INIT CG_DrawInformation( qtrue ); syscall(CG_R_REGISTERFONT, fontName, pointSize, font ); DEBUG_REGISTERPROFILE_EXEC("trap_R_RegisterFont",fontName) trap_PumpEventLoop(); }
qhandle_t trap_R_RegisterShaderNoMip( const char *name ) { qhandle_t handle; DEBUG_REGISTERPROFILE_INIT CG_DrawInformation( qtrue ); handle = syscall( CG_R_REGISTERSHADERNOMIP, name ); trap_PumpEventLoop(); DEBUG_REGISTERPROFILE_EXEC("trap_R_RegisterShaderNpMip", name); return handle; }
qhandle_t trap_R_RegisterSkin( const char *name ) { qhandle_t handle; DEBUG_REGISTERPROFILE_INIT CG_DrawInformation( qtrue ); handle = syscall( CG_R_REGISTERSKIN, name ); DEBUG_REGISTERPROFILE_EXEC("trap_R_RegisterSkin",name) trap_PumpEventLoop(); return handle; }
sfxHandle_t trap_S_RegisterSound( const char *sample, qboolean compressed ) { sfxHandle_t snd; DEBUG_REGISTERPROFILE_INIT CG_DrawInformation( qtrue ); snd = syscall( CG_S_REGISTERSOUND, sample, qfalse /* compressed */ ); if(!*sample) { Com_Printf("^1Warning: Null Sample filename\n"); } if(snd == 0) { Com_Printf("^1Warning: Failed to load sound: %s\n", sample); } DEBUG_REGISTERPROFILE_EXEC("trap_S_RegisterSound",sample) trap_PumpEventLoop(); return snd; }
void trap_R_LoadWorldMap( const char *mapname ) { CG_DrawInformation( qtrue ); trap_PumpEventLoop(); syscall( CG_R_LOADWORLDMAP, mapname ); }
void trap_R_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) { CG_DrawInformation( qtrue ); trap_PumpEventLoop(); syscall(CG_R_REGISTERFONT, fontName, pointSize, font ); }
qhandle_t trap_R_RegisterShaderNoMip( const char *name ) { CG_DrawInformation( qtrue ); trap_PumpEventLoop(); return syscall( CG_R_REGISTERSHADERNOMIP, name ); }
qhandle_t trap_R_RegisterSkin( const char *name ) { CG_DrawInformation( qtrue ); trap_PumpEventLoop(); return syscall( CG_R_REGISTERSKIN, name ); }
sfxHandle_t trap_S_RegisterSound( const char *sample, qboolean compressed ) { CG_DrawInformation( qtrue ); trap_PumpEventLoop(); return syscall( CG_S_REGISTERSOUND, sample, qfalse /* compressed */ ); }
//60. //return re.RegisterModel(VMA(1)); qhandle_t trap_R_RegisterModel(const char *name) { //CG_DrawInformation(qtrue); trap_PumpEventLoop(); return syscall(CG_R_REGISTERMODEL, name); }