[Fix] Fixed KonoM's Qt project attempt.
This commit is contained in:
parent
2de0088860
commit
11367621ef
@ -6,8 +6,8 @@ LIBS += -lGL \
|
|||||||
-lSDL_gfx \
|
-lSDL_gfx \
|
||||||
-ltinyxml \
|
-ltinyxml \
|
||||||
-lGLU \
|
-lGLU \
|
||||||
-lz \
|
-lz \
|
||||||
-ltinyxml
|
-ltinyxml
|
||||||
HEADERS += ../src/Actor/Player.h \
|
HEADERS += ../src/Actor/Player.h \
|
||||||
../src/Global/Globals.h \
|
../src/Global/Globals.h \
|
||||||
../src/IO/Input.h \
|
../src/IO/Input.h \
|
||||||
@ -28,22 +28,22 @@ 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 \
|
||||||
../src/TMXParser/TmxLayer.h \
|
../src/TMXParser/TmxLayer.h \
|
||||||
../src/TMXParser/TmxMap.h \
|
../src/TMXParser/TmxMap.h \
|
||||||
../src/TMXParser/TmxMapTile.h \
|
../src/TMXParser/TmxMapTile.h \
|
||||||
../src/TMXParser/TmxObject.h \
|
../src/TMXParser/TmxObject.h \
|
||||||
../src/TMXParser/TmxObjectGroup.h \
|
../src/TMXParser/TmxObjectGroup.h \
|
||||||
../src/TMXParser/TmxPoint.h \
|
../src/TMXParser/TmxPoint.h \
|
||||||
../src/TMXParser/TmxPolygon.h \
|
../src/TMXParser/TmxPolygon.h \
|
||||||
../src/TMXParser/TmxPolyline.h \
|
../src/TMXParser/TmxPolyline.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 \
|
||||||
OTHER_FILES +=
|
../src/Level/Layer.cpp
|
||||||
|
OTHER_FILES +=
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user