OSDN Git Service

[feature] ソースファイルをC++に対応
[hengbandforosx/hengbandosx.git] / src / action / racial-execution.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 enum racial_level_check_result {
6         RACIAL_SUCCESS = 1,
7         RACIAL_FAILURE = -1,
8         RACIAL_CANCEL = 0,
9 };
10
11 typedef struct rpi_type rpi_type;
12 PERCENTAGE racial_chance(player_type *creature_ptr, rpi_type *rpi_ptr);
13 racial_level_check_result check_racial_level(player_type *creature_ptr, rpi_type *rpi_ptr);
14 bool exe_racial_power(player_type *creature_ptr, const s32b command);