From e07d97c9fe5920ebe5b375d8e292b865cec45ea3 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 07 Aug 2021 10:33:07 -0400 Subject: menu: Log game info --- diff --git a/src/menu.c b/src/menu.c index 9339c80..f86a765 100644 --- a/src/menu.c +++ b/src/menu.c @@ -96,6 +96,11 @@ _mf_menu_play(void *user_data) { struct _mf_menu *menu = (struct _mf_menu *) user_data; + SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Playing with seed %ld, " + "size %dx%d, fog of war %s, and maze %s", + menu->seed, menu->size, menu->size, + menu->fow ? "enabled" : "disabled", + menu->reveal ? "revealed" : "hidden"); /* TODO */ return 0; -- cgit v0.9.1