Name the game

This commit is contained in:
Juhani Krekelä 2022-01-15 17:30:00 +00:00
parent a30f728255
commit 0d5fb67b1e
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
platformer
switcher
*.inc

View File

@ -1,7 +1,7 @@
.SUFFIXES:
.SUFFIXES: .inc .txt
NAME = platformer
NAME = switcher
TILES = player_stand_tile.inc \
player_walk1_tile.inc player_walk1_tile_reversed.inc \
player_walk2_tile.inc player_walk2_tile_reversed.inc \

View File

@ -480,7 +480,7 @@ int main(int argc, char *argv[]) {
if (last_frame.tv_sec != now.tv_sec) {
char *title = NULL;
asprintf(&title, "%i fps", fps);
asprintf(&title, "Switcher (%i fps)", fps);
display_title_window(connection, main_window, title);
free(title);
fps = 0;