forked from jaildesigner-jailgames/jaildoctors_dilemma
Añadida barra de información en el titulo
This commit is contained in:
@@ -19,7 +19,7 @@ Director::Director(int argc, char *argv[])
|
||||
section->subsection = SUBSECTION_LOGO_TO_INTRO;
|
||||
|
||||
#ifdef DEBUG
|
||||
section->name = SECTION_PROG_GAME;
|
||||
section->name = SECTION_PROG_INTRO;
|
||||
#endif
|
||||
|
||||
// Crea e inicializa las opciones del programa
|
||||
@@ -142,6 +142,9 @@ void Director::initOptions()
|
||||
|
||||
// Estos valores no se guardan en el fichero de configuraci´ón
|
||||
options->console = false;
|
||||
#ifdef DEBUG
|
||||
options->console = true;
|
||||
#endif
|
||||
options->cheat.infiniteLives = false;
|
||||
options->cheat.invincible = false;
|
||||
options->cheat.jailEnabled = false;
|
||||
@@ -155,7 +158,7 @@ void Director::initOptions()
|
||||
options->online.server = "jaildoctor.duckdns.org";
|
||||
options->online.port = 9911;
|
||||
#ifdef DEBUG
|
||||
options->online.gameID = "jaildoctors_dilemma_test";
|
||||
options->online.gameID = "jaildoctors_dilemma_debug";
|
||||
#else
|
||||
options->online.gameID = "jaildoctors_dilemma";
|
||||
#endif
|
||||
@@ -497,12 +500,14 @@ void Director::loadResources(section_t *section)
|
||||
textureList.push_back("loading_screen_color.png");
|
||||
textureList.push_back("loading_screen_color_zxarne.png");
|
||||
textureList.push_back("smb2.png");
|
||||
textureList.push_back("debug.png");
|
||||
|
||||
resource->loadTextures(textureList);
|
||||
|
||||
// Offsets
|
||||
std::vector<std::string> offsetsList;
|
||||
offsetsList.push_back("smb2.txt");
|
||||
offsetsList.push_back("debug.txt");
|
||||
|
||||
resource->loadOffsets(offsetsList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user