All pastes #103267 Raw Edit

Stuff

public text v1 · immutable
#103267 ·published 2006-07-28 06:51 UTC
rendered paste body
cgamepool = CG_MemAllocPool( "CGame" );

	memset( &cg, 0, sizeof(cg_state_t) );
	memset( &cgs, 0, sizeof(cg_static_t) );

	memset( cg_entities, 0, sizeof(cg_entities) );

	// save local player number
	cgs.playerNum = playerNum;

	// save current width and height
	cgs.vidWidth = vidWidth;
	cgs.vidHeight = vidHeight;

	CG_RegisterVariables();
	CG_InitTemporaryBoneposesCache(); // skelmod
	CG_PModelsInit();	//splitmodels

	SCR_Init();

	// get configstrings
	CG_RegisterConfigStrings();

	// register fonts here so loading screen works
	CG_RegisterFonts();
	cgs.shaderWhite = trap_R_RegisterPic( "gfx/ui/white" );


1001114B   . 68 28460310    PUSH cgame_x8.10034628                   ;  ASCII "CGame"
10011150   . FF15 48165310  CALL DWORD PTR DS:[10531648]
10011156   . 8B5424 1C      MOV EDX,DWORD PTR SS:[ESP+1C]
1001115A   . A3 38325A10    MOV DWORD PTR DS:[105A3238],EAX
1001115F   . 33C0           XOR EAX,EAX
10011161   . B9 27DE0000    MOV ECX,0DE27
10011166   . BF E0325A10    MOV EDI,cgame_x8.105A32E0
1001116B   . F3:AB          REP STOS DWORD PTR ES:[EDI]
1001116D   . B9 50C50000    MOV ECX,0C550
10011172   . BF A01C5710    MOV EDI,cgame_x8.10571CA0
10011177   . F3:AB          REP STOS DWORD PTR ES:[EDI]
10011179   . B9 009C0300    MOV ECX,39C00
1001117E   . BF A0AB5D10    MOV EDI,cgame_x8.105DABA0
10011183   . F3:AB          REP STOS DWORD PTR ES:[EDI]
10011185   . 8B4424 14      MOV EAX,DWORD PTR SS:[ESP+14]
10011189   . 8B4C24 18      MOV ECX,DWORD PTR SS:[ESP+18]
1001118D   . A3 A01C5710    MOV DWORD PTR DS:[10571CA0],EAX
10011192   . 890D 14235710  MOV DWORD PTR DS:[10572314],ECX
10011198   . 8915 18235710  MOV DWORD PTR DS:[10572318],EDX
1001119E   . E8 0DF0FFFF    CALL cgame_x8.100101B0
100111A3   . E8 0804FFFF    CALL cgame_x8.100015B0
100111A8   . E8 B3370000    CALL cgame_x8.10014960
100111AD   . E8 CEAC0000    CALL cgame_x8.1001BE80
100111B2   . E8 29F9FFFF    CALL cgame_x8.10010AE0
100111B7   . E8 A4FEFFFF    CALL cgame_x8.10011060
100111BC   . 68 18460310    PUSH cgame_x8.10034618                   ;  ASCII "gfx/ui/white"
100111C1   . FF15 D0155310  CALL DWORD PTR DS:[105315D0]