diff SaveLoad.cpp @ 1206:ab6560001f5b

arrays to std::arrays phase 2 - some more arrays converted
author Grumpy7
date Sun, 09 Jun 2013 01:10:49 +0200
parents 8c02e6f74b29
children 96a81634669e
line wrap: on
line diff
--- a/SaveLoad.cpp	Sun Jun 09 00:30:48 2013 +0200
+++ b/SaveLoad.cpp	Sun Jun 09 01:10:49 2013 +0200
@@ -32,9 +32,9 @@
 
 struct SavegameList *pSavegameList = new SavegameList;
 unsigned int uNumSavegameFiles;
-unsigned int pSavegameUsedSlots[45];
-struct RGBTexture pSavegameThumbnails[45];
-SavegameHeader    pSavegameHeader[45];
+std::array<unsigned int, 45> pSavegameUsedSlots;
+std::array<struct RGBTexture, 45> pSavegameThumbnails;
+std::array<SavegameHeader, 45> pSavegameHeader;