#include "system/angband.h"
#include "monster-race/monster-race.h"
-#include "system/alloc-entry-definition.h"
monster_race *r_info;
char *r_name;
#include "player/player-move.h"
#include "spell-realm/spells-hex.h"
#include "spell/spells-summon.h"
-#include "system/alloc-entry-definition.h"
#include "view/display-messages.h"
void decide_drop_from_monster(player_type *target_ptr, MONSTER_IDX m_idx, bool is_riding_mon);
-#include "system/angband.h"
-#include "system/alloc-entry-definition.h"
+#include "object-enchant/object-curse.h"
#include "object-enchant/item-feeling.h"
-#include "object-enchant/object-curse.h"
+#include "object-enchant/tr-types.h"
+#include "object-enchant/trc-types.h"
#include "object/object-flags.h"
#include "object/object-flavor.h"
#include "object/object-hook.h"
-#include "object-enchant/tr-types.h"
-#include "object-enchant/trc-types.h"
#include "util/bit-flags-calculator.h"
#include "view/display-messages.h"
-extern BIT_FLAGS get_curse(int power, object_type *o_ptr);
-extern void curse_equipment(player_type *owner_ptr, PERCENTAGE chance, PERCENTAGE heavy_chance);
+#pragma once
+
+#include "system/angband.h"
+
+BIT_FLAGS get_curse(int power, object_type *o_ptr);
+void curse_equipment(player_type *owner_ptr, PERCENTAGE chance, PERCENTAGE heavy_chance);
#include "object-kind.h"
-#include "system/alloc-entry-definition.h"
/*
* The object kind arrays
#pragma once
#include "system/angband.h"
+#include "system/alloc-entry-definition.h"
/*!
* @struct object_kind
#include "spell/spells-status.h"
#include "spell/spells-summon.h"
#include "spell/spell-types.h"
-#include "system/alloc-entry-definition.h"
#include "view/display-messages.h"
#ifdef JP
#include "grid/feature.h"
#include "grid/grid.h"
#include "room/rooms.h"
-#include "system/alloc-entry-definition.h"
#include "view/display-messages.h"
/*!
* Pass 2 is determined from allocation restriction
* Pass 3 is determined from allocation calculation
*/
-
-typedef struct alloc_entry alloc_entry;
-
-struct alloc_entry {
+typedef struct alloc_entry {
KIND_OBJECT_IDX index; /* The actual index */
DEPTH level; /* Base dungeon level */
PROB prob3; /* Probability, pass 3 */
u16b total; /* Unused for now */
-};
+} alloc_entry;