예제 #1
0
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();
}
예제 #2
0
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();
}
예제 #3
0
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;
}
예제 #4
0
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;
}
예제 #5
0
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;
}
예제 #6
0
void	trap_R_LoadWorldMap( const char *mapname ) {
	CG_DrawInformation( qtrue );
	trap_PumpEventLoop();
	syscall( CG_R_LOADWORLDMAP, mapname );
}
예제 #7
0
void trap_R_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) {
	CG_DrawInformation( qtrue );
	trap_PumpEventLoop();
	syscall(CG_R_REGISTERFONT, fontName, pointSize, font );
}
예제 #8
0
qhandle_t trap_R_RegisterShaderNoMip( const char *name ) {
	CG_DrawInformation( qtrue );
	trap_PumpEventLoop();
	return syscall( CG_R_REGISTERSHADERNOMIP, name );
}
예제 #9
0
qhandle_t trap_R_RegisterSkin( const char *name ) {
	CG_DrawInformation( qtrue );
	trap_PumpEventLoop();
	return syscall( CG_R_REGISTERSKIN, name );
}
예제 #10
0
sfxHandle_t	trap_S_RegisterSound( const char *sample, qboolean compressed ) {
	CG_DrawInformation( qtrue );
	trap_PumpEventLoop();
	return syscall( CG_S_REGISTERSOUND, sample, qfalse /* compressed */ );
}
예제 #11
0
파일: cg_api.c 프로젝트: DerSaidin/OpenWolf
//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);
}