khaotic-engine-Reborn/enginecustom/applicationclass.h
2024-03-20 11:58:51 +01:00

37 lines
582 B
C++

#ifndef _APPLICATIONCLASS_H_
#define _APPLICATIONCLASS_H_
//////////////
// INCLUDES //
//////////////
#include <windows.h>
#include "d3dclass.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 ApplicationClass
{
public:
ApplicationClass();
ApplicationClass(const ApplicationClass&);
~ApplicationClass();
bool Initialize(int, int, HWND);
void Shutdown();
bool Frame();
private:
bool Render();
private:
D3DClass* m_Direct3D;
};
#endif