add SetOptionRowFromName to ScreenOptions. not yet tested or proofread.
This commit is contained in:
+13
-2
@@ -1327,8 +1327,19 @@ public:
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//FSX's WIP code, don't touch
|
/*FSX's WIP code, touch if it's wrong (which it probably is)
|
||||||
//static int SetOptio
|
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()
|
LunaScreenOptions()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user