comparison Items.cpp @ 1202:0dbf6c4dd029

arrays to std::arrays phase 1
author Grumpy7
date Sat, 08 Jun 2013 21:33:22 +0200
parents 29a8defbad9e
children 8c02e6f74b29
comparison
equal deleted inserted replaced
1196:44f37efc159c 1202:0dbf6c4dd029
26 unsigned __int16 treasure_level; 26 unsigned __int16 treasure_level;
27 unsigned __int16 item_class[4]; 27 unsigned __int16 item_class[4];
28 }; 28 };
29 29
30 30
31 const char uItemsAmountPerShopType[5]={ 0, 6, 8, 12, 12}; 31 std::array<const char, 5> uItemsAmountPerShopType={ 0, 6, 8, 12, 12};
32 32
33 const ITEM_VARIATION shopWeap_variation_ord[15] ={ 33 const ITEM_VARIATION shopWeap_variation_ord[15] ={
34 { 0, { 0, 0, 0, 0 }}, 34 { 0, { 0, 0, 0, 0 }},
35 { 1, { 23, 27, 20, 20 }}, 35 { 1, { 23, 27, 20, 20 }},
36 { 1, { 23, 24, 28, 20 }}, 36 { 1, { 23, 24, 28, 20 }},