summaryrefslogtreecommitdiff
path: root/src/koopatlas/mapdata.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-03-15 02:54:33 +0100
committerTreeki <treeki@gmail.com>2012-03-15 02:54:33 +0100
commite88fd1dcef52d4375fef655918886fc14bb1f40c (patch)
treef081b14a420331258665a58ad31be54b13b1c655 /src/koopatlas/mapdata.cpp
parent18a6c3dbe01f484b346923ebc53f674c1e4a5101 (diff)
downloadkamek-e88fd1dcef52d4375fef655918886fc14bb1f40c.tar.gz
kamek-e88fd1dcef52d4375fef655918886fc14bb1f40c.zip
optimisations to reduce code size
Diffstat (limited to '')
-rw-r--r--src/koopatlas/mapdata.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/koopatlas/mapdata.cpp b/src/koopatlas/mapdata.cpp
index 5b38126..eaf9c75 100644
--- a/src/koopatlas/mapdata.cpp
+++ b/src/koopatlas/mapdata.cpp
@@ -40,9 +40,7 @@ dKPMapData_c::~dKPMapData_c() {
}
bool dKPMapData_c::load(const char *filename) {
- OSReport("Loading %s\n", filename);
data = (dKPMapFile_s*)m_fileLoader.load(filename);
- OSReport("%p\n", data);
if (data == 0)
return false;
@@ -60,7 +58,6 @@ bool dKPMapData_c::loadTilesets() {
if (tilesetsLoaded)
return true;
- OSReport("Loading tilesets: %d\n", data->tilesetCount);
if (tilesetLoaders == 0)
tilesetLoaders = new dDvdLoader_c[data->tilesetCount];
@@ -68,7 +65,6 @@ bool dKPMapData_c::loadTilesets() {
for (int i = 0; i < data->tilesetCount; i++) {
char *filename = ((char*)data) + (data->tilesets[i].dummy[3] - 0x10000000);
- OSReport("Loading tileset: %s\n", filename);
result &= (tilesetLoaders[i].load(filename) != 0);
}