52 lines
1.1 KiB
C++
52 lines
1.1 KiB
C++
#ifndef _APPLICATIONCLASS_H_
|
|
#define _APPLICATIONCLASS_H_
|
|
|
|
|
|
///////////////////////
|
|
// MY CLASS INCLUDES //
|
|
///////////////////////
|
|
#include "d3dclass.h"
|
|
#include "cameraclass.h"
|
|
#include "modelclass.h"
|
|
#include "lightshaderclass.h"
|
|
#include "lightclass.h"
|
|
#include "multitextureshaderclass.h"
|
|
#include "modelclass.h"
|
|
|
|
/////////////
|
|
// GLOBALS //
|
|
/////////////
|
|
const bool FULL_SCREEN = false;
|
|
const bool VSYNC_ENABLED = true;
|
|
const float SCREEN_DEPTH = 1000.0f;
|
|
const float SCREEN_NEAR = 0.3f;
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// Class name: ApplicationClass
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
class ApplicationClass
|
|
{
|
|
public:
|
|
ApplicationClass();
|
|
ApplicationClass(const ApplicationClass&);
|
|
~ApplicationClass();
|
|
|
|
bool Initialize(int, int, HWND);
|
|
void Shutdown();
|
|
bool Frame();
|
|
|
|
private:
|
|
bool Render(float);
|
|
|
|
private:
|
|
D3DClass* m_Direct3D;
|
|
CameraClass* m_Camera;
|
|
LightShaderClass* m_LightShader;
|
|
LightClass* m_Light;
|
|
MultiTextureShaderClass* m_MultiTextureShader;
|
|
ModelClass* m_Model;
|
|
};
|
|
|
|
#endif
|