Added Gamestate class

This commit is contained in:
grayson committed 2021-08-16 14:24:36 -05:00
1 parent efeec66fad
commit 94c503f098
6 files changed
+33 -4

No files matched your search

-4
View File
@@ -5,10 +5,6 @@
#include "GL\wglew.h"
#endif
extern "C" {
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
}
namespace nf {
DEBUGINIT;
+7
View File
@@ -0,0 +1,7 @@
#include "Gamestate.h"
namespace nf {
Gamestate::Gamestate() {
}
}
+5
View File
@@ -47,4 +47,9 @@ namespace nf {
MultiByteToWideChar(CP_ACP, NULL, in, -1, out, length);
return out;
}
}
//Nvidia Optimius support
extern "C" {
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
}
+13
View File
@@ -0,0 +1,13 @@
#pragma once
namespace nf {
class Gamestate {
public:
Gamestate();
virtual void onEnter();
virtual void onExit();
private:
//Resource stuff
};
}