diff UIHouses.cpp @ 1207:96a81634669e

arrays to std::arrays phase 3 - finishing global arrays undone changes in render.h, because framerate dropped by half
author Grumpy7
date Sun, 09 Jun 2013 01:30:36 +0200
parents 8c02e6f74b29
children decc0dd6e4ba
line wrap: on
line diff
--- a/UIHouses.cpp	Sun Jun 09 01:10:49 2013 +0200
+++ b/UIHouses.cpp	Sun Jun 09 01:30:36 2013 +0200
@@ -118,8 +118,8 @@
 
 
 
-const stru159 pAnimatedRooms[196] = //0x4E5F70
-{
+std::array<const stru159, 196> pAnimatedRooms = //0x4E5F70
+{{
         {"",                            0x4, 0x1F4, 0, 0, 0},
         {"Human Armor01",               0x20, 0x2C0, 2, 58, 0},
         {"Necromancer Armor01",         0x20, 0x2D7, 2, 70, 0 },
@@ -316,7 +316,7 @@
         {"Human Temple02",              0x24, 0x3AB, 23, 27, 0 },
         {"Player Castle Good",          0x24, 0, 25, 0, 0 },
         {"Player Castle Bad",           0x24, 0, 25, 0, 0}
-};
+}};