Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   what's this? :o (https://postpacific.loc-online.com/showthread.php?t=4410)

Digital 14.05.2006 00:58

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);
}
}

RipperX 14.05.2006 01:21

Tell me where did u get and maybe i can tell u what is it.

Roton 14.05.2006 01:39

Looks almost like the initialization logging process for L2J or someone's custom-written one. >.>


All times are GMT. The time now is 16:26.