Ejemplo n.º 1
0
 void LoadSettings()
 {
     m_ImportEmptySprites = LpcSpriteSettings.GetImportEmptySprites();
     m_PixelsPerUnit      = LpcSpriteSettings.GetPixelsPerUnit();
     m_ColCount           = LpcSpriteSettings.GetColCount();
     m_RowCount           = LpcSpriteSettings.GetRowCount();
     m_ScFrameCount       = LpcSpriteSettings.GetScFrameCount();
     m_ThFrameCount       = LpcSpriteSettings.GetThFrameCount();
     m_WcFrameCount       = LpcSpriteSettings.GetWcFrameCount();
     m_SlFrameCount       = LpcSpriteSettings.GetSlFrameCount();
     m_ShFrameCount       = LpcSpriteSettings.GetShFrameCount();
     m_HuFrameCount       = LpcSpriteSettings.GetHuFrameCount();
     m_ExpertMode         = LpcSpriteSettings.GetExpertMode();
 }
Ejemplo n.º 2
0
	void RetrieveSettings(){
		// Retrieve Basic Settings
		m_ImportEmptySprites = LpcSpriteSettings.GetImportEmptySprites();
		m_PixelsPerUnit = LpcSpriteSettings.GetPixelsPerUnit ();

		// Retrieve Animation Settings
		m_ScFrames = LpcSpriteSettings.GetScFrameCount();
		m_ThFrames = LpcSpriteSettings.GetThFrameCount();
		m_WcFrames = LpcSpriteSettings.GetWcFrameCount();
		m_SlFrames = LpcSpriteSettings.GetSlFrameCount();
		m_ShFrames = LpcSpriteSettings.GetShFrameCount();
		m_HuFrames = LpcSpriteSettings.GetHuFrameCount();

		// Retrieve Other Settings
		m_ColCount = LpcSpriteSettings.GetColCount();
		m_RowCount = LpcSpriteSettings.GetRowCount();
	}