diff --git a/src/Game.cpp b/src/Game.cpp index 99fe419..4922fc4 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -114,14 +114,14 @@ void init() { void load(Renderer* rend, Input* inp) { renderer = rend; input = inp; - + SDL_Log("Creating ascii tileset...\n"); ascii = new Tileset(renderer, "./assets/12x12.bmp", 192, 192, 12, 12); - SDL_Log("Created tileset.\n"); + SDL_Log("Created ascii tileset.\n"); input->bindkey(SDLK_r, ACTION_RESET); input->bindkey(SDLK_SPACE, ACTION_PAUSE); input->bindkey(SDLK_RETURN, ACTION_STEP); input->bindkey(SDLK_F1, ACTION_TOGGLE_DEBUG); - SDL_Log("Bound keybinds.\n"); + SDL_Log("Keybinds bound.\n"); init(); } diff --git a/src/Renderer.cpp b/src/Renderer.cpp index 685113f..5fe58ca 100644 --- a/src/Renderer.cpp +++ b/src/Renderer.cpp @@ -235,6 +235,7 @@ void Renderer::ImguiNewFrame() { ImGui_ImplSdlGL3_NewFrame(window); } Texture * Renderer::LoadTexture(std::string path) { + SDL_Log("Loading texture: %s\n", path); auto it = textures.find(path); if (it == textures.end()) { // Texture not loaded, let's load it.