OSDN Git Service

Merge pull request #316 from sikabane-works/feature/readme-md
[hengbandforosx/hengbandosx.git] / src / object-activation / activation-util.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 // Activation Execution.
6 typedef struct ae_type {
7     DIRECTION dir;
8     bool success;
9     object_type *o_ptr;
10     DEPTH lev;
11     int chance;
12     int fail;
13 } ae_type;
14
15 ae_type *initialize_ae_type(player_type *user_ptr, ae_type *ae_ptr, const INVENTORY_IDX item);