diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-12 00:21:07 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-12 04:28:57 +0100 |
commit | 6777cb6869cfa6c2dc9274fe80ed5623eedf8c15 (patch) | |
tree | 2fded169f168de6caca556da34d0a3d191909c82 /crawl-ref/source/store.h | |
parent | 1bc176067ecdc1ba80f366c4b7c3c648e77ef5e0 (diff) | |
download | crawl-ref-6777cb6869cfa6c2dc9274fe80ed5623eedf8c15.tar.gz crawl-ref-6777cb6869cfa6c2dc9274fe80ed5623eedf8c15.zip |
Increase the max size of CrawlVector/CrawlHashTable to 65535 (SamB).
Diffstat (limited to 'crawl-ref/source/store.h')
-rw-r--r-- | crawl-ref/source/store.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/store.h b/crawl-ref/source/store.h index 872fdd3831..1665fb984e 100644 --- a/crawl-ref/source/store.h +++ b/crawl-ref/source/store.h @@ -25,12 +25,12 @@ class monster; #include "tags.h" -typedef uint8_t hash_size; -typedef uint8_t vec_size; +typedef uint16_t hash_size; +typedef uint16_t vec_size; typedef uint8_t store_flags; -#define VEC_MAX_SIZE 255 -#define HASH_MAX_SIZE 255 +#define VEC_MAX_SIZE 0xFFFF +#define HASH_MAX_SIZE 0xFFFF // NOTE: Changing the ordering of these enums will break savefile // compatibility. |