#textdomain wesnoth-did

#define STORYTXT_BACKGROUND_BIGMAP_DID
    [background_layer]
        image=maps/background.jpg
        scale_vertically=yes
        scale_horizontally=no
        keep_aspect_ratio=yes
    [/background_layer]
    [background_layer]
        image=maps/did.png
        scale_vertically=yes
        scale_horizontally=no
        keep_aspect_ratio=yes
        base_layer=yes
    [/background_layer]
#enddef

# Generic macro for showing storytext background images
#define STORYTXT_BACKGROUND IMAGE
    [background_layer]
        image=story/{IMAGE}
        scale=no
    [/background_layer]
#enddef

#define DID_TRACK STAGE
    [story]
        [part]
            show_title=yes
            {STORYTXT_BACKGROUND_BIGMAP_DID}
            {STAGE}
        [/part]
    [/story]
#enddef

#undef NEW_JOURNEY

#define NEW_JOURNEY X Y
    [image]
        x,y={X},{Y}
        file=misc/new-journey.png
        delay=300
        centered=yes
    [/image]
#enddef

#define NEW_JOURNEY_BLUE X Y
    [image]
        x,y={X},{Y}
        file=misc/new-journey-blue.png
        delay=300
        centered=yes
    [/image]
#enddef

#define JOURNEY_01_NEW
    {NEW_BATTLE 866 693}
#enddef

#define JOURNEY_01_OLD
    {OLD_BATTLE 866 693}
#enddef

#define JOURNEY_02_NEW
    {JOURNEY_01_OLD}
    {NEW_JOURNEY 890 702}
    {NEW_JOURNEY 915 709}
    {NEW_JOURNEY 940 715}
    {NEW_JOURNEY 966 720}
    {NEW_JOURNEY 991 723}
    {NEW_JOURNEY 1017 725}
    {NEW_JOURNEY 1043 723}
    {NEW_JOURNEY 1069 719}
    {NEW_JOURNEY 1093 711}
    {NEW_JOURNEY 1116 699}
    {NEW_JOURNEY 1135 682}
    {NEW_BATTLE 1150 661}
#enddef

#define JOURNEY_02_OLD
    {JOURNEY_01_OLD}
    {OLD_JOURNEY 890 702}
    {OLD_JOURNEY 915 709}
    {OLD_JOURNEY 940 715}
    {OLD_JOURNEY 966 720}
    {OLD_JOURNEY 991 723}
    {OLD_JOURNEY 1017 725}
    {OLD_JOURNEY 1043 723}
    {OLD_JOURNEY 1069 719}
    {OLD_JOURNEY 1093 711}
    {OLD_JOURNEY 1116 699}
    {OLD_JOURNEY 1135 682}
    {OLD_BATTLE 1150 661}
#enddef

#define JOURNEY_03_NEW
    {JOURNEY_02_OLD}
    {NEW_JOURNEY 1127 649}
    {NEW_JOURNEY 1105 635}
    {NEW_JOURNEY 1091 614}
    {NEW_BATTLE 1093 588}
#enddef

#define JOURNEY_03_OLD
    {JOURNEY_02_OLD}
    {OLD_JOURNEY 1127 649}
    {OLD_JOURNEY 1105 635}
    {OLD_JOURNEY 1091 614}
    {OLD_BATTLE 1093 588}
#enddef

#define JOURNEY_04_NEW
    {JOURNEY_03_OLD}
    {NEW_JOURNEY 1101 564}
    {NEW_JOURNEY 1116 544}
    {NEW_JOURNEY 1136 528}
    {NEW_JOURNEY 1142 505}
    {NEW_JOURNEY 1134 481}
    {NEW_BATTLE 1124 458}
#enddef

#define JOURNEY_04_OLD
    {JOURNEY_03_OLD}
    {OLD_JOURNEY 1101 564}
    {OLD_JOURNEY 1116 544}
    {OLD_JOURNEY 1136 528}
    {OLD_JOURNEY 1142 505}
    {OLD_JOURNEY 1134 481}
    {OLD_BATTLE 1124 458}
#enddef

#define JOURNEY_05_NEW
    {JOURNEY_04_OLD}
    {NEW_JOURNEY 1101 445}
    {NEW_JOURNEY 1079 432}
    {NEW_JOURNEY 1057 418}
    {NEW_JOURNEY 1036 402}
    {NEW_JOURNEY 1016 386}
    {NEW_JOURNEY 998 368}
    {NEW_JOURNEY 982 347}
    {NEW_JOURNEY 969 325}
    {NEW_JOURNEY 963 300}
    {NEW_JOURNEY 967 274}
    {NEW_JOURNEY 982 254}
    {NEW_JOURNEY 1005 241}
    {NEW_JOURNEY 1030 236}
    {NEW_JOURNEY 1056 239}
    {NEW_JOURNEY 1080 248}
    {NEW_BATTLE 1101 264}
