OSDN Git Service

[Refactor] #40392 prototype decleration from birth-wizard.h to auto-roller.h
authorHourier <hourier@users.sourceforge.jp>
Tue, 19 May 2020 11:31:45 +0000 (20:31 +0900)
committerHourier <hourier@users.sourceforge.jp>
Tue, 19 May 2020 11:31:45 +0000 (20:31 +0900)
src/birth/auto-roller.h
src/birth/birth-wizard.h
src/view/display-birth.c

index 76455af..4855b49 100644 (file)
@@ -9,6 +9,9 @@ typedef struct {
 } chara_limit_type;
 
 extern s16b stat_limit[6];
+extern s32b stat_match[6];
+extern s32b auto_round;
+
 bool get_stat_limits(player_type *creature_ptr);
 void initialize_chara_limit(chara_limit_type *chara_limit_ptr);
 bool get_chara_limits(player_type *creature_ptr, chara_limit_type *chara_limit_ptr);
index f8aa58a..c3f8071 100644 (file)
@@ -1,6 +1,3 @@
 #pragma once
 
-extern s32b stat_match[6];
-extern s32b auto_round;
-
 bool player_birth_wizard(player_type *creature_ptr, void (*process_autopick_file_command)(char *));
index b490c6c..aaf49ab 100644 (file)
@@ -2,7 +2,7 @@
 #include "view/display-birth.h"
 #include "player/player-personality.h"
 #include "term/gameterm.h"
-#include "birth/birth-wizard.h"
+#include "birth/auto-roller.h"
 #include "birth/birth-stat.h"
 
 /*!