OSDN Git Service

[Refactor] #40574 Separated lose-mutation-switcher.c/h from mutation.c
[hengband/hengband.git] / src / mutation / mutation-util.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 // Gain and Lose Mutation.
6 typedef struct glm_type {
7     BIT_FLAGS *muta_class;
8     int muta_which; // mutation_flag_type_1 とmutation_flag_type_2 の両対応とするため、敢えてint型で定義する
9     concptr muta_desc;
10     bool muta_chosen;
11     MUTATION_IDX choose_mut;
12 } glm_type;
13
14 glm_type *initialize_glm_type(glm_type *gm_ptr, MUTATION_IDX choose_mut);