Mercurial > mm7
diff Player.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 | 8192b25d356c |
line wrap: on
line diff
--- a/Player.cpp Sun Jun 09 01:10:49 2013 +0200 +++ b/Player.cpp Sun Jun 09 01:30:36 2013 +0200 @@ -109,7 +109,7 @@ signed int pAgeingTable[4] = {50, 100, 150, 0xFFFF}; -unsigned int pConditionImportancyTable[18] = {16, 15, 14, 17, 13, 2, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 0}; +std::array<unsigned int, 18> pConditionImportancyTable = {{16, 15, 14, 17, 13, 2, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1, 0}}; short param_to_bonus_table[29] = {500, 400, 350, 300, 275, 250, 225, 200, 175, 150, 125, 100, 75, 50, 40, 35, 30, 25, 21,