This commit is contained in:
Glenn Maynard
2006-02-03 08:49:02 +00:00
parent 4bf73b3d32
commit 359b416fab
2 changed files with 1 additions and 9 deletions
-7
View File
@@ -1276,13 +1276,6 @@ void ScreenOptions::MenuUpDown( const InputEventPlus &input, int iDir )
}
}
int ScreenOptions::GetCurrentRow( PlayerNumber pn ) const
{
const int r = m_iCurrentRow[pn];
return r;
}
// lua start
#include "LuaBinding.h"
+1 -2
View File
@@ -88,8 +88,7 @@ protected:
virtual void MenuSelect( const InputEventPlus &input );
virtual void MenuUpDown( const InputEventPlus &input, int iDir ); // iDir == -1 or iDir == +1
/* Returns -1 if on a row with no OptionRowDefinition (eg. EXIT). */
int GetCurrentRow(PlayerNumber pn = PLAYER_1) const;
int GetCurrentRow( PlayerNumber pn = PLAYER_1 ) const { return m_iCurrentRow[pn]; }
bool AllAreOnLastRow() const;
protected: // derived classes need access to these