Removed surfaces from code
This commit is contained in:
@@ -17,8 +17,6 @@ public:
|
||||
static const int major;
|
||||
static const int minor;
|
||||
static const int patch;
|
||||
static G3D::TextureRef surface;
|
||||
static int surfaceId;
|
||||
static const std::string g_appName;
|
||||
static COLORREF g_acrCustClr[16]; //Will be dynamic later
|
||||
static HWND mainHwnd;
|
||||
|
||||
@@ -521,9 +521,7 @@ void Application::run() {
|
||||
g_usableApp = this;
|
||||
UpdateWindow(_hWndMain);
|
||||
|
||||
// Load objects here=
|
||||
Globals::surface = Texture::fromFile(GetFileInPath("/content/images/surfacebr.png"));
|
||||
Globals::surfaceId = Globals::surface->getOpenGLID();
|
||||
// Load objects here
|
||||
cameraSound = GetFileInPath("/content/sounds/SWITCH3.wav");
|
||||
clickSound = GetFileInPath("/content/sounds/switch.wav");
|
||||
dingSound = GetFileInPath("/content/sounds/electronicpingshort.wav");
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#include "Globals.h"
|
||||
#include "Application.h"
|
||||
|
||||
int Globals::surfaceId = 2;
|
||||
bool Globals::useMousePoint = false;
|
||||
std::vector<Instance*> postRenderStack = std::vector<Instance*>();
|
||||
|
||||
@@ -9,7 +8,6 @@ DataModelInstance* g_dataModel = NULL;
|
||||
XplicitNgine* g_xplicitNgine = NULL;
|
||||
|
||||
bool running = false;
|
||||
G3D::TextureRef Globals::surface;
|
||||
POINT Globals::mousepoint;
|
||||
|
||||
GFontRef g_fntdominant = NULL;
|
||||
|
||||
Reference in New Issue
Block a user