]> code.bitgloo.com Git - clyne/gamedev.git/commitdiff
s
authordrumsetmonkey <abelleisle@roadrunner.com>
Wed, 13 Apr 2016 11:41:29 +0000 (07:41 -0400)
committerdrumsetmonkey <abelleisle@roadrunner.com>
Wed, 13 Apr 2016 11:41:29 +0000 (07:41 -0400)
config/settings.xml.example
main.cpp

index 1c8fcd96099c8ad16543c2a1ba9832f35aab8c83..e82c4546549caeded5bc48fec676a9a7869344d2 100644 (file)
@@ -23,3 +23,5 @@ Available fonts:
     <music volume="50"/>
     <sfx volume="50"/>
 </volume>
+
+<world start="xml/"/>
index 4f6bd4450e9cde7189f0be936a2d90e69bf3d3bc..548056cd860fd06bdde1da2d4ef67fb60c3053c5 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -475,7 +475,6 @@ void mainLoop(void){
        if(!prevTime){
                prevTime=currentTime;
        }
-
        /*
         * Update timing values. This is crucial to calling logic and updating the window (basically
         * the entire game).
@@ -704,7 +703,7 @@ void render() {
                        glBegin(GL_LINES);
                                /*glColor3ub(255,0,0);
                                glVertex2i(0,0);
-                               glVertex2i(0,SCREEN_HEIGHT);*/
+                               glVertexdw2i(0,SCREEN_HEIGHT);*/
 
                                /*glColor3ub(255,255,255);
                                glVertex2i(player->loc.x + player->width/2,0);