add SetOptionRowFromName to ScreenOptions. not yet tested or proofread.

This commit is contained in:
Flameshadowxeroshin
2011-08-31 03:41:26 +00:00
parent f426cfc6ba
commit 49d2201882
+13 -2
View File
@@ -1327,8 +1327,19 @@ public:
return 1;
}
//FSX's WIP code, don't touch
//static int SetOptio
/*FSX's WIP code, touch if it's wrong (which it probably is)
static int SetOptionRowFromName( T* p, lua_State *L )
{
FOREACH_PlayerNumber( pn )
{
for( unsigned i=0; i<m_pRows.size(); i++ )
{
if( m_pRows[i]->GetRowTitle() == SArg(1) && m_pRows[i]->GetRowDef().IsEnabledForPlayer(p) )
p->MoveRowAbsolute(pn,i
}
}
}
*/
LunaScreenOptions()
{