예제 #1
0
Slime_Forest::Slime_Forest(Position pos) : Enemy(pos)
{
	m_pos = pos;
	m_life = 10;
	m_damage = 20;
	m_def = 1;
	m_dir = 'd';
	LoadAllTextures();
}
예제 #2
0
파일: paging.cpp 프로젝트: paud/d2x-xl
void LoadLevelTextures (void)
{
    nBitmaps = 0;
    if (gameStates.app.bProgressBars && gameOpts->menus.nStyle) {
        int	i = LoadMineGaugeSize ();

        nTouchSeg = 0;
        nTouchWall = 0;
        nTouchWeapon = 0;
        nTouchPowerup1 = 0;
        nTouchPowerup2 = 0;
        nTouchGauge = 0;
        ProgressBar (TXT_PREP_DESCENT, i, i + PagingGaugeSize () + SortLightsGaugeSize (), LoadTexturesPoll);
    }
    else
        LoadAllTextures ();
}