Minor comment tweaks

This commit is contained in:
Kayne Ruse
2015-02-25 21:16:03 +11:00
parent 46df0f17b7
commit d8045ae339
4 changed files with 3 additions and 2 deletions
+1
View File
@@ -169,6 +169,7 @@ void ClientApplication::Quit() {
//------------------------- //-------------------------
void ClientApplication::LoadScene(SceneList sceneIndex) { void ClientApplication::LoadScene(SceneList sceneIndex) {
//BUG: #16 Resources are being reloaded between scenes
UnloadScene(); UnloadScene();
switch(sceneIndex) { switch(sceneIndex) {
//add scene creation calls here //add scene creation calls here
+1 -1
View File
@@ -173,7 +173,7 @@ void World::Render(SDL_Surface* const screen) {
//draw the entities //draw the entities
for (auto& it : characterMap) { for (auto& it : characterMap) {
//TODO: (1) depth ordering //BUG: #29 Characters (and other entities) are drawn out of order
it.second.DrawTo(screen, camera.x, camera.y); it.second.DrawTo(screen, camera.x, camera.y);
} }
for (auto& it : monsterMap) { for (auto& it : monsterMap) {
View File
+1 -1
View File
@@ -20,7 +20,7 @@ release: clean all package
#For use on my machine ONLY #For use on my machine ONLY
package: package:
rar a -r -ep Tortuga.rar $(OUTDIR)/*.exe $(OUTDIR)/*.dll rar a -r -ep Tortuga.rar $(OUTDIR)/*.exe $(OUTDIR)/*.dll
rar a -r Tortuga.rar rsc/* copyright.txt README.txt rar a -r Tortuga.rar rsc/* copyright.txt instructions.txt
$(OUTDIR): $(OUTDIR):
mkdir $(OUTDIR) mkdir $(OUTDIR)