OSDN Git Service

Merge pull request #3532 from sikabane-works/release/3.0.0.87-alpha
[hengbandforosx/hengbandosx.git] / src / system / alloc-entries.cpp
1 #include "system/alloc-entries.h"
2 #include "system/baseitem-info.h"
3
4 /* The entries in the "race allocator table" */
5 std::vector<alloc_entry> alloc_race_table;
6
7 /* The entries in the "kind allocator table" */
8 std::vector<alloc_entry> alloc_kind_table;
9
10 BaseitemInfo &alloc_entry::get_baseitem() const
11 {
12     return baseitems_info[this->index];
13 }