Mercurial > mm7
diff Items.h @ 1202:0dbf6c4dd029
arrays to std::arrays phase 1
author | Grumpy7 |
---|---|
date | Sat, 08 Jun 2013 21:33:22 +0200 |
parents | 39eaa6b00141 |
children | 61010a655c94 |
line wrap: on
line diff
--- a/Items.h Sat Jun 08 19:34:33 2013 +0200 +++ b/Items.h Sat Jun 08 21:33:22 2013 +0200 @@ -1,4 +1,5 @@ #pragma once +#include <array> enum DAMAGE_TYPE:unsigned int { @@ -329,7 +330,7 @@ void GenerateSpecialShopItems(); void GenerateItemsInChest(); -extern const char uItemsAmountPerShopType[]; // weak +extern std::array<const char, 5> uItemsAmountPerShopType; // weak extern ItemGen *ptr_50C9A4; extern struct ItemsTable *pItemsTable;