Adds information to player
- Fullscreen command is listed - ESC to go back from views is listed
This commit is contained in:
parent
0ab65c9989
commit
fbb63ba742
16
src/main.c
16
src/main.c
|
@ -99,19 +99,21 @@ static char *skills_tooltip[] = {
|
|||
static char *how_to_play_tooltip[] = {
|
||||
"HOW TO PLAY",
|
||||
"",
|
||||
" NAVIGATION: Use ARROWS or WASD or HJKL to move",
|
||||
" NAVIGATION: Use ARROWS or WASD or HJKL to move",
|
||||
"",
|
||||
" ATTACK: Walk into a monster to attack it",
|
||||
" ATTACK: Walk into a monster to attack it",
|
||||
"",
|
||||
" THROW DAGGER: Press 4 then chose a direction (navigation keys)",
|
||||
" THROW DAGGER: Press 4 then chose a direction (nav keys)",
|
||||
"",
|
||||
" DRINK HEALTH: Press 5 (if you need health and have potions)",
|
||||
" DRINK HEALTH: Press 5 (if you need health and have potions)",
|
||||
"",
|
||||
" TOGGLE MUSIC: CTRL + M",
|
||||
" TOGGLE MUSIC: CTRL + M",
|
||||
"",
|
||||
" TOGGLE SOUND: CTRL + S",
|
||||
" TOGGLE SOUND: CTRL + S",
|
||||
"",
|
||||
" TOGGLE MENU: ESC",
|
||||
" TOGGLE FULLSCREEN: CTRL + F",
|
||||
"",
|
||||
" TOGGLE MENU: ESC",
|
||||
"",
|
||||
" Your stats and inventory are listed in the right panel",
|
||||
"",
|
||||
|
|
|
@ -95,6 +95,7 @@ screen_create_credits(SDL_Renderer *renderer)
|
|||
linkedlist_push(&screen->sprites, credit_txt("ArtisticDuded", C_WHITE, x + columnOffset, y, renderer));
|
||||
y += 20;
|
||||
linkedlist_push(&screen->sprites, credit_txt("opengameart.org/users/artisticdude", C_WHITE, x + columnOffset, y, renderer));
|
||||
linkedlist_push(&screen->sprites, score_txt("Press ESC to go back", C_RED, 15, SCREEN_HEIGHT - 25, renderer));
|
||||
return screen;
|
||||
}
|
||||
|
||||
|
@ -164,6 +165,7 @@ screen_create_hiscore(SDL_Renderer *renderer)
|
|||
renderer));
|
||||
hiscore_destroy(score);
|
||||
}
|
||||
linkedlist_push(&screen->sprites, score_txt("Press ESC to go back", C_RED, 15, SCREEN_HEIGHT - 25, renderer));
|
||||
return screen;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue