Isotest.h
上传用户:pfmy85
上传日期:2007-01-07
资源大小:22k
文件大小:2k
- // Isotest.h : main header file for the ISOTEST application.
- #ifndef _DXGUIDE_ISOTEST__H
- #define _DXGUIDE_ISOTEST__H
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
- #include "resource.h"
- #include "DXIsoMap.h"
- #include "Level.h"
- #include "TileSelector.h"
- class CIsotestApp : public CDirectXApp
- {
- public:
- CIsotestApp(void);
- virtual ~CIsotestApp();
- public:
- CDDDevice* m_pDDDevice;
- CDDSurface* m_pRenderSurface;
- // add your data here !
- CRect m_rcScreen; // screen demension
- CRect m_rcView; // View port rectangle
- CDIMouseState* m_pMouseState; // Mouse state
- CDIKeyState* m_pKeyState; // Keyboard state
- CDXSprite* m_pCursor; // Mouse cursor
- CDDTextSurface* m_pTextSurface; // TextSurface to show some state
- CDSBuffer* m_pDSBackGround; // bg mid
- // text or dialog
- CLevel* m_pLevel; // Curent Level
- /*
- CDDDIBSurface* m_pTiles; // Tiles to construct game map
- CDXIsoMap* m_pMap; // game map
- */
- CTileSelector* m_pSelector; // Tiles selector
- public:
- // add your function here !
- public:
- void ProcessInput();
- virtual bool GetDXInitSettings(void);
- virtual bool InitDXObjects(void);
- virtual bool DestroyDXObjects(void);
- virtual bool UpdateFrame(void);
- public:
- // ----
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CIsotestApp)
- //}}AFX_VIRTUAL
- // Implementation
- //{{AFX_MSG(CIsotestApp)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #endif // _DXGUIDE_ISOTEST__H