Added basic textures for now

This commit is contained in:
andreja6
2018-06-10 21:02:38 -07:00
parent 0bd49da8f4
commit 018c4a1557
6 changed files with 54 additions and 5 deletions

View File

@@ -1428,6 +1428,8 @@ void Demo::run() {
// Load objects here=
cursor = Texture::fromFile(GetFileInPath("/content/cursor2.png"));
Globals::surface = Texture::fromFile(GetFileInPath("/content/images/surfacebr.png"));
Globals::surfaceId = Globals::surface->getOpenGLID();
fntdominant = GFont::fromFile(GetFileInPath("/content/font/dominant.fnt"));
fntlighttrek = GFont::fromFile(GetFileInPath("/content/font/lighttrek.fnt"));
cameraSound = GetFileInPath("/content/sounds/SWITCH3.wav");