XGlobals Asset

From COD Engine Research
Revision as of 14:09, 26 February 2014 by Aerosoul94 (talk | contribs) (Created page with "__NOTOC__ Category:Assets Category:BO1 Category:BO2 The xGlobals asset exists only in Black Ops 1 and Black Ops 2 and appears to hold global variables. <source lan...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The xGlobals asset exists only in Black Ops 1 and Black Ops 2 and appears to hold global variables.

struct XGlobalStruct2	// 8
{
	const char *string1;
	int unknown;
};

struct XGlobalStruct1	// 8
{
	const char *string1;
	int unknown;
};

struct XGlobal	// BO1 size = 0x28, BO2 size = 0x234
{
	const char *name;	// xGlobalsSingleton
	int xanimstreambufsize;
	int cinematixminsize;
	int cinematicmaxsize;
	int extracamres;
	int gump;
	float screenclearcolor[4];
#ifdef BO2
	int count1;
	XGlobalStruct1 *unk1;	// count = count1
	char unknown2[0x100];
	int count2;
	XGlobalStruct2 *unk2;	// count = count2
#endif
};