[Fix] Fixed KonoM's Qt project attempt.

This commit is contained in:
Rtch90 2012-04-12 01:16:49 +01:00
parent 2de0088860
commit 11367621ef
2 changed files with 12 additions and 12 deletions

View File

@ -28,7 +28,6 @@ HEADERS += ../src/Actor/Player.h \
../src/Level/Map.h \ ../src/Level/Map.h \
../src/Level/Layer.h \ ../src/Level/Layer.h \
../src/Level/Tileset.h \ ../src/Level/Tileset.h \
../src/Level/Layer.h \
../src/TMXParser/base64.h \ ../src/TMXParser/base64.h \
../src/TMXParser/Tmx.h \ ../src/TMXParser/Tmx.h \
../src/TMXParser/TmxImage.h \ ../src/TMXParser/TmxImage.h \
@ -43,7 +42,8 @@ HEADERS += ../src/Actor/Player.h \
../src/TMXParser/TmxPropertySet.h \ ../src/TMXParser/TmxPropertySet.h \
../src/TMXParser/TmxTile.h \ ../src/TMXParser/TmxTile.h \
../src/TMXParser/TmxTileset.h \ ../src/TMXParser/TmxTileset.h \
../src/TMXParser/TmxUtil.h ../src/TMXParser/TmxUtil.h \
../src/Level/Layer.h \
SOURCES += ../src/Actor/Player.cpp \ SOURCES += ../src/Actor/Player.cpp \
../src/Global/Globals.cpp \ ../src/Global/Globals.cpp \
../src/IO/Input.cpp \ ../src/IO/Input.cpp \
@ -62,7 +62,6 @@ SOURCES += ../src/Actor/Player.cpp \
../src/Level/Map.h \ ../src/Level/Map.h \
../src/Level/Layer.h \ ../src/Level/Layer.h \
../src/Level/Tileset.h \ ../src/Level/Tileset.h \
../src/Level/Layer.h \
../src/TMXParser/base64.cpp \ ../src/TMXParser/base64.cpp \
../src/TMXParser/TmxImage.cpp \ ../src/TMXParser/TmxImage.cpp \
../src/TMXParser/TmxLayer.cpp \ ../src/TMXParser/TmxLayer.cpp \
@ -74,5 +73,6 @@ SOURCES += ../src/Actor/Player.cpp \
../src/TMXParser/TmxPropertySet.cpp \ ../src/TMXParser/TmxPropertySet.cpp \
../src/TMXParser/TmxTile.cpp \ ../src/TMXParser/TmxTile.cpp \
../src/TMXParser/TmxTileset.cpp \ ../src/TMXParser/TmxTileset.cpp \
../src/TMXParser/TmxUtil.cpp ../src/TMXParser/TmxUtil.cpp \
../src/Level/Layer.cpp
OTHER_FILES += OTHER_FILES +=

View File

@ -58,8 +58,8 @@ void AABB::CreateAABBFromSprite(const char* filename) {
// I have no methods here, hopefully KonoM will have it // I have no methods here, hopefully KonoM will have it
// implemented real soon... // implemented real soon...
float spriteWidth = _sprite->GetWidth(); //float spriteWidth = _sprite->GetWidth();
float spriteHeight = _sprite->GetHeight(); //float spriteHeight = _sprite->GetHeight();
// Find the min, look through until we find a first instance of a white color. // Find the min, look through until we find a first instance of a white color.
bool found = false; bool found = false;