okay search for void drawmenu and just above that add this code
Code:
void RetarTMenuMenuStr2(int x, int y, ColorEntry* clr1, ColorEntry* clr2, const char *fmt, ... )
{
va_list va_alist;
char buf[256];
va_start (va_alist, fmt);
_vsnprintf(buf, sizeof(buf), fmt, va_alist);
va_end (va_alist);
int w = cvar.menu_w;
tintArea(x-1,y-1,w,20,colorList.get(21));
DrawHudString(x,y,255,255,255,buf);
}
void RetarTMenuMenuSelStr2(int x, int y, ColorEntry* clr1, ColorEntry* clr2, const char *fmt, ... )
{
va_list va_alist;
char buf[256];
va_start (va_alist, fmt);
_vsnprintf(buf, sizeof(buf), fmt, va_alist);
va_end (va_alist);
int w = cvar.menu_w;
tintArea(x-1,y-1,w,20,colorList.get(22));
DrawHudString(x,y,255,255,255,buf);
}
now add this at the bottom of the drawmenu function
Code:
if (cvar.menu==2)
{
if(!menu_active) return;
if(!curMenu) { curMenu = ogcMenu.baseMenu; }
vector<OgcCommandMenu::MenuEntry>& items = curMenu->items;
int x=cvar.menu_x, y=cvar.menu_y, w=cvar.menu_w;
// title text
RetarTMenuMenuSelStr2(x,y-21,clr1,clr2,const_cast<char*>(curMenu->name.c_str()));
for(int i=0;i<items.size();i++)
{
OgcCommandMenu::MenuEntry& item=items;
if(curMenu->selection == i)
RetarTMenuMenuSelStr2(x,y+(21*i),clr1,clr3,const_cast<char*>(item.name.c_str()));
else
RetarTMenuMenuStr2(x,y+(21*i),clr1,clr2,const_cast<char*>(item.name.c_str()));
}
}
should work, i use it
also add something like this to your cfg
Code:
menu_back 255 255 255 60
menu_select 120 120 255 128
that looks like this if you did everything right except only the blue is black