Posibilidad de activar o desactivar el modo online

This commit is contained in:
2022-11-15 22:34:26 +01:00
parent 3ac9c1afce
commit a0042b91cc
5 changed files with 59 additions and 21 deletions

View File

@@ -12,7 +12,8 @@ Screen::Screen(SDL_Window *window, SDL_Renderer *renderer, Asset *asset, options
this->asset = asset;
// Crea los objetos
notify = new Notify(renderer, asset->get("smb2_big.png"), asset->get("smb2_big.txt"));
//notify = new Notify(renderer, asset->get("smb2_big.png"), asset->get("smb2_big.txt"));
notify = new Notify(renderer, asset->get("smb2.png"), asset->get("smb2.txt"));
gameCanvasWidth = gameInternalResX;
gameCanvasHeight = gameInternalResY;

View File

@@ -86,6 +86,7 @@ struct input_t
// Estructura para el servicio online
struct online_t
{
bool enabled; // Indica si se quiere usar el modo online o no
std::string gameID; // Identificador del juego para los servicios online
std::string jailerID; // Identificador del jugador para los servicios online
int score; // Puntuación almacenada online