forked from rtpHarry/Sokoban
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ThemeDefault.h
40 lines (31 loc) · 1.12 KB
/
ThemeDefault.h
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
#pragma once
#include "Theme.h"
#include "Model3D.h"
class ThemeDefault
: public Theme
{
public:
ThemeDefault(void);
virtual ~ThemeDefault(void);
virtual void SetupTheme(void);
virtual void DestroyTheme(void);
virtual void PreRender(void); // operations before rendered scene
virtual void PostRender(void); // operations after rendered scene
virtual void RenderTileFloor(float X, float Y); // Render the floor tile
virtual void RenderTileWall(float X, float Y); // Render the wall tile
virtual void RenderTileVoid(float X, float Y); // Render the void tile
virtual void RenderItemTarget(float X, float Y); // Render the target item
virtual void RenderItemCrate(float X, float Y); // Render the crate item
virtual void RenderItemPlayer(float X, float Y); // Render the player item
// Render the scenery
virtual void RenderSurroundingScene(float X, float Y, float Z, float fLevelWidth);
private:
// skybox
Model3D m_SkyboxModel;
// crate
//GLuint m_CrateTextureID;
// models
Model3D m_WallModel;
Model3D m_FloorModel;
Model3D m_CrateModel;
};