OSDN Git Service

Revert "Merge branch 'master' of git.osdn.net:/gitroot/hengband/hengband"
[hengband/hengband.git] / src / report.c
index c1b87b8..ad5d1da 100644 (file)
@@ -7,21 +7,6 @@
 
 #define _GNU_SOURCE /*!< 未使用*/
 #include "angband.h"
-#include "util.h"
-#include "core.h"
-#include "inet.h"
-#include "dungeon.h"
-
-#include "floor.h"
-#include "player-status.h"
-#include "player-class.h"
-#include "player-race.h"
-#include "player-personality.h"
-#include "files.h"
-#include "world.h"
-#include "realm.h"
-#include "term.h"
-#include "view-mainwindow.h"
 
 #ifdef WORLD_SCORE
 
@@ -46,8 +31,6 @@
 #include <signal.h>
 #endif
 
-concptr screen_dump = NULL;
-
 /*
  * internet resource value
  */
@@ -482,7 +465,7 @@ errr report_score(void)
        buf_sprintf(score, "version: Hengband %d.%d.%d\n",
                    FAKE_VER_MAJOR-10, FAKE_VER_MINOR, FAKE_VER_PATCH);
 #endif
-       buf_sprintf(score, "score: %d\n", calc_score());
+       buf_sprintf(score, "score: %d\n", total_points());
        buf_sprintf(score, "level: %d\n", p_ptr->lev);
        buf_sprintf(score, "depth: %d\n", current_floor_ptr->dun_level);
        buf_sprintf(score, "maxlv: %d\n", p_ptr->max_plv);