[Fix] Makefiles now work. I am sure I did this about 3-4 commits ago....

This commit is contained in:
Rtch90 2012-01-07 16:46:04 +00:00
parent 77d959d0ec
commit 943916ce8c
4 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" ?>
<save>
<name>Allanis</name>
<x>100</x>
<y>168</y>
<x>120</x>
<y>144</y>
<map>map</map>
</save>

Binary file not shown.

View File

@ -1,6 +1,7 @@
#include "Game.h"
Game::Game(void) {
Debug::logger->message("Creating characters..");
_player = new Player(&_map);
_npc = new NPC(&_map);
@ -8,7 +9,7 @@ Game::Game(void) {
}
Game::~Game(void) {
Debug::logger->message("----- Cleaning Up ------");
Debug::logger->message("\n----- Cleaning Up ------");
// cleaning _player up caused a nice seg fault. I'll look later.
//delete _player;
delete _npc;

View File

@ -3,7 +3,7 @@ CFLAGS = -ansi -Wall -g
LDADD = -lGL -lGLU -lSDL -lSDL_ttf -lSDL_gfx -lSDL_image -ltinyxml
objects = ApplySurface.o Button.o ButtonToggle.o Character.o Collision.o \
Debug.o Font.o FPS.o ImageLoader.o IngameMenu.o Input.o MainMenu.o \
Map.o MapElement.o MapEntities.o NPC.o ParticleEmitter.o \
Map.o MapElement.o MapEntities.o MemManager.o NPC.o ParticleEmitter.o \
Rect.o Text.o Texture.o TextureManager.o Timer.o \
AStar.o \