mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 21:50:25 +00:00
Add testcase for tiled story backgrounds
This commit is contained in:
parent
52db950e94
commit
39c3f21b9b
@ -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
35
data/scenario-story.cfg
Normal 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]
|
Loading…
x
Reference in New Issue
Block a user