mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Also includes mechansim for easy implementation of new skills. For more info see http://www.bears-pit.com/board/ubbthreads.php/topics/327348.html#Post327348 Requires GameDir >= r1848. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6547 3b4a5df2-a311-0410-b5c6-a8a6f20db521
62 lines
1.8 KiB
C
62 lines
1.8 KiB
C
#ifndef _DISPLAY_COVER__H_
|
|
#define _DISPLAY_COVER__H_
|
|
|
|
void DisplayCoverOfSelectedGridNo( );
|
|
void RemoveCoverOfSelectedGridNo();
|
|
|
|
void DisplayRangeToTarget( SOLDIERTYPE *pSoldier, INT32 sTargetGridNo );
|
|
void DisplayCover(const BOOLEAN& forceUpdate = FALSE);
|
|
|
|
void SwitchToMercView();
|
|
void SwitchToEnemyView();
|
|
void SwitchViewOff();
|
|
|
|
void ToggleMercView();
|
|
void ToggleEnemyView();
|
|
|
|
void SwitchCoverDrawMode();
|
|
|
|
void RemoveVisibleGridNoAtSelectedGridNo();
|
|
void DisplayGridNoVisibleToSoldierGrid( );
|
|
|
|
|
|
#define DC_MAX_COVER_RANGE 43 //31
|
|
#define DC__SOLDIER_VISIBLE_RANGE 43 //31
|
|
#define DC__MIN_SIZE 4
|
|
#define DC__MAX_SIZE 21 //11
|
|
|
|
#ifdef JA2TESTVERSION
|
|
void DisplayLosAndDisplayCoverUsageScreenMsg();
|
|
#endif
|
|
|
|
void ChangeSizeOfDisplayCover( INT32 iNewSize );
|
|
|
|
void ChangeSizeOfLOS( INT32 iNewSize );
|
|
//ddd for optimize oppponent turn
|
|
INT8 CalcCoverForGridNoBasedOnTeamKnownEnemies( SOLDIERTYPE *pSoldier, INT16 sTargetGridNo, INT8 bStance );
|
|
//ddd for optimize oppponent turn
|
|
|
|
|
|
// ----------------------------- Mines display after this ----------------------------------------
|
|
// added by Flugente: display of mine, bombs and tripwire
|
|
void DisplayMines(const BOOLEAN& forceUpdate = FALSE);
|
|
|
|
void SwitchToTrapNetworkView();
|
|
void SwitchToHostileTrapsView();
|
|
void SwitchMineViewOff();
|
|
|
|
void ToggleTrapNetworkView();
|
|
void ToggleHostileTrapsView();
|
|
|
|
void SwitchMinesDrawModeForNetworks();
|
|
|
|
// ----------------------------- trait range display after this ----------------------------------------
|
|
// added by Flugente: display of ranges and areas of effects for traits
|
|
void DisplayTraitRange(const BOOLEAN& forceUpdate = FALSE);
|
|
|
|
void ToggleTraitRangeView(BOOLEAN fOn = TRUE);
|
|
void SetTraitToDisplay( UINT32 aTrait );
|
|
void SetGridNoForTraitDisplay( INT32 sGridNo );
|
|
|
|
#endif
|