Move text to texts.h

This commit is contained in:
Miloslav Číž 2020-11-29 19:27:47 +01:00
parent 88c14426b5
commit 3884384f74
2 changed files with 3 additions and 1 deletions

2
game.h
View File

@ -4539,7 +4539,7 @@ void SFG_drawWinOverlay()
RCL_abs(y - (SFG_GAME_RESOLUTION_Y / 2)) <= (INNER_STRIP_HEIGHT / 2) ?
0 : 172);
char textLine[] = "level done";
char textLine[] = SFG_TEXT_LEVEL_COMPLETE;
uint16_t y = SFG_GAME_RESOLUTION_Y / 2 -
((STRIP_HEIGHT + INNER_STRIP_HEIGHT) / 2) / 2;

View File

@ -32,6 +32,8 @@ static const char *SFG_menuItemTexts[] =
#define SFG_TEXT_KILLS "kills"
#define SFG_TEXT_SAVE_PROMPT "save? L no yes R"
#define SFG_TEXT_SAVED "saved"
#define SFG_TEXT_LEVEL_COMPLETE "level done"
#define SFG_VERSION_STRING "1.0d"
/**<
Version numbering is following: major.minor for stable releases,