mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
New militia order: Move to (works in realtime only, switches militia soldier to DTATIONARY/DEFENSIVE).
Cancel current AI order when giving militia order. Check if desired stance is possible here when ordering militia to crouch/prone. Green AI: reworked climb code (only climb up, only at the start of the turn, disable for STATIONARY). git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8947 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -60,6 +60,7 @@ typedef enum
|
||||
EXITSECTORMENU_MODE,
|
||||
RUBBERBAND_MODE,
|
||||
JUMPOVER_MODE,
|
||||
RADIOCURSOR_MODE,
|
||||
|
||||
} UI_MODE;
|
||||
|
||||
@@ -163,6 +164,8 @@ typedef enum
|
||||
JP_ON_TERRAIN,
|
||||
JP_JUMP,
|
||||
|
||||
R_CHANGE_TO_RADIO,
|
||||
|
||||
NUM_UI_EVENTS
|
||||
|
||||
} UI_EVENT_DEFINES;
|
||||
@@ -346,6 +349,7 @@ void BeginDisplayTimedCursor( UINT32 uiCursorID, UINT32 uiDelay );
|
||||
|
||||
void HandleHandCursorClick( INT32 usMapPos, UINT32 *puiNewEvent );
|
||||
void HandleHandCursorRightClick( INT32 usMapPos, UINT32 *puiNewEvent );
|
||||
void HandleRadioCursorClick(INT32 usMapPos, UINT32 *puiNewEvent);
|
||||
INT8 HandleMoveModeInteractiveClick( INT32 usMapPos, UINT32 *puiNewEvent );
|
||||
|
||||
BOOLEAN HandleUIReloading( SOLDIERTYPE *pSoldier );
|
||||
|
||||
Reference in New Issue
Block a user