Move test/set for NO_TERRAIN_GRAPHICS...

...before loading core since core/_main.cfg cares if it is set
This commit is contained in:
Simon Forsyth 2012-12-13 03:14:13 +00:00
parent 6d078bdf57
commit 3d205a4b57

View File

@ -1,5 +1,16 @@
#textdomain wesnoth
# title screen and no_gui mode do not need terrain_graphics
#ifdef TITLE_SCREEN
#define NO_TERRAIN_GFX
#enddef
#endif
#ifdef NO_GUI
#define NO_TERRAIN_GFX
#enddef
#endif
{english.cfg}
{themes/}
@ -62,17 +73,6 @@
name="wesnoth-anl"
[/textdomain]
# title screen and no_gui mode do not 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.