We load lots of the same thing in OptionRows. Instead of loading each one

individually, just load one and copy it for the rest; this avoids doing
the whole "search, read redir, find refcounted" code path for every
option.  Don't load data from OptionRow::AfterImportOptions.
This commit is contained in:
Glenn Maynard
2005-07-15 05:34:54 +00:00
parent 7afc69b2fd
commit 5c441a5fdf
4 changed files with 29 additions and 17 deletions
+2
View File
@@ -171,7 +171,9 @@ protected:
RowType m_RowType;
OptionRowHandler* m_pHand;
ActorFrame m_Frame;
BitmapText m_textItemParent;
vector<BitmapText *> m_textItems; // size depends on m_bRowIsLong and which players are joined
OptionsCursor m_UnderlineParent;
vector<OptionsCursor *> m_Underline[NUM_PLAYERS]; // size depends on m_bRowIsLong and which players are joined
Sprite m_sprBullet;
BitmapText m_textTitle;