Disable terrain-graphics when NO_TERRAIN_GFX is defined.
Activated by TITLE_SCREEN (auto defined when starting title screen) and now also by NO_GUI.
This commit is contained in:
parent
54e933d55d
commit
0c59428b30
2 changed files with 13 additions and 2 deletions
|
@ -55,9 +55,20 @@
|
|||
name="wesnoth-anl"
|
||||
[/textdomain]
|
||||
|
||||
# title screen and no_gui mode doens't need terrain_graphics
|
||||
#ifdef TITLE_SCREEN
|
||||
#define NO_TERRAIN_GFX
|
||||
#enddef
|
||||
#endif
|
||||
|
||||
#ifdef NO_GUI
|
||||
#define NO_TERRAIN_GFX
|
||||
#enddef
|
||||
#endif
|
||||
|
||||
#ifndef NO_TERRAIN_GFX
|
||||
# Include the terrain-graphics definitions after the campaigns so campaign specific
|
||||
# terrains work properly.
|
||||
#ifndef TITLE_SCREEN
|
||||
{core/terrain-graphics.cfg}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
# wmlscope: set export=yes
|
||||
|
||||
#ifndef TITLE_SCREEN
|
||||
#ifndef NO_TERRAIN_GFX
|
||||
{core/terrain-graphics/}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue