X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fclient%2Fmap.h;h=f8c6c9f361816ffb0620ab50c089ba495755a958;hb=891ba8fbca53d920f6b3704827fa6b8aee737de4;hp=d104c28a897bbebaa7ece711af1688f64c10ec7a;hpb=e03020342a74aef143b1ec38c18966dac64181b5;p=plomrogue diff --git a/src/client/map.h b/src/client/map.h index d104c28..f8c6c9f 100644 --- a/src/client/map.h +++ b/src/client/map.h @@ -3,17 +3,8 @@ * Routines for the game map window. */ -#ifndef MAP_H -#define MAP_H - -#include "../common/yx_uint16.h" /* yx_uint16 struct */ - - -struct Map -{ - struct yx_uint16 size; /* map's height/width in number of cells */ - char * cells; /* sequence of bytes encoding map cells */ -}; +#ifndef MAP_H_CLIENT +#define MAP_H_CLIENT @@ -23,6 +14,7 @@ extern void map_scroll(char d); /* Center map window on player (even if it is non-visible). */ extern void map_center(); - +/* Toggle world.focus_each_turn (auto-centering of map on player each turn). */ +extern void toggle_autofocus(); #endif