OSDN Git Service

Merge pull request #3532 from sikabane-works/release/3.0.0.87-alpha
[hengbandforosx/hengbandosx.git] / src / object-activation / activation-util.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 // Activation Execution.
6 class ItemEntity;
7 struct ae_type {
8     DIRECTION dir;
9     bool success;
10     ItemEntity *o_ptr;
11     DEPTH lev;
12     int chance;
13     int fail;
14 };
15
16 class PlayerType;
17 ae_type *initialize_ae_type(PlayerType *player_ptr, ae_type *ae_ptr, const INVENTORY_IDX item);