#include <assert.h>
#include <SDL.h>
#include "video/drawing_context.hpp"
-#include "msg.hpp"
+#include "log.hpp"
#include "lisp/lisp.hpp"
#include "lisp/parser.hpp"
#include "lisp/list_iterator.hpp"
#endif
load_tileset(filename);
#ifdef DEBUG
- msg_debug << "Tiles loaded in " << (SDL_GetTicks() - ticks) / 1000.0 << " seconds" << std::endl;
+ log_debug << "Tiles loaded in " << (SDL_GetTicks() - ticks) / 1000.0 << " seconds" << std::endl;
#endif
}
tiles.push_back(0);
}
if(tiles[tile->id] != 0) {
- msg_warning << "Tile with ID " << tile->id << " redefined" << std::endl;
+ log_warning << "Tile with ID " << tile->id << " redefined" << std::endl;
}
tiles[tile->id] = tile;
} else if(iter.item() == "tilegroup") {
} else if(iter.item() == "properties") {
// deprecated
} else {
- msg_warning << "Unknown symbol '" << iter.item() << "' tile defintion file" << std::endl;
+ log_warning << "Unknown symbol '" << iter.item() << "' tile defintion file" << std::endl;
}
}
}