#pragma once class cRollupWindow; class cNpcModelDlg; class cNpcAniDlg; // cNpcForm Æû ºäÀÔ´Ï´Ù. class cNpcForm : public CFormView { static cNpcForm* mSingleton; DECLARE_DYNCREATE(cNpcForm) public: cNpcForm(); // µ¿Àû ¸¸µé±â¿¡ »ç¿ëµÇ´Â protected »ý¼ºÀÚÀÔ´Ï´Ù. virtual ~cNpcForm(); 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 ); protected: afx_msg int OnCreate( LPCREATESTRUCT cs ); afx_msg void OnSize( UINT type, int cx, int cy ); DECLARE_MESSAGE_MAP() public: /// ´ÜÀÏü¸¦ ¸®ÅÏ static cNpcForm* GetSingleton(); protected: /// µÎ·ç¸¶¸® À©µµ¿ì cRollupWindow* mRollupWnd; cNpcModelDlg* mpModelDlg; cNpcAniDlg* mpAniDlg; unsigned long mBaseModelIndex; public: }; inline cNpcForm* cNpcForm::GetSingleton() { return mSingleton; } #define NPCFORM cNpcForm::GetSingleton()