mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Merged from revision: 7258
- Translated russian source code comments (by Sevenfm) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7259 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1674,8 +1674,8 @@ void GetRTMousePositionInput( UINT32 *puiNewEvent )
|
||||
}
|
||||
}
|
||||
|
||||
//***13.02.2008*** ïîñòàíîâêà â òàêòèêå ìåøêîâ ñ ïåñêîì
|
||||
//usSubIndex ìîæåò áûòü îò 1 äî 10
|
||||
//***13.02.2008*** place sandbags in tactics
|
||||
//usSubIndex may be [ 1 .. 10 ]
|
||||
//void PlaceSandbag (UINT16 usSubIndex)
|
||||
//{
|
||||
// INT16 sGridNo;
|
||||
@@ -1727,20 +1727,20 @@ void GetRTMousePositionInput( UINT32 *puiNewEvent )
|
||||
// // return;
|
||||
//
|
||||
// //pSector = &SectorInfo[ SECTOR(gWorldSectorX, gWorldSectorY) ];
|
||||
// //if( pSector->bUSUSED <= 0 ) //ïðîâåðÿåì ÷èñëî äîñòóïíûõ ìåøêîâ
|
||||
// //if( pSector->bUSUSED <= 0 ) //check the number of available sandbags
|
||||
// //{
|
||||
// // ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, L"No Sandbags");
|
||||
// //}
|
||||
//usIndex =1;
|
||||
// //GetTileIndexFromTypeSubIndex( SECONDLARGEEXPDEBRIS, usSubIndex, &usIndex ); //òîëüêî äëÿ 0 òàéëñåòà
|
||||
//GetTileIndexFromTypeSubIndex( 150, usSubIndex, &usIndex ); //òîëüêî äëÿ 0 òàéëñåòà
|
||||
// //GetTileIndexFromTypeSubIndex( SECONDLARGEEXPDEBRIS, usSubIndex, &usIndex ); //only for tileset 0
|
||||
//GetTileIndexFromTypeSubIndex( 150, usSubIndex, &usIndex ); //only for tileset 0
|
||||
//ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, L"No Sandbags");
|
||||
// //GetTileIndexFromTypeSubIndex( SECONDLARGEEXPDEBRIS, usSubIndex, &usIndex );
|
||||
// ApplyMapChangesToMapTempFile( TRUE );
|
||||
// AddStructToHead( sGridNo, usIndex);
|
||||
// //if( pSector->bUSUSED <= 0 || !AddStructToHead( sGridNo, usIndex ) )
|
||||
// //{
|
||||
// //ïåðåáîð äëÿ óäàëåíèÿ âñåõ âèäîâ ìåøêîâ
|
||||
// //loop to delete all sandbags
|
||||
// // for(cnt = 1; cnt <= 10; cnt++)
|
||||
// // {
|
||||
// // GetTileIndexFromTypeSubIndex( uiType, cnt, &usIndex );
|
||||
@@ -1832,7 +1832,7 @@ void QueryRTWheels( UINT32 *puiNewEvent )
|
||||
case TALKCURSOR_MODE:
|
||||
case MENU_MODE:
|
||||
break;
|
||||
case CONFIRM_ACTION_MODE: //ñòðåëÿòü çäåñü. íî äî ñþäà íå äîõîäèò ;)
|
||||
case CONFIRM_ACTION_MODE: //shoot here. but is never gets here :)
|
||||
break;
|
||||
}//switch
|
||||
}//if ( gusSelectedSoldier != NOBODY )
|
||||
@@ -2048,7 +2048,7 @@ void HandleMouseRTWheel( void )
|
||||
if ( !( gTacticalStatus.uiFlags & ENGAGED_IN_CONV ) &&
|
||||
( ( gsCurInterfacePanel != SM_PANEL ) || ( ButtonList[ iSMPanelButtons[ NEXTMERC_BUTTON ] ]->uiFlags & BUTTON_ENABLED ) ) )
|
||||
{
|
||||
if ( gViewportRegion.WheelState > 0 ) //êîëåñî îò ñåáÿ
|
||||
if ( gViewportRegion.WheelState > 0 ) //wheel up
|
||||
{
|
||||
//change stance ->DOWN
|
||||
if ( _KeyDown( ALT ) )
|
||||
|
||||
Reference in New Issue
Block a user