Add testcase for tiled story backgrounds

This commit is contained in:
Alexander van Gessel 2018-02-01 16:39:43 +01:00
parent 52db950e94
commit 39c3f21b9b
2 changed files with 36 additions and 0 deletions

View File

@ -57,6 +57,7 @@
{scenario-test.cfg}
{scenario-leaders.cfg}
{scenario-movethrough.cfg}
{scenario-story.cfg}
{ai/scenarios/}
{ai/micro_ais/scenarios/}
#define DONT_RELOAD_CORE

35
data/scenario-story.cfg Normal file
View File

@ -0,0 +1,35 @@
[test]
id=story
[story]
[part]
music=elvish-theme.ogg
background=story/grim-altar.jpg
story= "SCALED"
[/part]
[part]
music=elvish-theme.ogg
[background_layer]
image=story/grim-altar.jpg
scale_vertically=no
scale_horizontally=no
tile_vertically=yes
tile_horizontally=yes
[/background_layer]
story= "TILED"
[/part]
[/story]
map_data="Mm, Mm, Mm
Mm, 1 Mm, Mm
Mm, Mm, Mm"
[side]
side=1
recruit=alpha,beta
type=alpha
map_data="Mm, Mm, Mm
Mm, Mm, Mm
Mm, Mm, Mm"
[ai]
recruitment_pattern=A,C
[/ai]
[/side]
[/test]