diff --git a/source/director.cpp b/source/director.cpp index 8dacb9d..43ec947 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -19,7 +19,7 @@ Director::Director(int argc, char *argv[]) section->subsection = SUBSECTION_LOGO_TO_INTRO; #ifdef DEBUG - section->name = SECTION_PROG_INTRO; + section->name = SECTION_PROG_TITLE; #endif // Crea e inicializa las opciones del programa diff --git a/source/title.cpp b/source/title.cpp index 8168692..e06a232 100644 --- a/source/title.cpp +++ b/source/title.cpp @@ -260,9 +260,13 @@ void Title::renderMarquee() void Title::renderInfo() { const std::string loginText = options->online.enabled ? "OnLine: " + options->online.jailerID : "OnLine: OFF"; - infoText->writeDX(TXT_CENTER | TXT_COLOR, GAMECANVAS_FIRST_QUARTER_X, 1, loginText, 1, stringToColor(options->palette, "white")); - infoText->writeDX(TXT_CENTER | TXT_COLOR, GAMECANVAS_CENTER_X, 1, "H: Help", 1, stringToColor(options->palette, "white")); - infoText->writeDX(TXT_CENTER | TXT_COLOR, GAMECANVAS_THIRD_QUARTER_X, 1, "A: Achievements", 1, stringToColor(options->palette, "white")); + // infoText->writeDX(TXT_CENTER | TXT_COLOR, GAMECANVAS_FIRST_QUARTER_X, 1, loginText, 1, stringToColor(options->palette, "white")); + // infoText->writeDX(TXT_CENTER | TXT_COLOR, GAMECANVAS_CENTER_X, 1, "H: Help", 1, stringToColor(options->palette, "white")); + // infoText->writeDX(TXT_CENTER | TXT_COLOR, GAMECANVAS_THIRD_QUARTER_X, 1, "A: Achievements", 1, stringToColor(options->palette, "white")); + infoText->write(1, 1, loginText); + const std::string version = "v.1.09"; + const int x = GAMECANVAS_WIDTH - infoText->lenght(version) - 1; + infoText->write(x, 1, version); } // Actualiza las variables