Passant std::cout a SDL_Log
This commit is contained in:
@@ -1,25 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL3/SDL_render.h> // Para SDL_Renderer
|
||||
#include <SDL3/SDL_video.h> // Para SDL_Window
|
||||
#include <string> // Para string
|
||||
#include <string> // Para string
|
||||
namespace lang
|
||||
{
|
||||
enum class Code : int;
|
||||
} // lines 9-9
|
||||
|
||||
// Textos
|
||||
constexpr char WINDOW_CAPTION[] = "Coffee Crisis Arcade Edition";
|
||||
} // lines 8-8
|
||||
|
||||
class Director
|
||||
{
|
||||
private:
|
||||
// Objetos y punteros
|
||||
|
||||
#ifndef VERBOSE
|
||||
std::streambuf *orig_buf; // Puntero al buffer de flujo original para restaurar std::cout
|
||||
#endif
|
||||
|
||||
// Variables
|
||||
std::string executable_path_; // Path del ejecutable
|
||||
std::string system_folder_; // Carpeta del sistema donde guardar datos
|
||||
|
||||
Reference in New Issue
Block a user