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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user