forked from jaildesigner-jailgames/jaildoctors_dilemma
Eliminat TOT el online i merdes
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
#include <SDL2/SDL.h>
|
||||
#include "jail_engine/utils.h"
|
||||
#include "online.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -26,7 +25,6 @@ private:
|
||||
|
||||
// Punteros y objetos
|
||||
options_t *options; // Puntero a la variable con todas las opciones del programa
|
||||
Online *online; // Objeto para gestionar la lectura y escritura de datos en el servidor remoto
|
||||
|
||||
// Variables
|
||||
std::vector<stats_dictionary_t> dictionary; // Lista con la equivalencia nombre-numero de habitacion
|
||||
@@ -41,15 +39,9 @@ private:
|
||||
// Carga las estadisticas desde un fichero
|
||||
bool loadFromFile(std::string filePath, std::vector<stats_t> &list);
|
||||
|
||||
// Carga las estadisticas desde un servidor
|
||||
void loadFromServer();
|
||||
|
||||
// Guarda las estadisticas en un fichero
|
||||
void saveToFile(std::string filePath, std::vector<stats_t> &list);
|
||||
|
||||
// Guarda las estadisticas en un servidor
|
||||
void saveToServer();
|
||||
|
||||
// Calcula cual es la habitación con más muertes
|
||||
void checkWorstNightmare();
|
||||
|
||||
@@ -64,7 +56,7 @@ private:
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Stats(std::string file, std::string buffer, options_t *options, Online *online);
|
||||
Stats(std::string file, std::string buffer, options_t *options);
|
||||
|
||||
// Destructor
|
||||
~Stats();
|
||||
|
||||
Reference in New Issue
Block a user