mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Visual tactical improvements (by Sevenfm)
1) Improved cover indicator: SHOW_COVER_INDICATOR 0 - nothing 1 - show as small square to the right of health bar 2 - show using color of merc's name 3 - same as 1, show only in stealth or when disguised 4 - same as 2, show only in stealth or when disguised 2) Enemy rank (exp. level) icons: SHOW_ENEMY_RANK_ICON 0 - do not show 1 - show icon 2 - show icon from .sti (not yet implemented) 3) Enemy health bar: SHOW_ENEMY_HEALTH 0 - do not show 1 - show health as text (default) 2 - show health bar 3 - show health + ap 4 - show health + ap + shock 5 - show health + ap + shock + morale 6 - show health + ap + shock + morale + bp 4) Minor improvements: Enemy awareness sign now shows up only in stealth/disguised mode. Turned on Extended Disarm Dialog for turnbased (it was implemented but turned off) see: http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/329674/Re:_Code_Snippets.html#Post329674 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6747 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2546,10 +2546,7 @@ void HandleSoldierPickupItem( SOLDIERTYPE *pSoldier, INT32 iItemIndex, INT32 sGr
|
||||
}
|
||||
|
||||
// DoMessageBox( MSG_BOX_BASIC_STYLE, ptr, GAME_SCREEN, ( UINT8 )MSG_BOX_FLAG_YESNO, BoobyTrapMessageBoxCallBack, NULL );
|
||||
// sevenfm: added extended messagebox (inspect, remove blueflag, blow up). only for realtime
|
||||
if( (gTacticalStatus.uiFlags & TURNBASED ) && (gTacticalStatus.uiFlags & INCOMBAT) )
|
||||
DoMessageBox( MSG_BOX_BASIC_STYLE, ptr, GAME_SCREEN, ( UINT8 )MSG_BOX_FLAG_YESNO, BoobyTrapMessageBoxCallBack, NULL );
|
||||
else
|
||||
// sevenfm: extended disarm messagebox (inspect, remove blueflag, blow up). works in realtime and turnbased
|
||||
ExtendedDisarmMessageBox();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user