1 // Property of Alientrap/AK
4 void() Nex_Quit_Toggle =
8 lEntity = Menu_GetItem( "QuitWnd" );
9 if( lEntity.flag & FLAG_HIDDEN ) {
10 lEntity.flag = lEntity.flag - FLAG_HIDDEN;
11 Menu_Select( Menu_GetItem( "QuitWnd::Layout::Buttons::No" ), false );
13 lEntity.flag = lEntity.flag + FLAG_HIDDEN;
14 Menu_Reselect( false );
18 void() Nex_Quit_Action =
22 lEntity = Menu_GetItem( "QuitWnd" );
23 if( lEntity.flag & FLAG_HIDDEN )
24 lEntity.flag = lEntity.flag - FLAG_HIDDEN;
25 Menu_Select( Menu_GetItem( "QuitWnd::Layout::Buttons::No" ), false );
28 bool( float pKey, float pAscii ) Nex_Quit_Key =
30 if( pKey == K_ESCAPE ) {