update
This commit is contained in:
@@ -448,23 +448,28 @@ void Director::runGame()
|
|||||||
|
|
||||||
void Director::run()
|
void Director::run()
|
||||||
{
|
{
|
||||||
|
const std::string text = "españa";
|
||||||
|
printf("lenght = %d\n", text.length());
|
||||||
|
for (int i = 0; i < text.length(); i++)
|
||||||
|
printf("%d - %d\n", i, (unsigned int)text[i]);
|
||||||
|
|
||||||
// Bucle principal
|
// Bucle principal
|
||||||
while (!(getSection() == PROG_SECTION_QUIT))
|
//while (!(getSection() == PROG_SECTION_QUIT))
|
||||||
{
|
//{
|
||||||
switch (getSection())
|
// switch (getSection())
|
||||||
{
|
// {
|
||||||
case PROG_SECTION_LOGO:
|
// case PROG_SECTION_LOGO:
|
||||||
runLogo();
|
// runLogo();
|
||||||
break;
|
// break;
|
||||||
case PROG_SECTION_INTRO:
|
// case PROG_SECTION_INTRO:
|
||||||
runIntro();
|
// runIntro();
|
||||||
break;
|
// break;
|
||||||
case PROG_SECTION_TITLE:
|
// case PROG_SECTION_TITLE:
|
||||||
runTitle();
|
// runTitle();
|
||||||
break;
|
// break;
|
||||||
case PROG_SECTION_GAME:
|
// case PROG_SECTION_GAME:
|
||||||
runGame();
|
// runGame();
|
||||||
break;
|
// break;
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user