#enddef

#define JOURNEY_05_OLD
    {JOURNEY_04_OLD}
    {OLD_JOURNEY 1101 445}
    {OLD_JOURNEY 1079 432}
    {OLD_JOURNEY 1057 418}
    {OLD_JOURNEY 1036 402}
    {OLD_JOURNEY 1016 386}
    {OLD_JOURNEY 998 368}
    {OLD_JOURNEY 982 347}
    {OLD_JOURNEY 969 325}
    {OLD_JOURNEY 963 300}
    {OLD_JOURNEY 967 274}
    {OLD_JOURNEY 982 254}
    {OLD_JOURNEY 1005 241}
    {OLD_JOURNEY 1030 236}
    {OLD_JOURNEY 1056 239}
    {OLD_JOURNEY 1080 248}
    {OLD_BATTLE 1101 264}
#enddef

#define JOURNEY_06_NEW
    {JOURNEY_05_OLD}
    {NEW_JOURNEY_BLUE 1095 276}
    {NEW_JOURNEY_BLUE 1082 300}
    {NEW_JOURNEY 1088 288}
    {NEW_JOURNEY_BLUE 1072 325}
    {NEW_JOURNEY 1077 312}
    {NEW_JOURNEY_BLUE 1065 351}
    {NEW_JOURNEY 1068 338}
    {NEW_JOURNEY_BLUE 1061 377}
    {NEW_JOURNEY 1062 364}
    {NEW_JOURNEY_BLUE 1058 405}
    {NEW_JOURNEY 1060 391}
    {NEW_JOURNEY_BLUE 1052 430}
    {NEW_JOURNEY 1057 418}
    {NEW_JOURNEY_BLUE 1043 456}
    {NEW_JOURNEY 1048 442}
    {NEW_JOURNEY_BLUE 1033 483}
    {NEW_JOURNEY 1039 469}
    {NEW_JOURNEY_BLUE 1020 509}
    {NEW_JOURNEY 1027 497}
    {NEW_JOURNEY_BLUE 1005 532}
    {NEW_JOURNEY 1013 521}
    {NEW_JOURNEY_BLUE 992 556}
    {NEW_JOURNEY 998 544}
    {NEW_JOURNEY_BLUE 970 568}
    {NEW_JOURNEY 985 567}
    {NEW_JOURNEY_BLUE 950 585}
    {NEW_JOURNEY 986 594}
    {NEW_JOURNEY 980 622}
    {NEW_JOURNEY_BLUE 926 596}
    {NEW_JOURNEY 965 645}
    {NEW_JOURNEY 941 657}
    {NEW_JOURNEY_BLUE 901 605}
    {NEW_JOURNEY 914 660}
    {NEW_JOURNEY 888 655}
    {NEW_JOURNEY_BLUE 883 624}
    {NEW_JOURNEY 868 666}
    {NEW_BATTLE 866 693}
#enddef

#define JOURNEY_06_OLD
    {JOURNEY_05_OLD}
    {OLD_JOURNEY 1088 288}
    {OLD_JOURNEY 1077 312}
    {OLD_JOURNEY 1068 338}
    {OLD_JOURNEY 1062 364}
    {OLD_JOURNEY 1060 391}
    {OLD_JOURNEY 1057 418}
    {OLD_JOURNEY 1048 442}
    {OLD_JOURNEY 1039 469}
    {OLD_JOURNEY 1027 497}
    {OLD_JOURNEY 1013 521}
    {OLD_JOURNEY 998 544}
    {OLD_JOURNEY 985 567}
    {OLD_JOURNEY 986 594}
    {OLD_JOURNEY 980 622}
    {OLD_JOURNEY 965 645}
    {OLD_JOURNEY 941 657}
    {OLD_JOURNEY 914 660}
    {OLD_JOURNEY 888 655}
    {OLD_JOURNEY 868 666}
    {OLD_BATTLE 866 693}
#enddef

#define JOURNEY_07_NEW
    {JOURNEY_06_OLD}
    {NEW_JOURNEY 868 666}
    {NEW_JOURNEY 860 640}
    {NEW_JOURNEY 845 617}
    {NEW_JOURNEY 826 598}
    {NEW_JOURNEY 803 583}
    {NEW_JOURNEY 778 573}
    {NEW_JOURNEY 751 571}
    {NEW_JOURNEY 725 580}
    {NEW_JOURNEY 704 594}
    {NEW_JOURNEY 683 608}
    {NEW_JOURNEY 662 623}
    {NEW_JOURNEY 642 638}
    {NEW_JOURNEY 621 654}
    {NEW_JOURNEY 601 669}
    {NEW_JOURNEY 581 685}
    {NEW_JOURNEY 561 700}
    {NEW_JOURNEY 540 714}
    {NEW_JOURNEY 518 727}
    {NEW_JOURNEY 495 738}
    {NEW_JOURNEY 471 746}
    {NEW_JOURNEY 446 751}
    {NEW_JOURNEY 421 753}
    {NEW_JOURNEY 395 752}
    {NEW_JOURNEY 370 749}
    {NEW_JOURNEY 345 745}
    {NEW_JOURNEY 320 738}
    {NEW_BATTLE 296 731}
