From: Martin Read Date: Mon, 20 Jan 2014 14:44:27 +0000 (+0000) Subject: More doxygen comments; removal of a code corpse X-Git-Tag: printmsg-purged~37 X-Git-Url: http://git.blackswordsonics.com/?a=commitdiff_plain;h=5b32cd8f7bfed1b6894def1b82520f8bc436925a;p=victrix-abyssi More doxygen comments; removal of a code corpse --- diff --git a/main.cc b/main.cc index 1ac8e66..f3deb6d 100644 --- a/main.cc +++ b/main.cc @@ -59,6 +59,8 @@ int game_finished; int game_tick; int wizard_mode = WIZARD_MODE; +/*! \brief Monster map reinitialization after reload + */ static void rebuild_mapmons(void) { int i; @@ -71,6 +73,8 @@ static void rebuild_mapmons(void) } } +/*! \brief Object map reinitialization after reload + */ static void rebuild_mapobjs(void) { int i; @@ -83,11 +87,6 @@ static void rebuild_mapobjs(void) } } -unsigned int convert_range(int dy, int dx) -{ - return std::max(myabs(dy), myabs(dx)); -} - void save_game(void) { FILE *fp; @@ -665,5 +664,5 @@ int main(void) return 0; } -/* main.c */ +/* main.cc */ // vim:cindent