void CMap::refreshStripes() { const int oldx = m_mapx<<4; const int oldy = m_mapy<<4; resetScrolls(); gotoPos(oldx, oldy); }
CMap::CMap(): m_width(0), m_height(0), m_worldmap(false), m_animation_enabled(true), m_Dark(false), m_Difficulty(1), m_PlatExtending(false), m_Tilemaps(g_pGfxEngine->getTileMaps()), m_animtiletimer(0), m_Background(false) { m_Level = 0; resetScrolls(); memset(m_objectlayer, 0, sizeof(m_objectlayer)); }
CMap::CMap(): m_width(0), m_height(0), m_worldmap(false), m_animation_enabled(true), mNumFuses(0), mFuseInLevel(false), m_Tilemaps(gGraphics.getTileMaps()), mAnimtileTimer(0.0f), mLocked(false), mShakeCounter(0), mMaxShakeCounter(0), mMaxShakeVAmt(0), mShakeDir(0) { resetScrolls(); m_Level = 0; isSecret = false; }