diff options
author | P. 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) |
commit | e07d97c9fe5920ebe5b375d8e292b865cec45ea3 (patch) | |
tree | 1680afc7d2e389d73c342ba2de8c89060d3659ba | |
parent | 362c6c4c8141345d060c573a92680128041b123a (diff) | |
download | mazefight-e07d97c9fe5920ebe5b375d8e292b865cec45ea3.zip mazefight-e07d97c9fe5920ebe5b375d8e292b865cec45ea3.tar.gz mazefight-e07d97c9fe5920ebe5b375d8e292b865cec45ea3.tar.bz2 |
menu: Log game info
-rw-r--r-- | src/menu.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |