AI: deprecate ai_depth related macros

This commit is contained in:
mattsc 2018-11-15 09:03:38 -08:00
parent f00f9e3901
commit c0bc8c548c
2 changed files with 3 additions and 18 deletions

View file

@ -375,19 +375,7 @@
#enddef
#define AI_SCALE_ATTACK_DEPTH_BY_DIFFICULTY
# change attack depth depending on difficulty
#ifdef EASY
{AI_SIMPLE_ALWAYS_ASPECT attack_depth 3}
#endif
#ifdef NORMAL
{AI_SIMPLE_ALWAYS_ASPECT attack_depth 4}
#endif
#ifdef HARD
{AI_SIMPLE_ALWAYS_ASPECT attack_depth 5}
#endif
#deprecated 3 1.17 The attack_depth aspect has no effect on the AI any more.
#enddef
############################################################

View file

@ -122,14 +122,11 @@
#enddef
#define ATTACK_DEPTH EASY_VALUE NORMAL_VALUE HARD_VALUE
# Macro to define AI attack depth for different difficulty levels
# (set it to 1-6)
{QUANTITY attack_depth {EASY_VALUE} {NORMAL_VALUE} {HARD_VALUE}}
#deprecated 3 1.17 The attack_depth aspect has no effect on the AI any more.
#enddef
#define ATTACK_DEPTH4 EASY_VALUE NORMAL_VALUE HARD_VALUE NIGHTMARE_VALUE
# Four-difficulty version of ATTACK_DEPTH
{QUANTITY4 attack_depth {EASY_VALUE} {NORMAL_VALUE} {HARD_VALUE} {NIGHTMARE_VALUE}}
#deprecated 3 1.17 The attack_depth aspect has no effect on the AI any more.
#enddef
#define NO_SCOUTS