mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Added new assignments for training existing militia and doctoring them.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23044&goto=352617&#msg_352617 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8537 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -94,6 +94,8 @@ enum
|
||||
TRAIN_WORKERS,
|
||||
CONCEALED, // Flugente: spy hides among the population
|
||||
GATHERINTEL, // gathers information while disguised in enemy territory
|
||||
DOCTOR_MILITIA, // heal militia
|
||||
DRILL_MILITIA, // train existing militia (does not create new ones)
|
||||
NUM_ASSIGNMENTS,
|
||||
};
|
||||
|
||||
@@ -172,6 +174,9 @@ typedef struct TOWN_TRAINER_TYPE
|
||||
// can this character be assigned as a doctor?
|
||||
BOOLEAN CanCharacterDoctor( SOLDIERTYPE *pCharacter );
|
||||
|
||||
// can this character doctor militia (assignmentwise)?
|
||||
BOOLEAN CanCharacterDoctorMilitia( SOLDIERTYPE *pSoldier );
|
||||
|
||||
// can this character diagnose diseases?
|
||||
BOOLEAN CanCharacterDiagnoseDisease( SOLDIERTYPE *pSoldier );
|
||||
|
||||
@@ -189,6 +194,8 @@ BOOLEAN CanCharacterRepair( SOLDIERTYPE *pCharacter );
|
||||
BOOLEAN CanCharacterPatient( SOLDIERTYPE *pCharacter );
|
||||
|
||||
// can character train militia?
|
||||
BOOLEAN CanCharacterMilitiaAssignment( SOLDIERTYPE *pSoldier );
|
||||
BOOLEAN CanCharacterDrillMilitia( SOLDIERTYPE *pSoldier, BOOLEAN aErrorReport = FALSE );
|
||||
BOOLEAN CanCharacterTrainMilitia( SOLDIERTYPE *pCharacter );
|
||||
BOOLEAN CanCharacterTrainMobileMilitia( SOLDIERTYPE *pSoldier );
|
||||
|
||||
@@ -319,6 +326,7 @@ extern INT32 ghTrainingBox;
|
||||
extern INT32 ghMoveItemBox;
|
||||
extern INT32 ghDiseaseBox;
|
||||
extern INT32 ghSpyBox;
|
||||
extern INT32 ghMilitiaBox;
|
||||
extern INT32 ghAttributeBox;
|
||||
extern INT32 ghRemoveMercAssignBox;
|
||||
extern INT32 ghContractBox;
|
||||
@@ -361,6 +369,7 @@ enum
|
||||
ASMENU_TRAIN,
|
||||
ASMENU_SQUAD,
|
||||
ASMENU_SNITCH,
|
||||
ASMENU_MILITIA,
|
||||
};
|
||||
|
||||
extern int gAssignMenuState;
|
||||
@@ -419,6 +428,11 @@ void CreateDestroyMouseRegionForSpyMenu( void );
|
||||
void SpyMenuMvtCallback( MOUSE_REGION * pRegion, INT32 iReason );
|
||||
void SpyMenuBtnCallback( MOUSE_REGION * pRegion, INT32 iReason );
|
||||
|
||||
// Flugente: militia menu
|
||||
void CreateDestroyMouseRegionForMilitiaMenu( void );
|
||||
void MilitiaMenuMvtCallback( MOUSE_REGION * pRegion, INT32 iReason );
|
||||
void MilitiaMenuBtnCallback( MOUSE_REGION * pRegion, INT32 iReason );
|
||||
|
||||
// HEADROCK HAM 3.6: Facility Menu
|
||||
void CreateDestroyMouseRegionForFacilityMenu( void );
|
||||
void FacilityMenuMvtCallback(MOUSE_REGION * pRegion, INT32 iReason );
|
||||
|
||||
Reference in New Issue
Block a user