Name the game
This commit is contained in:
parent
a30f728255
commit
0d5fb67b1e
|
@ -1,2 +1,2 @@
|
|||
platformer
|
||||
switcher
|
||||
*.inc
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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 \
|
||||
|
|
|
@ -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;
|
Loading…
Reference in New Issue