mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Improved feature: structures can be dragged. Which ones is defined in a new xml.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=360672&#msg_360672 Requires GameDir >= r2558 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8870 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1585,6 +1585,9 @@ public:
|
||||
|
||||
// Flugente: store disabilities as a flagmask, so we can have multiple ones
|
||||
UINT32 usDisabilityFlagMask;
|
||||
|
||||
// Flugente: drag structures
|
||||
INT32 sDragGridNo;
|
||||
|
||||
#ifdef JA2UB
|
||||
//ja25
|
||||
@@ -2015,9 +2018,11 @@ public:
|
||||
BOOLEAN CanDragInPrinciple();
|
||||
BOOLEAN CanDragPerson( UINT16 usID );
|
||||
BOOLEAN CanDragCorpse( UINT16 usCorpseNum );
|
||||
BOOLEAN CanDragStructure( INT32 sGridNo );
|
||||
BOOLEAN IsDraggingSomeone(bool aStopIfConditionNotSatisfied = true);
|
||||
void SetDragOrderPerson( UINT16 usID );
|
||||
void SetDragOrderCorpse( UINT32 usID );
|
||||
void SetDragOrderStructure( INT32 sGridNo );
|
||||
void CancelDrag();
|
||||
|
||||
// Flugente: spy assignments
|
||||
|
||||
Reference in New Issue
Block a user