Mercurial > mm7
comparison Chest.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 |
---|---|
29 | 29 |
30 | 30 |
31 | 31 |
32 size_t uNumChests; // idb | 32 size_t uNumChests; // idb |
33 struct ChestList *pChestList; | 33 struct ChestList *pChestList; |
34 Chest pChests[20]; | 34 std::array<Chest, 20> pChests; |
35 | 35 |
36 | 36 |
37 const int pChestPixelOffsetX[8] = {42, 18, 18, 42, 42, 42, 18, 42}; | 37 const int pChestPixelOffsetX[8] = {42, 18, 18, 42, 42, 42, 18, 42}; |
38 const int pChestPixelOffsetY[8] = {34, 30, 30, 34, 34, 34, 30, 34}; | 38 const int pChestPixelOffsetY[8] = {34, 30, 30, 34, 34, 34, 30, 34}; |
39 const int pChestWidthsByType[8] = {9, 9, 9, 9, 9, 9, 9, 9}; | 39 const int pChestWidthsByType[8] = {9, 9, 9, 9, 9, 9, 9, 9}; |