Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 General
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 14.05.2006, 00:58   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default what's this? :o

//
// FUNCTION: InitInstance(HANDLE, int)
//
// PURPOSE: Saves instance handle and creates main window
//
// COMMENTS:
//
// In this function, we save the instance handle in a global variable and
// create and display the main program window.
//

CHTMLCache g_HTMLCache;

void LoadData(void)
{
guard(void LoadData(void));




Log.Add(LOG_NORMAL, "Start Loading Server Data");

// GeoData
Log.Add(LOG_NORMAL, "Loading GeoData");
g_World.GetGeo()->Load();
// Log.Add(LOG_NORMAL, "Loading GeoData Finished");


// PCH
Log.Add(LOG_NORMAL, "Loading precompiled IDs");
g_PrecompiledHeaderDB.Load(L"..\\script\\", 0);
// Log.Add(LOG_NORMAL, "Loading precompiled IDs finished");

// PC Parameter
Log.Add(LOG_NORMAL, "Loading PC_Parameter");
g_PCParamDB.Load();
// Log.Add(LOG_NORMAL, "Loading PC_Parameter finished");


// Skill
Log.Add(LOG_NORMAL, "Loading SkillData");
g_SkillDB.Load();
// Log.Add(LOG_NORMAL, "Loading SkillData finished");

// Item (skill)
Log.Add(LOG_NORMAL, "Loading items");
g_ObjectDB.LoadItem();
// Log.Add(LOG_NORMAL, "Loading items finished");

// SkillAcquire (skill, item)
Log.Add(LOG_NORMAL, "Loading SkillAcquire");
g_SkillAcquireDB.Load();
// Log.Add(LOG_NORMAL, "Loading SkillAcquire finished");
/*
std::xvector<SkillAcquireInfo*> testvect;

int ct;
int i;
for (ct = CT_FIGHTER; ct<=CT_WARSMITH; ct++)
{
testvect = g_SkillAcquireDB.GetAcquirableSkills((ClassType)ct );
Log.Add(LOG_NORMAL, L"--- skill of [%d]", ct);
for (i=0; i<testvect.size(); i++)
{
Log.Add(LOG_NORMAL, "[%d : %d]", testvect->nSkillID, testvect->nSkillLevel);
}
}
Digital is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:28.