mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Merged from revision: 6905
Improved Snitch Trait (by anv) - The snitch actions can be selected in the strategy view "Assignment" menu o Spreading Propaganda: Accessible in town sectors o Gathering Rumours: Accessible in town sectors o Undercover Prison Snitch: Accessible from Facilities menu (Prison) o Preventing Misbehaviour: New Snitch Menu o Passive Reputation Increase see: http://www.bears-pit.com/board/ubbthreads.php/topics/329412/1.html git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6906 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -126,6 +126,7 @@ enum {
|
||||
ASSIGN_MENU_VEHICLE,
|
||||
ASSIGN_MENU_REPAIR,
|
||||
ASSIGN_MENU_RADIO_SCAN, // added by Flugente
|
||||
ASSIGN_MENU_SNITCH,
|
||||
ASSIGN_MENU_TRAIN,
|
||||
ASSIGN_MENU_MOVE_ITEMS, // added by Flugente
|
||||
ASSIGN_MENU_FACILITY, // HEAROCK HAM 3.6: Facility List menu
|
||||
@@ -133,6 +134,29 @@ enum {
|
||||
MAX_ASSIGN_STRING_COUNT,
|
||||
};
|
||||
|
||||
// snitch menu defines
|
||||
enum{
|
||||
SNITCH_MENU_TOGGLE = 0,
|
||||
SNITCH_MENU_SECTOR,
|
||||
SNITCH_MENU_CANCEL,
|
||||
MAX_SNITCH_MENU_STRING_COUNT,
|
||||
};
|
||||
|
||||
enum {
|
||||
SNITCH_MENU_TOGGLE_ON = 0,
|
||||
SNITCH_MENU_TOGGLE_OFF,
|
||||
SNITCH_MENU_MISBEHAVIOUR_ON,
|
||||
SNITCH_MENU_MISBEHAVIOUR_OFF,
|
||||
SNITCH_MENU_TOGGLE_CANCEL,
|
||||
MAX_SNITCH_TOGGLE_MENU_STRING_COUNT,
|
||||
};
|
||||
|
||||
enum {
|
||||
SNITCH_MENU_SECTOR_PROPAGANDA = 0,
|
||||
SNITCH_MENU_SECTOR_GATHER_RUMOURS,
|
||||
SNITCH_MENU_SECTOR_CANCEL,
|
||||
MAX_SNITCH_SECTOR_MENU_STRING_COUNT,
|
||||
};
|
||||
|
||||
// training assignment menu defines
|
||||
enum {
|
||||
@@ -276,6 +300,10 @@ extern BOOLEAN fShowMilitiaControlMenu ; //lal
|
||||
//extern BOOLEAN fShowTalkToAllMenu ;
|
||||
extern BOOLEAN fShowFacilityMenu; // HEADROCK HAM 3.6
|
||||
extern BOOLEAN fShowFacilityAssignmentMenu; // HEADROCK HAM 3.6
|
||||
// anv: snitch menus
|
||||
extern BOOLEAN fShowSnitchMenu;
|
||||
extern BOOLEAN fShowSnitchToggleMenu;
|
||||
extern BOOLEAN fShowSnitchSectorMenu;
|
||||
|
||||
extern BOOLEAN fFirstTimeInMapScreen;
|
||||
extern BOOLEAN fLockOutMapScreenInterface;
|
||||
@@ -330,6 +358,13 @@ extern SGPRect FacilityAssignmentDimensions;
|
||||
extern SGPPoint RepairPosition;
|
||||
extern SGPRect RepairDimensions;
|
||||
|
||||
extern SGPPoint SnitchPosition;
|
||||
extern SGPRect SnitchDimensions;
|
||||
extern SGPPoint SnitchTogglePosition;
|
||||
extern SGPRect SnitchToggleDimensions;
|
||||
extern SGPPoint SnitchSectorPosition;
|
||||
extern SGPRect SnitchSectorDimensions;
|
||||
|
||||
extern SGPPoint MilitiaControlPosition; //lal
|
||||
extern SGPRect MilitiaControlDimensions;
|
||||
|
||||
@@ -346,6 +381,9 @@ extern SGPPoint OrigMilitiaControlPosition ; //lal
|
||||
extern SGPPoint OrigFacilityPosition; // HEADROCK HAM 3.6: Facility Menu
|
||||
extern SGPPoint OrigFacilityAssignmentPosition; // HEADROCK HAM 3.6
|
||||
//extern SGPPoint OrigTalkToAllPosition ;
|
||||
extern SGPPoint OrigSnitchPosition;
|
||||
extern SGPPoint OrigSnitchTogglePosition;
|
||||
extern SGPPoint OrigSnitchSectorPosition;
|
||||
|
||||
// disble team info panel due to showing of battle roster
|
||||
extern BOOLEAN fDisableDueToBattleRoster;
|
||||
|
||||
Reference in New Issue
Block a user