From 5b32cd8f7bfed1b6894def1b82520f8bc436925a Mon Sep 17 00:00:00 2001 From: Martin Read Date: Mon, 20 Jan 2014 14:44:27 +0000 Subject: [PATCH] More doxygen comments; removal of a code corpse --- main.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 -- 2.11.0