void DemonMenu::CreateItem(int index, char * title, int *hack, int hackmaxval,int hacktype)
{
hackcount++;
HACKITEM[hackcount].index = index;
HACKITEM[hackcount].hack = hack;
HACKITEM[hackcount].hackmaxval = hackmaxval;
HACKITEM[hackcount].hacktype = hacktype;
PrintText(title, xFontOffSet, index*15,HACKITEM[hackcount].HCOLOR,pFont);//If you want to move the menu opts down do something
//like this (index*15)+20 and to move it left or right just add/subtract from font offset.
}
HRESULT WINAPI EndScene(LPDIRECT3DDEVICE9 pDevice)
{
ReFont(pDevice);
dMenu.BuildMenu("Austen 407's Menu Hack",0,0,180,200,RED,BLACK,GREEN,pDevice);
return pEndScene(pDevice);
}