Cambiados muchos DEFINEs por variables de param
This commit is contained in:
@@ -20,6 +20,8 @@ Director::Director(int argc, char *argv[])
|
||||
#ifdef RECORDING
|
||||
section->name = SECTION_PROG_GAME;
|
||||
section->subsection = SUBSECTION_GAME_PLAY_1P;
|
||||
#elif DEBUG
|
||||
section->name = SECTION_PROG_LOGO;
|
||||
#else
|
||||
section->name = SECTION_PROG_LOGO;
|
||||
#endif
|
||||
@@ -424,7 +426,7 @@ void Director::loadParams()
|
||||
{
|
||||
param = new param_t;
|
||||
|
||||
loadParam(param, asset->get("param.txt"));
|
||||
loadParamsFromFile(param, asset->get("param.txt"));
|
||||
|
||||
// Modifica las opciones desde el fichero de parametros
|
||||
options->video.window.width = options->video.window.size * param->game.width;
|
||||
|
||||
Reference in New Issue
Block a user