- afegides les habitacions de tot el joc (buides)
- minimapa mostra els numeros d'habitacio - tecla per a fer captures de pantalla
This commit is contained in:
15
source/core/rendering/screenshot.hpp
Normal file
15
source/core/rendering/screenshot.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
#include <string> // Para string
|
||||
|
||||
class Surface;
|
||||
|
||||
namespace Screenshot {
|
||||
// Guarda la surface como PNG en screenshots/. Retorna el nombre del fichero o "" si falla.
|
||||
auto save(const Surface& surface) -> std::string;
|
||||
|
||||
// Guarda un buffer ARGB8888 como PNG en screenshots/.
|
||||
auto save(const Uint32* buffer, int width, int height) -> std::string;
|
||||
} // namespace Screenshot
|
||||
Reference in New Issue
Block a user