-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLandscapeApplication.hpp
49 lines (41 loc) · 1.41 KB
/
LandscapeApplication.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
-----------------------------------------------------------------------------
Filename: LandscapeApplication.h
-----------------------------------------------------------------------------
This source file is part of the
___ __ __ _ _ _
/___\__ _ _ __ ___ / / /\ \ (_) | _(_)
// // _` | '__/ _ \ \ \/ \/ / | |/ / |
/ \_// (_| | | | __/ \ /\ /| | <| |
\___/ \__, |_| \___| \/ \/ |_|_|\_\_|
|___/
Tutorial Framework
http://www.ogre3d.org/tikiwiki/
-----------------------------------------------------------------------------
*/
#ifndef __LandscapeApplication_hpp__
#define __LandscapeApplication_hpp__
#include <Terrain/OgreTerrain.h>
#include <Terrain/OgreTerrainGroup.h>
#include <Caelum.h>
#include <Hydrax.h>
#include <PagedGeometry.h>
#include <GrassLoader.h>
#include "BaseApplication.hpp"
class LandscapeApplication : public BaseApplication
{
public:
LandscapeApplication(void);
virtual ~LandscapeApplication(void);
protected:
virtual void createScene(void);
virtual bool frameEnded(const Ogre::FrameEvent& evt);
Caelum::CaelumSystem* mCaelumSystem;
Ogre::TerrainGlobalOptions* mTerrainGlobals;
Ogre::TerrainGroup* mTerrainGroup;
Hydrax::Hydrax* mHydrax;
Ogre::Vector3 mOriginalWaterColor;
Forests::PagedGeometry *grass, *trees, *bushes;
Forests::GrassLoader* grassLoader;
};
#endif // #ifndef __LandscapeApplication_hpp__