#include <Forest.h>
Public Member Functions | |
| CForest () | |
| Standard constructor for 2D forest. | |
| ~CForest () | |
| Standard destructor for 2D forest. | |
| bool | Load (LPDIRECT3DDEVICE9 pd3dDevice, WCHAR *strFilePath, WCHAR *strFileName) |
| Load static tree mesh that is basicly 2D poligon with picture of a tree on it! | |
| void | OnRender (LPDIRECT3DDEVICE9 pd3dDevice) |
| Renders 2D forest on the hill. Trees are just bilboards layedout in one line. | |
| CForest::CForest | ( | ) |
Standard constructor for 2D forest.
| CForest::~CForest | ( | ) |
Standard destructor for 2D forest.
| bool CForest::Load | ( | LPDIRECT3DDEVICE9 | pd3dDevice, | |
| WCHAR * | strFilePath, | |||
| WCHAR * | strFileName | |||
| ) |
Load static tree mesh that is basicly 2D poligon with picture of a tree on it!
| void CForest::OnRender | ( | LPDIRECT3DDEVICE9 | pd3dDevice | ) |
Renders 2D forest on the hill. Trees are just bilboards layedout in one line.
1.5.3