Hello guys, i added to gunz options more options like MapTexture level, the normal High,Normal And Low so i added Clean...now how i can make it realy go to Clean map = 8 texture level, i have it as a command but i want to done it as an option, so i need a C++ code to done that,i tryed this but it's missy codes...
Code:pWidget = (MComboBox*)pResource->FindWidget("EffectLevel");
if(pWidget) {
pWidget->SetSelIndex(ZGetConfiguration()->GetVideo()->nEffectLevel);
}
All what i need only one fully code to done it :mellow:Code:int TexLevel = 0;
DWORD flag = 0;
int EffectLevel = 0;
int nTextureFormat = 0;
if(pWidget) {
TexLevel = pWidget->GetSelIndex();
if( ZGetConfiguration()->GetVideo()->bTerrible ){
ZGetConfiguration()->GetVideo()->nCharTexLevel = TexLevel;
if( TexLevel == 2 )
SetObjectTextureLevel(TexLevel+2);
else
SetObjectTextureLevel(TexLevel);
flag |= RTextureType_Object;
}
else if( ZGetConfiguration()->GetVideo()->nCharTexLevel != TexLevel ) {
ZGetConfiguration()->GetVideo()->nCharTexLevel = TexLevel;
SetObjectTextureLevel(TexLevel);
flag |= RTextureType_Object;
}
}

