-
Account Upgraded | Title Enabled!
5 Class Source please help me
use 5 Class Source how to open 7 class
https://forum.ragezone.com/f528/5-class-source-1069328/
CharacterEnum.h
enum
{
MAX_SELSCHOOL = 3,
MAX_SEX = 2,
MAX_CLASS = 7,
};
CreateCharacterNew.cpp
CString strTemp;
//回枇〈嗯淄⊥要站 谁鸳
for ( int i = 0 ; i < MAX_CLASS; ++i )
{
{
strTemp.Format ( "2012_NEW_CHAR_SELECT_CLASS_WOMEN_IMAGE%d",i);
m_pSelectClassImg_women[i] = new CUIControl;
m_pSelectClassImg_women[i]->CreateSub ( this, strTemp, UI_FLAG_DEFAULT, SELECT_CLASS_WOMEN_IMAGE0 + i );
m_pSelectClassImg_women[i]->SetVisibleSingle ( FALSE );
m_pSelectClassImg_women[i]->SetTransparentOption( TRUE );
RegisterControl ( m_pSelectClassImg_women[i] );
//渫ね雇要站
strTemp.Format ( "NEW_CHAR_ICON_CLASS_WOMEN_IMAGE%d",i);
m_pClassImg_women[i] = new CUIControl;
m_pClassImg_women[i]->CreateSub ( this, strTemp, UI_FLAG_DEFAULT, ICON_CLASS_WOMEN_IMAGE0 + i );
m_pClassImg_women[i]->SetVisibleSingle ( FALSE );
m_pClassImg_women[i]->SetTransparentOption( TRUE );
RegisterControl ( m_pClassImg_women[i] );
}
{
strTemp.Format ( "2012_NEW_CHAR_SELECT_CLASS_SET_WOMEN_IMAGE%d",i);
m_pSelectClassSetImg_women[i] = new CUIControl;
m_pSelectClassSetImg_women[i]->CreateSub ( this, strTemp, UI_FLAG_DEFAULT, SELECT_CLASS_SET_WOMEN_IMAGE0 + i );
m_pSelectClassSetImg_women[i]->SetVisibleSingle ( FALSE );
m_pSelectClassSetImg_women[i]->SetTransparentOption( TRUE );
RegisterControl ( m_pSelectClassSetImg_women[i] );
}
}
Why show only 5 Class?
-
-
Graveyard Networks
Re: 5 Class Source please help me
why not download the complete class source? i havent check that source yet but i think limiting and adding new classes isnt about putting the numbers on it... if you dont have an idea about C++ programming then find a source you can use on what you need because it is a very much complicated part of this development and im not sure if the section is even capable of teaching you c++