Exemplo n.º 1
0
void CHelp::Load()
{
	nHelp0 = CreateTextureMaterial( "image\\Sinimage\\Help\\help_icon03.tga", 0, 0, 64,64, SMMAT_BLEND_ALPHA );
	nHelp1 = CreateTextureMaterial( "image\\Sinimage\\Help\\help_icon04.tga", 0, 0, 64,64, SMMAT_BLEND_ALPHA );

	nBox1  = CreateTextureMaterial( "image\\Sinimage\\Help\\GH-Box01.tga", 0, 0, 32,32, SMMAT_BLEND_ALPHA );
	nBox2  = CreateTextureMaterial( "image\\Sinimage\\Help\\GH-Box02.tga", 0, 0, 16,32, SMMAT_BLEND_ALPHA );
	nBox3  = CreateTextureMaterial( "image\\Sinimage\\Help\\GH-Box03.tga", 0, 0, 32,32, SMMAT_BLEND_ALPHA );
	nBox4  = CreateTextureMaterial( "image\\Sinimage\\Help\\GH-Box04.tga", 0, 0, 32,16, SMMAT_BLEND_ALPHA );
	nBox5  = CreateTextureMaterial( "image\\Sinimage\\Help\\GH-Box05.tga", 0, 0, 16,16, SMMAT_BLEND_ALPHA );
	nBox6  = CreateTextureMaterial( "image\\Sinimage\\Help\\GH-Box06.tga", 0, 0, 32,16, SMMAT_BLEND_ALPHA );
	nBox7  = CreateTextureMaterial( "image\\Sinimage\\Help\\GH-Box07.tga", 0, 0, 32,32, SMMAT_BLEND_ALPHA );
	nBox8  = CreateTextureMaterial( "image\\Sinimage\\Help\\GH-Box08.tga", 0, 0, 16,32, SMMAT_BLEND_ALPHA );
	nBox9  = CreateTextureMaterial( "image\\Sinimage\\Help\\GH-Box09.tga", 0, 0, 32,32, SMMAT_BLEND_ALPHA );

	hClose[0] = LoadDibSurfaceOffscreen("image\\clanImage\\MessageBox\\c.bmp");
	hClose[1] = LoadDibSurfaceOffscreen("image\\clanImage\\MessageBox\\c1.bmp");

	nGuideHelp = CreateTextureMaterial(  "image\\Sinimage\\Help\\help_icon02t.tga", 0, 0, 64,64, SMMAT_BLEND_ALPHA );
	
	
}
Exemplo n.º 2
0
/*----------------------------------------------------------------------------*
*					  Main		
*-----------------------------------------------------------------------------*/
void cHaQuest::init()
{
	lpQuestItemImage[0] = LoadDibSurfaceOffscreen( "image\\Sinimage\\Items\\Weapon\\itwa120.bmp" );
	lpQuestItemImage[1] = LoadDibSurfaceOffscreen( "image\\Sinimage\\Items\\Weapon\\itwc120.bmp" );
	lpQuestItemImage[2] = LoadDibSurfaceOffscreen( "image\\Sinimage\\Items\\Weapon\\itwh121.bmp" );
	lpQuestItemImage[3] = LoadDibSurfaceOffscreen( "image\\Sinimage\\Items\\Weapon\\itwp121.bmp" );
	lpQuestItemImage[4] = LoadDibSurfaceOffscreen( "image\\Sinimage\\Items\\Weapon\\itws122.bmp" );
	lpQuestItemImage[5] = LoadDibSurfaceOffscreen( "image\\Sinimage\\Items\\Weapon\\itws223.bmp" );
	lpQuestItemImage[6] = LoadDibSurfaceOffscreen( "image\\Sinimage\\Items\\Weapon\\itwt121.bmp" );
	lpQuestItemImage[7] = LoadDibSurfaceOffscreen( "image\\Sinimage\\Items\\Weapon\\itwm121.bmp" );

	lpQuestButtonImage[0] = LoadDibSurfaceOffscreen( "image\\Sinimage\\shopall\\LeftArrow.bmp" );
	lpQuestButtonImage[1] = LoadDibSurfaceOffscreen( "image\\Sinimage\\shopall\\RightArrow.bmp" );
	lpQuestButtonImage[2] = LoadDibSurfaceOffscreen( "image\\Sinimage\\Inven\\LeftArrow.bmp" );
	lpQuestButtonImage[3] = LoadDibSurfaceOffscreen( "image\\Sinimage\\Inven\\RightArrow.bmp" );


	//초기화
	memset(&cItemName,0,sizeof(cItemName));
	sHaQuest100LV.State=0;
	FuryBattleFlag = false;

}