<?xml version="1.0"?>
<screen width="1280" height="720" />
-<hline value="3" />
+<hline value="3" />
\ No newline at end of file
*
*/
-#define HLINE 3
+#define HLINE 4
/**
* A 'wrapper' for libc's srand(), as we hope to eventually have our own random number
glEnable(GL_TEXTURE_2D);
glColor3ub(255,255,255);
glBegin(GL_QUADS);
- glTexCoord2f(.25*index.x, .126*index.y); glVertex2i(loc.x, loc.y);
- glTexCoord2f(.26*index.x, .126*index.y); glVertex2i(loc.x + width, loc.y);
- glTexCoord2f(.26*index.x, .125*index.y); glVertex2i(loc.x + width, loc.y + height);
+ glTexCoord2f(.25*index.x, .125*index.y); glVertex2i(loc.x, loc.y);
+ glTexCoord2f(.25*index.x, .125*index.y); glVertex2i(loc.x + width, loc.y);
+ glTexCoord2f(.25*index.x, .125*index.y); glVertex2i(loc.x + width, loc.y + height);
glTexCoord2f(.25*index.x, .125*index.y); glVertex2i(loc.x, loc.y + width);
glEnd();
glDisable(GL_TEXTURE_2D);
if(!fileStream.is_open()) {
std::cerr << "Could not read file " << filePath << ". File does not exist." << std::endl;
- return "";
+ return "cancer";
}
std::string line = "";
HLINE*1.25,
rand()%2 == 0?-(rand()%7)*.01:(rand()%7)*.01,
((4+rand()%6)*.05),
- {0.0f,0.0f,255.0f},
+ {0,0,255},
2500);
currentWorld->particles.back()->fountain = true;
subtype = 0;
health = maxHealth = 100;
speed = 1;
- tex = new Texturec(3, "assets/player1.png", "assets/player.png", "assets/player2.png");
+ tex = new Texturec(3, "assets/player1.png", "assets/playerk.png", "assets/player2.png");
//tex = new Texturec(3, "assets/maybeplayer.png", "assets/maybeplayer.png", "assets/maybeplayer.png");
inv = new Inventory(PLAYER_INV_SIZE);
}