diff options
author | Bardur Arantsson <bardur@scientician.net> | 2017-06-13 18:24:42 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2017-06-13 18:24:42 +0200 |
commit | 1eb13ec5a357c43c5366c276dce87fba6f713fc6 (patch) | |
tree | 889f1c7f7a6a73627566e44777002be8daa29d7b /src/variable.cc | |
parent | ff8894cc6bec9eeae81b222ec8116e3bb8793174 (diff) |
Move alloc_* tables to Game struct
We also change the arrays to std::vector<>
Diffstat (limited to 'src/variable.cc')
-rw-r--r-- | src/variable.cc | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/variable.cc b/src/variable.cc index 1bcab738..8a6a71c8 100644 --- a/src/variable.cc +++ b/src/variable.cc @@ -341,34 +341,6 @@ u16b max_real_towns; town_type *town_info; /* - * The size of "alloc_kind_table" (at most max_k_idx * ALLOCATIONS_MAX) - */ -s16b alloc_kind_size; - -/* - * The entries in the "kind allocator table" - */ -alloc_entry *alloc_kind_table; - -/* - * The flag to tell if alloc_kind_table contains valid entries - * for normal (i.e. kind_is_legal) object allocation - */ -bool_ alloc_kind_table_valid = FALSE; - - -/* - * The size of "alloc_race_table" (at most max_r_idx) - */ -s16b alloc_race_size; - -/* - * The entries in the "race allocator table" - */ -alloc_entry *alloc_race_table; - - -/* * Specify attr/char pairs for visual special effects * Be sure to use "index & 0x7F" to avoid illegal access */ |