- Main Page
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# CForest Class Reference

Class for loading and presenting static bilboards of trees (2D trees). More...

`#include <Forest.h>`

List of all members.

## 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.

## Detailed Description

Class for loading and presenting static bilboards of trees (2D trees).

Author:
  Petar Bajic

Date:
  January, 16 2007.

## Constructor & Destructor Documentation

CForest::CForest | ( |  | ) |

Standard constructor for 2D forest.

Author:
  Petar Bajic

Date:
  January, 16 2007.

CForest::~CForest | ( |  | ) |

Standard destructor for 2D forest.

Author:
  Petar Bajic

Date:
  January, 16 2007.

## Member Function Documentation

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!

Author:
  Petar Bajic

Date:
  January, 16 2007.

void CForest::OnRender | ( | LPDIRECT3DDEVICE9 | pd3dDevice | ) |

Renders 2D forest on the hill. Trees are just bilboards layedout in one line.

Author:
  Petar Bajic

Date:
  January, 16 2007.

The documentation for this class was generated from the following files:

- My Documents/TS2/inc/Forest.h
- My Documents/TS2/src/Forest.cpp