mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 18:02:36 +00:00
editor2: set the EDITOR wml symbol so UMC can continue to use it.
Work around how the old editor used the EDITOR symbol
This commit is contained in:
parent
e6ef03f528
commit
9ec71d467a
@ -1,4 +1,15 @@
|
||||
#textdomain wesnoth
|
||||
|
||||
#ifdef EDITOR
|
||||
#define OLD_EDITOR
|
||||
#enddef
|
||||
#else
|
||||
#ifdef EDITOR2
|
||||
#define EDITOR
|
||||
#enddef
|
||||
#endif
|
||||
#endif
|
||||
|
||||
{themes/}
|
||||
|
||||
{core/}
|
||||
@ -7,7 +18,7 @@
|
||||
{multiplayer/}
|
||||
#endif
|
||||
|
||||
#ifdef EDITOR
|
||||
#ifdef OLD_EDITOR
|
||||
[textdomain]
|
||||
name="wesnoth-editor"
|
||||
[/textdomain]
|
||||
@ -27,6 +38,9 @@
|
||||
{multiplayer/scenarios/Random_Scenario.cfg}
|
||||
#endif
|
||||
{campaigns/}
|
||||
#ifdef EDITOR2
|
||||
{~campaigns/}
|
||||
#endif
|
||||
{scenario-test.cfg}
|
||||
{scenario-formula.cfg}
|
||||
{scenario-formula-recruitment.cfg}
|
||||
|
@ -52,7 +52,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
#define EDITOR_TERRAIN_DEF_DiD
|
||||
#ifdef EDITOR
|
||||
[binary_path]
|
||||
path=data/campaigns/Descent_Into_Darkness
|
||||
[/binary_path]
|
||||
@ -62,14 +62,6 @@
|
||||
icon="group_custom"
|
||||
[/editor_group]
|
||||
{campaigns/Descent_Into_Darkness/utils/terrain.cfg}
|
||||
#enddef
|
||||
|
||||
#ifdef EDITOR
|
||||
{EDITOR_TERRAIN_DEF_DiD}
|
||||
#else
|
||||
#ifdef EDITOR2
|
||||
{EDITOR_TERRAIN_DEF_DiD}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#undef EDITOR_TERRAIN_DEF_DiD
|
@ -122,7 +122,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
#define EDITOR_TERRAIN_DEF_UtBS
|
||||
#ifdef EDITOR
|
||||
[binary_path]
|
||||
path=data/campaigns/Under_the_Burning_Suns
|
||||
[/binary_path]
|
||||
@ -133,14 +133,6 @@
|
||||
[/editor_group]
|
||||
{campaigns/Under_the_Burning_Suns/utils/terrain.cfg}
|
||||
{campaigns/Under_the_Burning_Suns/utils/terrain_graphics.cfg}
|
||||
#enddef
|
||||
|
||||
#ifdef EDITOR
|
||||
{EDITOR_TERRAIN_DEF_UtBS}
|
||||
#else
|
||||
#ifdef EDITOR2
|
||||
{EDITOR_TERRAIN_DEF_UtBS}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#undef EDITOR_TERRAIN_DEF_UtBS
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
# wmlscope: set export=yes
|
||||
|
||||
#ifdef EDITOR
|
||||
#ifdef OLD_EDITOR
|
||||
{core/macros/}
|
||||
{core/terrain.cfg}
|
||||
{core/terrain-graphics/}
|
||||
|
Loading…
x
Reference in New Issue
Block a user