Some preprocessor symbols for campaigns to enable/disable some advancements

This should not make any change when they are not defined (ie in multiplayer)

- DISABLE_GRAND_MARSHAL (used by TRoW): Disable General -> Grand Marshal

- ENABLE_ARMAGEDDON_DRAKE (used by none): Enable Inferno Drake ->
  Armageddon Drake

- ENABLE_ANCIENT_LICH (used by none): Enable Lich -> Ancient Lich

- ENABLE_DEATH_KNIGHT (used by none): Enable Revenant -> Death_Knight
  (not sure we should have this one)
This commit is contained in:
Benoît Timbert 2007-07-25 23:03:10 +00:00
parent a139ff9bf3
commit 2502487242
5 changed files with 20 additions and 2 deletions

View file

@ -7,7 +7,7 @@
#textdomain wesnoth-trow
name= _ "The Rise of Wesnoth"
define=CAMPAIGN_THE_RISE_OF_WESNOTH
extra_defines=USE_L3_OUTLAWS
extra_defines=USE_L3_OUTLAWS,DISABLE_GRAND_MARSHAL
first_scenario=A_Summer_of_Storms
difficulties=EASY,NORMAL,HARD
difficulty_descriptions={MENU_IMG_TXT2 TRoW_difficulty_easy.png _"Fighter" _"(Easy)"} +

View file

@ -13,6 +13,12 @@
level=4
alignment=lawful
advanceto=null
#ifdef ENABLE_ARMAGEDDON_DRAKE
[advancefrom]
unit=Inferno Drake
experience=220
[/advancefrom]
#endif
{AMLA_TOUGH 3}
undead_variation=drake
cost=100

View file

@ -18,7 +18,7 @@
experience=180
level=3
alignment=lawful
#ifdef CAMPAIGN_THE_RISE_OF_WESNOTH
#ifdef DISABLE_GRAND_MARSHAL
advanceto=null
{AMLA_TOUGH 3}
#else

View file

@ -12,6 +12,12 @@
level=4
alignment=chaotic
advanceto=null
#ifdef ENABLE_ANCIENT_LICH
[advancefrom]
unit=Lich
experience=250
[/advancefrom]
#endif
{AMLA_TOUGH 3}
cost=100
usage=mixed fighter

View file

@ -19,6 +19,12 @@
level=3
alignment=chaotic
advanceto=null
#ifdef ENABLE_DEATH_KNIGHT
[advancefrom]
unit=Revenant
experience=85
[/advancefrom]
#endif
{AMLA_TOUGH 3}
cost=45
usage=fighter