diff --git a/src/game/boe.graphics.cpp b/src/game/boe.graphics.cpp index 5325121e..5d2b37ed 100644 --- a/src/game/boe.graphics.cpp +++ b/src/game/boe.graphics.cpp @@ -3,7 +3,6 @@ #include #include #include -#include #include #include "boe.global.hpp" diff --git a/src/global.hpp b/src/global.hpp index 34ecaba4..b4dc1c60 100644 --- a/src/global.hpp +++ b/src/global.hpp @@ -10,6 +10,7 @@ #define BOE_PCH #include +#include typedef unsigned short mon_num_t; typedef signed short miss_num_t; @@ -41,4 +42,10 @@ inline std::string bool_to_str(bool b) { return b ? "true" : "false"; } +inline void LOG(std::string line) { + std::cout << line << std::endl; +} + +#define LOG_VALUE(x) std::cout << #x << ": " << x << std::endl; + #endif