House.h
上传用户:hkb425
上传日期:2007-06-16
资源大小:34191k
文件大小:1k
- // House.h: interface for the CHouse class.
- //作者:吴雪平 2002-6-17日修改
- //实现建筑,读取MS3D文件
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_HOUSE_H__E6E520A1_6369_11D6_812C_5254AB37CDC9__INCLUDED_)
- #define AFX_HOUSE_H__E6E520A1_6369_11D6_812C_5254AB37CDC9__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "ms3dLoader.h"
- #include "heightmap.h"
- #include "particle.h"
- #include "cmath.h"
- class CHouse
- {
- public:
- CHouse();
- virtual ~CHouse();
- bool InitHouse(VERTEX position);
- void DrawHouse();
- private:
- void CheckSunVisible();
- CMs3dLoader m_ms3dHouse;
- CHeightmap m_cHmap;
- VERTEX m_position;
- CMath m_cMath;
- CParticle m_smoke;
- VERTEX m_chimneyPos;
- unsigned int m_texParticles[5]; //for particles
- };
- #endif // !defined(AFX_HOUSE_H__E6E520A1_6369_11D6_812C_5254AB37CDC9__INCLUDED_)