Boids.h
资源名称:DXGuide.zip [点击查看]
上传用户:wymy58
上传日期:2007-01-07
资源大小:2086k
文件大小:1k
源码类别:
DirextX编程
开发平台:
Visual C++
- // Boids.h : main header file for the BOIDS application.
- #ifndef _DXGUIDE_BOIDS__H
- #define _DXGUIDE_BOIDS__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"
- class CBoidsApp : public CDirectXApp
- {
- public:
- CBoidsApp(void);
- virtual ~CBoidsApp();
- public:
- CD3DDevice* m_pD3DDevice;
- CD3DMaterial* m_pD3DMaterial;
- // add your data here !
- CD3DSphere* m_pSphere;
- CD3DDirectionalLight* m_pLight1;
- CD3DDirectionalLight* m_pLight2;
- CD3DTexture* m_pTexture;
- public:
- // add your function here !
- public:
- 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(CBoidsApp)
- //}}AFX_VIRTUAL
- // Implementation
- //{{AFX_MSG(CBoidsApp)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #endif // _DXGUIDE_BOIDS__H