#pragma once class cRollupWindow; class cMonModelDlg; class cMonAniDlg; class cMonDramaDlg; // cMonsterForm Æû ºäÀÔ´Ï´Ù. class cMonsterForm : public CFormView { static cMonsterForm* mSingleton; DECLARE_DYNCREATE(cMonsterForm) public: cMonsterForm(); // µ¿Àû ¸¸µé±â¿¡ »ç¿ëµÇ´Â protected »ý¼ºÀÚÀÔ´Ï´Ù. virtual ~cMonsterForm(); void Init(); public: #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif inline unsigned long GetBaseModelIndex() { return mBaseModelIndex; } unsigned int UpdateAnimationList( unsigned long modelIdx ); void UpdateDrama(); unsigned long GetCurrentMonsterIdx(); protected: afx_msg int OnCreate( LPCREATESTRUCT cs ); afx_msg void OnSize( UINT type, int cx, int cy ); DECLARE_MESSAGE_MAP() public: /// ´ÜÀÏü¸¦ ¸®ÅÏ static cMonsterForm* GetSingleton(); protected: /// µÎ·ç¸¶¸® À©µµ¿ì cRollupWindow* mRollupWnd; cMonModelDlg* mpModelDlg; cMonAniDlg* mpAniDlg; cMonDramaDlg* mpDramaDlg; unsigned long mBaseModelIndex; public: }; inline cMonsterForm* cMonsterForm::GetSingleton() { return mSingleton; } #define MONSTERFORM cMonsterForm::GetSingleton()