OSDN Git Service

2bc44d5aa0d119b6d5f8e2b327badb9438e7cc5d
[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);