Los parametros del juego ya se pueden cargar desde un fichero de texto. Falta empezar a sacar parametros hard-coded a ese fichero

This commit is contained in:
2024-06-20 13:09:00 +02:00
parent 1be38191bb
commit 5b8ea728ca
8 changed files with 162 additions and 31 deletions

13
source/load_param.h Normal file
View File

@@ -0,0 +1,13 @@
#pragma once
#include <SDL2/SDL.h>
#include "common/utils.h"
#include "const.h"
#ifndef LOAD_PARAM
#define LOAD_PARAM
// Establece valores para los parametros a partir de un fichero de texto
bool loadParam(param_t *param, std::string filePath);
#endif