From c6739a753e31e8d239b662fbfc7d9ac7e7c0621e Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Thu, 22 Oct 2015 09:23:08 -0400 Subject: Commented more of entities, added new texture namespace and class --- main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 17f34b5..d5463c6 100644 --- a/main.cpp +++ b/main.cpp @@ -382,7 +382,7 @@ int main(int argc, char *argv[]){ * Load a temporary background image. */ - bgImage=loadTexture("assets/bg.png"); + bgImage=Texture::loadTexture("assets/bg.png"); /* * Load sprites used in the inventory menu. See src/inventory.cpp @@ -626,7 +626,7 @@ void render(){ **************************/ /* - * These next two function finish the rendering\ + * These next two function finish the rendering * * glPopMatrix This anchors all of the matrices and blends them to a single * matrix so the renderer can draw this to the screen, since screens @@ -660,6 +660,7 @@ void logic(){ * click detection is done as well for NPC/player interaction. * */ + std::cout << "Game Loop: "<< loops << std::endl; for(int i=0;i<=entity.size();i++){ -- cgit v1.2.3