|
54 | 54 | #define SKIRMISH_FLANK "Flank" |
55 | 55 | #define SKIRMISH_BACKDOOR "Backdoor" |
56 | 56 | #define SKIRMISH_SPECIAL "Special" |
| 57 | +#define SKIRMISH_SHIPYARD "Shipyard" |
57 | 58 |
|
58 | 59 | // Skirmish Player Areas |
59 | 60 | #define SKIRMISH_AREA_HOME_BASE "Home Base" |
|
62 | 63 | // Skirmish trigger names. |
63 | 64 | #define MY_INNER_PERIMETER "[Skirmish]MyInnerPerimeter" |
64 | 65 | #define MY_OUTER_PERIMETER "[Skirmish]MyOuterPerimeter" |
| 66 | +#define MY_NAVAL_PERIMETER "[Skirmish]MyNavalPerimeter" |
65 | 67 | #define ENEMY_OUTER_PERIMETER "[Skirmish]EnemyOuterPerimeter" |
66 | 68 | #define ENEMY_INNER_PERIMETER "[Skirmish]EnemyInnerPerimeter" |
| 69 | +#define ENEMY_NAVAL_PERIMETER "[Skirmish]EnemyNavalPerimeter" |
67 | 70 |
|
68 | 71 | #define INNER_PERIMETER "InnerPerimeter" |
69 | 72 | #define OUTER_PERIMETER "OuterPerimeter" |
| 73 | +#define NAVAL_PERIMETER "NavalPerimeter" |
70 | 74 |
|
71 | 75 | class Parameter; |
72 | 76 | class Script; |
@@ -543,6 +547,7 @@ class ScriptAction : public MemoryPoolObject // This is the action class. |
543 | 547 | TEAM_SET_BOOBYTRAPPED, ///< Add boobytrap to all units on team. |
544 | 548 | SHOW_WEATHER, ///< show map defined weather. |
545 | 549 | AI_PLAYER_BUILD_TYPE_NEAREST_TEAM, ///< Tell the ai player to build an object nearest team. |
| 550 | + SKIRMISH_BUILD_SHIPYARD, ///< Tell the ai player to build a shipyard |
546 | 551 | // add new items here, please |
547 | 552 | NUM_ITEMS |
548 | 553 | }; |
@@ -971,6 +976,8 @@ class Condition : public MemoryPoolObject // This is the conditional class. |
971 | 976 | START_POSITION_IS, // True if our start position matches. |
972 | 977 | NAMED_HAS_FREE_CONTAINER_SLOTS, ///< Kris -- Checks if any given container has any free slots. |
973 | 978 |
|
| 979 | + SKIRMISH_SHIPS_ENABLED, // True if ships are enabled on the played map |
| 980 | + |
974 | 981 | NUM_ITEMS // Always the last condition. |
975 | 982 | }; |
976 | 983 |
|
|
0 commit comments