#enddef

#define JOURNEY_07_OLD
    {JOURNEY_06_OLD}
    {OLD_JOURNEY 868 666}
    {OLD_JOURNEY 860 640}
    {OLD_JOURNEY 845 617}
    {OLD_JOURNEY 826 598}
    {OLD_JOURNEY 803 583}
    {OLD_JOURNEY 778 573}
    {OLD_JOURNEY 751 571}
    {OLD_JOURNEY 725 580}
    {OLD_JOURNEY 704 594}
    {OLD_JOURNEY 683 608}
    {OLD_JOURNEY 662 623}
    {OLD_JOURNEY 642 638}
    {OLD_JOURNEY 621 654}
    {OLD_JOURNEY 601 669}
    {OLD_JOURNEY 581 685}
    {OLD_JOURNEY 561 700}
    {OLD_JOURNEY 540 714}
    {OLD_JOURNEY 518 727}
    {OLD_JOURNEY 495 738}
    {OLD_JOURNEY 471 746}
    {OLD_JOURNEY 446 751}
    {OLD_JOURNEY 421 753}
    {OLD_JOURNEY 395 752}
    {OLD_JOURNEY 370 749}
    {OLD_JOURNEY 345 745}
    {OLD_JOURNEY 320 738}
    {OLD_BATTLE 296 731}
#enddef

# Scenarios 8 and 9 have no story screens

#define JOURNEY_10_NEW
    {JOURNEY_07_OLD}
    {NEW_JOURNEY 273 716}
    {NEW_JOURNEY 266 689}
    {NEW_JOURNEY 270 662}
    {NEW_BATTLE 279 635}
#enddef

#define JOURNEY_10_OLD
    {JOURNEY_07_OLD}
    {OLD_JOURNEY 273 716}
    {OLD_JOURNEY 266 689}
    {OLD_JOURNEY 270 662}
    {OLD_BATTLE 279 635}
#enddef

#define JOURNEY_11_NEW
    {JOURNEY_10_OLD}
    {NEW_JOURNEY 250 630}
    {NEW_JOURNEY 224 616}
    {NEW_JOURNEY 198 602}
    {NEW_JOURNEY 168 599}
    {NEW_JOURNEY 139 602}
    {NEW_JOURNEY 152 578}
    {NEW_JOURNEY 175 562}
    {NEW_JOURNEY 201 552}
    {NEW_JOURNEY 225 537}
    {NEW_JOURNEY 238 513}
    {NEW_JOURNEY 246 489}
    {NEW_JOURNEY 257 466}
    {NEW_JOURNEY 272 446}
    {NEW_JOURNEY 290 428}
    {NEW_JOURNEY 310 412}
    {NEW_JOURNEY 331 398}
    {NEW_JOURNEY 353 385}
    {NEW_JOURNEY 376 374}
    {NEW_JOURNEY 399 364}
    {NEW_JOURNEY 423 355}
    {NEW_JOURNEY 446 346}
    {NEW_JOURNEY 470 337}
    {NEW_JOURNEY 494 328}
    {NEW_JOURNEY 517 318}
    {NEW_JOURNEY 539 306}
    {NEW_BATTLE 556 287}
#enddef

#define JOURNEY_11_OLD
    {JOURNEY_10_OLD}
    {OLD_JOURNEY 250 630}
    {OLD_JOURNEY 224 616}
    {OLD_JOURNEY 198 602}
    {OLD_JOURNEY 168 599}
    {OLD_JOURNEY 139 602}
    {OLD_JOURNEY 152 578}
    {OLD_JOURNEY 175 562}
    {OLD_JOURNEY 201 552}
    {OLD_JOURNEY 225 537}
    {OLD_JOURNEY 238 513}
    {OLD_JOURNEY 246 489}
    {OLD_JOURNEY 257 466}
    {OLD_JOURNEY 272 446}
    {OLD_JOURNEY 290 428}
    {OLD_JOURNEY 310 412}
    {OLD_JOURNEY 331 398}
    {OLD_JOURNEY 353 385}
    {OLD_JOURNEY 376 374}
    {OLD_JOURNEY 399 364}
    {OLD_JOURNEY 423 355}
    {OLD_JOURNEY 446 346}
    {OLD_JOURNEY 470 337}
    {OLD_JOURNEY 494 328}
    {OLD_JOURNEY 517 318}
    {OLD_JOURNEY 539 306}
    {OLD_BATTLE 556 287}
#enddef

#define JOURNEY_12_NEW
    {JOURNEY_11_OLD}
    {NEW_BATTLE 566 264}
#enddef
