summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-07 10:33:07 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-07 10:33:07 (EDT)
commite07d97c9fe5920ebe5b375d8e292b865cec45ea3 (patch)
tree1680afc7d2e389d73c342ba2de8c89060d3659ba /src
parent362c6c4c8141345d060c573a92680128041b123a (diff)
downloadmazefight-e07d97c9fe5920ebe5b375d8e292b865cec45ea3.zip
mazefight-e07d97c9fe5920ebe5b375d8e292b865cec45ea3.tar.gz
mazefight-e07d97c9fe5920ebe5b375d8e292b865cec45ea3.tar.bz2
menu: Log game info
Diffstat (limited to 'src')
-rw-r--r--src/menu.c5
1 files changed, 5 insertions, 0 deletions
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;