mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
New Feature: a private military company allows hiring of advanced militia. For more info, see http://www.ja-galaxy-forum.com/ubbthreads.php/topics/335279#Post335279
Does not break savegame compatibility. Requires GameDir revision >= r2130. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7457 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -281,6 +281,9 @@ typedef struct FACILITYASSIGNMENTTYPE
|
||||
|
||||
} FACILITYASSIGNMENTTYPE;
|
||||
|
||||
// Flugente: facilitytype properties
|
||||
#define FACILITYTYPE_PMCENTRYPOINT 0x00000001 // militia hired from the PMC can only enter Arulco in sectors with facilites with this property
|
||||
|
||||
// HEADROCK HAM 3.5: Facility Type
|
||||
typedef struct FACILITYTYPE
|
||||
{
|
||||
@@ -295,6 +298,8 @@ typedef struct FACILITYTYPE
|
||||
UINT16 usMilitiaTraining; // Percentage effectiveness of Militia training (100 = normal)
|
||||
UINT16 usMobileMilitiaTraining; // Percentage effectiveness of Mobile Militia training (100 = normal)
|
||||
|
||||
UINT32 usFacilityFlags; // flagmask for various facility properties
|
||||
|
||||
FACILITYASSIGNMENTTYPE AssignmentData[ NUM_FACILITY_ASSIGNMENTS ]; // Data about possible assignments that can be done here
|
||||
|
||||
} FACILITYTYPE;
|
||||
|
||||
Reference in New Issue
Block a user