OSDN Git Service

[Fix] #864 Resolved the issue that a compilation error occurred in English environment
authorHourier <grapefox.whitelucifer.0408@gmail.com>
Sun, 25 Apr 2021 09:07:56 +0000 (18:07 +0900)
committerHourier <grapefox.whitelucifer.0408@gmail.com>
Sun, 25 Apr 2021 09:13:53 +0000 (18:13 +0900)
src/Makefile.am
src/core/scores.cpp
src/flavor/named-item-describer.cpp
src/main-gcu.cpp
src/main.cpp

index ee7d196..0197dcd 100644 (file)
@@ -834,6 +834,7 @@ hengband_SOURCES = \
        system/monster-race-definition.h \
        system/monster-type-definition.h \
        system/object-type-definition.h \
+       system/player-type-definition.cpp system/player-type-definition.h \
        system/system-variables.cpp system/system-variables.h \
        system/gamevalue.h \
        \
index 2b01161..e9437da 100644 (file)
@@ -467,6 +467,10 @@ bool send_world_score(player_type *current_player_ptr, bool do_send, display_pla
                prt(_("完了。何かキーを押してください。", "Completed.  Hit any key."), 0, 0);
                (void)inkey();
        }
+#else
+    (void)current_player_ptr;
+    (void)do_send;
+    (void)display_player;
 #endif
        return TRUE;
 }
index 9ae0b1b..89a3450 100644 (file)
@@ -20,6 +20,7 @@
 #include "locale/english.h"
 #include "monster-race/monster-race.h"
 #include "monster-race/race-flags1.h"
+#include "system/monster-race-definition.h"
 #endif
 
 static void check_object_known_aware(player_type *player_ptr, flavor_type *flavor_ptr)
index 88c3f80..02578f0 100644 (file)
 #include "main/sound-definitions-table.h"
 #include "main/sound-of-music.h"
 #include "system/angband.h"
+#include "system/player-type-definition.h"
 #include "term/gameterm.h"
 #include "term/term-color-types.h"
 #include "util/angband-files.h"
index bd75d39..da821a9 100644 (file)
@@ -19,6 +19,7 @@
 #include "player/process-name.h"
 #include "system/angband-version.h"
 #include "system/angband.h"
+#include "system/player-type-definition.h"
 #include "system/system-variables.h"
 #include "term/gameterm.h"
 #include "term/term-color-types.h"