Well, some of these will take the arrays.

This plan won't work as well as expected.

What's changed now is fine. Some code expects vectors
even though the size never changes.
This commit is contained in:
Jason Felds
2013-05-05 10:05:07 -04:00
parent b25758b3a8
commit e348b27684
2 changed files with 257 additions and 256 deletions
+2 -1
View File
@@ -9,6 +9,7 @@
#include "ModIcon.h"
#include "ThemeMetric.h"
#include "AutoActor.h"
#include <array>
class OptionRowHandler;
class GameCommand;
@@ -138,7 +139,7 @@ protected:
ModIcon *m_ModIcons[NUM_PLAYERS];
bool m_bFirstItemGoesDown;
bool m_bRowHasFocus[NUM_PLAYERS];
std::array<bool, NUM_PLAYERS> m_bRowHasFocus;
int m_iChoiceInRowWithFocus[NUM_PLAYERS]; // this choice has input focus
// Only one will true at a time if m_pHand->m_Def.bMultiSelect