#textdomain wesnoth-trow
# Great Continent tracks for The Rise of Wesnoth
# Green Isle tracks live in a different file

# trackplacer: tracks begin
#
# Hand-hack this section strictly at your own risk.
#
# trackplacer: map=data/campaigns/The_Rise_Of_Wesnoth/images/story/the_great_continent.png
#
#define LANDING_STAGE1
    {NEW_JOURNEY 214 338}
    {NEW_JOURNEY 235 338}
    {NEW_JOURNEY 259 339}
    {NEW_JOURNEY 283 342}
    {NEW_JOURNEY 306 346}
    {NEW_JOURNEY 328 351}
    {NEW_JOURNEY 349 356}
    {NEW_JOURNEY 370 362}
    {NEW_BATTLE 392 365}
#enddef

#define LANDING_STAGE1_END
    {OLD_JOURNEY 214 338}
    {OLD_JOURNEY 235 338}
    {OLD_JOURNEY 259 339}
    {OLD_JOURNEY 283 342}
    {OLD_JOURNEY 306 346}
    {OLD_JOURNEY 328 351}
    {OLD_JOURNEY 349 356}
    {OLD_JOURNEY 370 362}
    {NEW_BATTLE 392 365}
#enddef

#define LANDING_COMPLETE
    {OLD_JOURNEY 214 338}
    {OLD_JOURNEY 235 338}
    {OLD_JOURNEY 259 339}
    {OLD_JOURNEY 283 342}
    {OLD_JOURNEY 306 346}
    {OLD_JOURNEY 328 351}
    {OLD_JOURNEY 349 356}
    {OLD_JOURNEY 370 362}
    {OLD_BATTLE 392 365}
#enddef

#define LANDING_TO_KALIAN_STAGE1
    {NEW_JOURNEY 413 352}
    {NEW_JOURNEY 432 336}
    {NEW_JOURNEY 450 320}
    {NEW_JOURNEY 467 305}
    {NEW_JOURNEY 483 288}
    {NEW_JOURNEY 498 271}
    {NEW_REST 520 248}
#enddef

#define LANDING_TO_KALIAN_STAGE1_END
    {OLD_JOURNEY 413 352}
    {OLD_JOURNEY 432 336}
    {OLD_JOURNEY 450 320}
    {OLD_JOURNEY 467 305}
    {OLD_JOURNEY 483 288}
    {OLD_JOURNEY 498 271}
    {NEW_REST 520 248}
#enddef

#define LANDING_TO_KALIAN_STAGE2
    {OLD_JOURNEY 413 352}
    {OLD_JOURNEY 432 336}
    {OLD_JOURNEY 450 320}
    {OLD_JOURNEY 467 305}
    {OLD_JOURNEY 483 288}
    {OLD_JOURNEY 498 271}
    {OLD_REST 520 248}
    {NEW_REST 520 248}
#enddef

#define LANDING_TO_KALIAN_STAGE2_END
    {OLD_JOURNEY 413 352}
    {OLD_JOURNEY 432 336}
    {OLD_JOURNEY 450 320}
    {OLD_JOURNEY 467 305}
    {OLD_JOURNEY 483 288}
    {OLD_JOURNEY 498 271}
    {OLD_REST 520 248}
    {NEW_REST 520 248}
#enddef

#define LANDING_TO_KALIAN_COMPLETE
    {OLD_JOURNEY 413 352}
    {OLD_JOURNEY 432 336}
    {OLD_JOURNEY 450 320}
    {OLD_JOURNEY 467 305}
    {OLD_JOURNEY 483 288}
    {OLD_JOURNEY 498 271}
    {OLD_REST 520 248}
    {OLD_REST 520 248}
#enddef

#define KALIAN_TO_DRAGON_STAGE1
    {NEW_JOURNEY 550 236}
    {NEW_JOURNEY 570 226}
    {NEW_JOURNEY 590 216}
    {NEW_JOURNEY 610 206}
    {NEW_JOURNEY 630 195}
    {NEW_JOURNEY 650 185}
    {NEW_BATTLE 675 171}
#enddef

#define KALIAN_TO_DRAGON_STAGE1_END
    {OLD_JOURNEY 550 236}
    {OLD_JOURNEY 570 226}
    {OLD_JOURNEY 590 216}
    {OLD_JOURNEY 610 206}
    {OLD_JOURNEY 630 195}
    {OLD_JOURNEY 650 185}
    {NEW_BATTLE 675 171}
#enddef

#define KALIAN_TO_DRAGON_COMPLETE
    {OLD_JOURNEY 550 236}
    {OLD_JOURNEY 570 226}
    {OLD_JOURNEY 590 216}
    {OLD_JOURNEY 610 206}
    {OLD_JOURNEY 630 195}
    {OLD_JOURNEY 650 185}
    {OLD_BATTLE 675 171}
#enddef

#define KALIAN_TO_BEACH_STAGE1
    {NEW_JOURNEY 511 266}
    {NEW_JOURNEY 502 286}
    {NEW_JOURNEY 492 308}
    {NEW_JOURNEY 480 328}
    {NEW_JOURNEY 468 348}
    {NEW_JOURNEY 454 367}
    {NEW_JOURNEY 440 386}
    {NEW_JOURNEY 421 403}
    {NEW_JOURNEY 399 418}
    {NEW_JOURNEY 376 434}
    {NEW_JOURNEY 353 448}
    {NEW_JOURNEY 330 462}
    {NEW_JOURNEY 304 475}
    {NEW_JOURNEY 280 484}
    {NEW_JOURNEY 256 493}
    {NEW_BATTLE 226 500}
#enddef

#define KALIAN_TO_BEACH_STAGE1_END
    {OLD_JOURNEY 511 266}
    {OLD_JOURNEY 502 286}
    {OLD_JOURNEY 492 308}
    {OLD_JOURNEY 480 328}
    {OLD_JOURNEY 468 348}
    {OLD_JOURNEY 454 367}
    {OLD_JOURNEY 440 386}
    {OLD_JOURNEY 421 403}
    {OLD_JOURNEY 399 418}
    {OLD_JOURNEY 376 434}
    {OLD_JOURNEY 353 448}
    {OLD_JOURNEY 330 462}
    {OLD_JOURNEY 304 475}
    {OLD_JOURNEY 280 484}
    {OLD_JOURNEY 256 493}
    {NEW_BATTLE 226 500}
#enddef

#define KALIAN_TO_BEACH_COMPLETE
    {OLD_JOURNEY 511 266}
    {OLD_JOURNEY 502 286}
    {OLD_JOURNEY 492 308}
    {OLD_JOURNEY 480 328}
    {OLD_JOURNEY 468 348}
    {OLD_JOURNEY 454 367}
    {OLD_JOURNEY 440 386}
    {OLD_JOURNEY 421 403}
    {OLD_JOURNEY 399 418}
    {OLD_JOURNEY 376 434}
    {OLD_JOURNEY 353 448}
    {OLD_JOURNEY 330 462}
    {OLD_JOURNEY 304 475}
    {OLD_JOURNEY 280 484}
    {OLD_JOURNEY 256 493}
    {OLD_BATTLE 226 500}
#enddef

#define KALIAN_TO_TROLL_HOLE_STAGE1
    {NEW_JOURNEY 520 274}
    {NEW_JOURNEY 536 290}
    {NEW_JOURNEY 552 305}
    {NEW_JOURNEY 569 319}
    {NEW_JOURNEY 586 331}
    {NEW_JOURNEY 604 346}
    {NEW_JOURNEY 622 360}
    {NEW_JOURNEY 639 376}
    {NEW_JOURNEY 656 392}
    {NEW_JOURNEY 674 408}
    {NEW_JOURNEY 690 424}
    {NEW_JOURNEY 704 442}
    {NEW_JOURNEY 718 460}
    {NEW_JOURNEY 731 478}
    {NEW_BATTLE 746 503}
#enddef

#define KALIAN_TO_TROLL_HOLE_STAGE1_END
    {OLD_JOURNEY 520 274}
    {OLD_JOURNEY 536 290}
    {OLD_JOURNEY 552 305}
    {OLD_JOURNEY 569 319}
    {OLD_JOURNEY 586 331}
    {OLD_JOURNEY 604 346}
    {OLD_JOURNEY 622 360}
    {OLD_JOURNEY 639 376}
    {OLD_JOURNEY 656 392}
    {OLD_JOURNEY 674 408}
    {OLD_JOURNEY 690 424}
    {OLD_JOURNEY 704 442}
    {OLD_JOURNEY 718 460}
    {OLD_JOURNEY 731 478}
    {NEW_BATTLE 746 503}
#enddef

#define KALIAN_TO_TROLL_HOLE_COMPLETE
    {OLD_JOURNEY 520 274}
    {OLD_JOURNEY 536 290}
    {OLD_JOURNEY 552 305}
    {OLD_JOURNEY 569 319}
    {OLD_JOURNEY 586 331}
    {OLD_JOURNEY 604 346}
    {OLD_JOURNEY 622 360}
    {OLD_JOURNEY 639 376}
    {OLD_JOURNEY 656 392}
    {OLD_JOURNEY 674 408}
    {OLD_JOURNEY 690 424}
    {OLD_JOURNEY 704 442}
    {OLD_JOURNEY 718 460}
    {OLD_JOURNEY 731 478}
    {OLD_BATTLE 746 503}
#enddef

#define KALIAN_TO_CURSED_ISLE_STAGE1
    {NEW_JOURNEY 499 257}
    {NEW_JOURNEY 481 267}
    {NEW_JOURNEY 463 277}
    {NEW_JOURNEY 443 287}
    {NEW_JOURNEY 423 297}
    {NEW_JOURNEY 403 308}
    {NEW_JOURNEY 383 320}
    {NEW_JOURNEY 362 332}
    {NEW_JOURNEY 341 337}
    {NEW_JOURNEY 321 325}
    {NEW_JOURNEY 304 312}
    {NEW_JOURNEY 291 296}
    {NEW_JOURNEY 281 277}
    {NEW_BATTLE 275 254}
#enddef

#define KALIAN_TO_CURSED_ISLE_STAGE1_END
    {OLD_JOURNEY 499 257}
    {OLD_JOURNEY 481 267}
    {OLD_JOURNEY 463 277}
    {OLD_JOURNEY 443 287}
    {OLD_JOURNEY 423 297}
    {OLD_JOURNEY 403 308}
    {OLD_JOURNEY 383 320}
    {OLD_JOURNEY 362 332}
    {OLD_JOURNEY 341 337}
    {OLD_JOURNEY 321 325}
    {OLD_JOURNEY 304 312}
    {OLD_JOURNEY 291 296}
    {OLD_JOURNEY 281 277}
    {NEW_BATTLE 275 254}
#enddef

#define KALIAN_TO_CURSED_ISLE_COMPLETE
    {OLD_JOURNEY 499 257}
    {OLD_JOURNEY 481 267}
    {OLD_JOURNEY 463 277}
    {OLD_JOURNEY 443 287}
    {OLD_JOURNEY 423 297}
    {OLD_JOURNEY 403 308}
    {OLD_JOURNEY 383 320}
    {OLD_JOURNEY 362 332}
    {OLD_JOURNEY 341 337}
    {OLD_JOURNEY 321 325}
    {OLD_JOURNEY 304 312}
    {OLD_JOURNEY 291 296}
    {OLD_JOURNEY 281 277}
    {OLD_BATTLE 275 254}
#enddef

#define AFTER_QUEST_STAGE1
    {NEW_JOURNEY 488 244}
    {NEW_JOURNEY 466 246}
    {NEW_JOURNEY 443 247}
    {NEW_BATTLE 415 251}
#enddef

#define AFTER_QUEST_STAGE1_END
    {OLD_JOURNEY 488 244}
    {OLD_JOURNEY 466 246}
    {OLD_JOURNEY 443 247}
    {NEW_BATTLE 415 251}
#enddef

#define AFTER_QUEST_STAGE2
    {OLD_JOURNEY 488 244}
    {OLD_JOURNEY 466 246}
    {OLD_JOURNEY 443 247}
    {OLD_BATTLE 415 251}
    {NEW_JOURNEY 392 264}
    {NEW_JOURNEY 373 277}
    {NEW_BATTLE 351 295}
#enddef

#define AFTER_QUEST_STAGE2_END
    {OLD_JOURNEY 488 244}
    {OLD_JOURNEY 466 246}
    {OLD_JOURNEY 443 247}
    {OLD_BATTLE 415 251}
    {OLD_JOURNEY 392 264}
    {OLD_JOURNEY 373 277}
    {NEW_BATTLE 351 295}
#enddef

#define AFTER_QUEST_STAGE3
    {OLD_JOURNEY 488 244}
    {OLD_JOURNEY 466 246}
    {OLD_JOURNEY 443 247}
    {OLD_BATTLE 415 251}
    {OLD_JOURNEY 392 264}
    {OLD_JOURNEY 373 277}
    {OLD_BATTLE 351 295}
    {NEW_REST 360 260}
#enddef

#define AFTER_QUEST_STAGE3_END
    {OLD_JOURNEY 488 244}
    {OLD_JOURNEY 466 246}
    {OLD_JOURNEY 443 247}
    {OLD_BATTLE 415 251}
    {OLD_JOURNEY 392 264}
    {OLD_JOURNEY 373 277}
    {OLD_BATTLE 351 295}
    {NEW_REST 360 260}
#enddef

#define AFTER_QUEST_STAGE4
    {OLD_JOURNEY 488 244}
    {OLD_JOURNEY 466 246}
    {OLD_JOURNEY 443 247}
    {OLD_BATTLE 415 251}
    {OLD_JOURNEY 392 264}
    {OLD_JOURNEY 373 277}
    {OLD_BATTLE 351 295}
    {OLD_REST 360 260}
    {NEW_JOURNEY 382 240}
    {NEW_JOURNEY 401 222}
    {NEW_JOURNEY 416 203}
    {NEW_JOURNEY 428 182}
    {NEW_JOURNEY 439 157}
    {NEW_JOURNEY 438 130}
    {NEW_BATTLE 424 104}
#enddef

#define AFTER_QUEST_STAGE4_END
    {OLD_JOURNEY 488 244}
    {OLD_JOURNEY 466 246}
    {OLD_JOURNEY 443 247}
    {OLD_BATTLE 415 251}
    {OLD_JOURNEY 392 264}
    {OLD_JOURNEY 373 277}
    {OLD_BATTLE 351 295}
    {OLD_REST 360 260}
    {OLD_JOURNEY 382 240}
    {OLD_JOURNEY 401 222}
    {OLD_JOURNEY 416 203}
    {OLD_JOURNEY 428 182}
    {OLD_JOURNEY 439 157}
    {OLD_JOURNEY 438 130}
    {NEW_BATTLE 424 104}
#enddef

#define AFTER_QUEST_STAGE5
    {OLD_JOURNEY 488 244}
    {OLD_JOURNEY 466 246}
    {OLD_JOURNEY 443 247}
    {OLD_BATTLE 415 251}
    {OLD_JOURNEY 392 264}
    {OLD_JOURNEY 373 277}
    {OLD_BATTLE 351 295}
    {OLD_REST 360 260}
    {OLD_JOURNEY 382 240}
    {OLD_JOURNEY 401 222}
    {OLD_JOURNEY 416 203}
    {OLD_JOURNEY 428 182}
    {OLD_JOURNEY 439 157}
    {OLD_JOURNEY 438 130}
    {OLD_BATTLE 424 104}
    {NEW_JOURNEY 409 132}
    {NEW_JOURNEY 398 154}
    {NEW_JOURNEY 388 176}
    {NEW_JOURNEY 377 200}
    {NEW_JOURNEY 368 225}
    {NEW_REST 360 260}
#enddef

#define AFTER_QUEST_STAGE5_END
    {OLD_JOURNEY 488 244}
    {OLD_JOURNEY 466 246}
    {OLD_JOURNEY 443 247}
    {OLD_BATTLE 415 251}
    {OLD_JOURNEY 392 264}
    {OLD_JOURNEY 373 277}
    {OLD_BATTLE 351 295}
    {OLD_REST 360 260}
    {OLD_JOURNEY 382 240}
    {OLD_JOURNEY 401 222}
    {OLD_JOURNEY 416 203}
    {OLD_JOURNEY 428 182}
    {OLD_JOURNEY 439 157}
    {OLD_JOURNEY 438 130}
    {OLD_BATTLE 424 104}
    {OLD_JOURNEY 409 132}
    {OLD_JOURNEY 398 154}
    {OLD_JOURNEY 388 176}
    {OLD_JOURNEY 377 200}
    {OLD_JOURNEY 368 225}
    {NEW_REST 360 260}
#enddef

#define AFTER_QUEST_COMPLETE
    {OLD_JOURNEY 488 244}
    {OLD_JOURNEY 466 246}
    {OLD_JOURNEY 443 247}
    {OLD_BATTLE 415 251}
    {OLD_JOURNEY 392 264}
    {OLD_JOURNEY 373 277}
    {OLD_BATTLE 351 295}
    {OLD_REST 360 260}
    {OLD_JOURNEY 382 240}
    {OLD_JOURNEY 401 222}
    {OLD_JOURNEY 416 203}
    {OLD_JOURNEY 428 182}
    {OLD_JOURNEY 439 157}
    {OLD_JOURNEY 438 130}
    {OLD_BATTLE 424 104}
    {OLD_JOURNEY 409 132}
    {OLD_JOURNEY 398 154}
    {OLD_JOURNEY 388 176}
    {OLD_JOURNEY 377 200}
    {OLD_JOURNEY 368 225}
    {OLD_REST 360 260}
#enddef

# trackplacer: tracks end

#define A_NEW_LAND_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            {LANDING_STAGE1}
        [/part]
    [/story]
#enddef

#define QUEST_CONDITIONAL
    # Internal macro; simplifies all following ones
    [if]
        [variable]
            name=a_beach
            numerical_equals=1
        [/variable]
        [then]
            {KALIAN_TO_BEACH_COMPLETE}
        [/then]
    [/if]
    [if]
        [variable]
            name=cursed_isle
            numerical_equals=1
        [/variable]
        [then]
            {KALIAN_TO_CURSED_ISLE_COMPLETE}
        [/then]
    [/if]
    [if]
        [variable]
            name=troll_hole
            numerical_equals=1
        [/variable]
        [then]
            {KALIAN_TO_TROLL_HOLE_COMPLETE}
        [/then]
    [/if]
    [if]
        [variable]
            name=the_dragon
            numerical_equals=1
        [/variable]
        [then]
            {KALIAN_TO_DRAGON_COMPLETE}
        [/then]
    [/if]
#enddef

#define THE_KALIAN_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {QUEST_CONDITIONAL}
            {LANDING_TO_KALIAN_STAGE2}
        [/part]
    [/story]
#enddef

#define THE_DRAGON_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {QUEST_CONDITIONAL}
            {KALIAN_TO_DRAGON_STAGE1}
        [/part]
    [/story]
#enddef

#define LIZARD_BEACH_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {QUEST_CONDITIONAL}
            {KALIAN_TO_BEACH_STAGE1}
        [/part]
    [/story]
#enddef

#define TROLL_HOLE_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {QUEST_CONDITIONAL}
            {KALIAN_TO_TROLL_HOLE_STAGE1}
        [/part]
    [/story]
#enddef

#define CURSED_ISLE_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {QUEST_CONDITIONAL}
            {KALIAN_TO_CURSED_ISLE_STAGE1}
        [/part]
    [/story]
#enddef

#define A_SPY_IN_THE_WOODS_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {KALIAN_TO_DRAGON_COMPLETE}
            {KALIAN_TO_BEACH_COMPLETE}
            {KALIAN_TO_TROLL_HOLE_COMPLETE}
            {KALIAN_TO_CURSED_ISLE_COMPLETE}
            {LANDING_TO_KALIAN_STAGE2}
        [/part]
    [/story]
#enddef

#define THE_VANGUARD_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {KALIAN_TO_DRAGON_COMPLETE}
            {KALIAN_TO_BEACH_COMPLETE}
            {KALIAN_TO_TROLL_HOLE_COMPLETE}
            {KALIAN_TO_CURSED_ISLE_COMPLETE}
            {AFTER_QUEST_STAGE1}
        [/part]
    [/story]
#enddef

#define RETURN_OF_THE_FLEET_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {KALIAN_TO_DRAGON_COMPLETE}
            {KALIAN_TO_BEACH_COMPLETE}
            {KALIAN_TO_TROLL_HOLE_COMPLETE}
            {KALIAN_TO_CURSED_ISLE_COMPLETE}
            {AFTER_QUEST_STAGE2}
        [/part]
    [/story]
#enddef

#define THE_PLAN_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {KALIAN_TO_DRAGON_COMPLETE}
            {KALIAN_TO_BEACH_COMPLETE}
            {KALIAN_TO_TROLL_HOLE_COMPLETE}
            {KALIAN_TO_CURSED_ISLE_COMPLETE}
            {AFTER_QUEST_STAGE3}
        [/part]
    [/story]
#enddef

#define RISE_OF_WESNOTH_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {KALIAN_TO_DRAGON_COMPLETE}
            {KALIAN_TO_BEACH_COMPLETE}
            {KALIAN_TO_TROLL_HOLE_COMPLETE}
            {KALIAN_TO_CURSED_ISLE_COMPLETE}
            {AFTER_QUEST_STAGE4}
        [/part]
    [/story]
#enddef

#define EPILOGUE_BIGMAP
    [story]
        [part]
            background=story/the_great_continent.png
            show_title=yes
            {LANDING_COMPLETE}
            {LANDING_TO_KALIAN_COMPLETE}
            {KALIAN_TO_DRAGON_COMPLETE}
            {KALIAN_TO_BEACH_COMPLETE}
            {KALIAN_TO_TROLL_HOLE_COMPLETE}
            {KALIAN_TO_CURSED_ISLE_COMPLETE}
            {AFTER_QUEST_STAGE5}
        [/part]
    [/story]
#enddef

# trackplacer: epilog begins

#undef LANDING_STAGE1_END
#undef LANDING_TO_KALIAN_STAGE1
#undef LANDING_TO_KALIAN_STAGE1_END
#undef LANDING_TO_KALIAN_STAGE2_END
#undef KALIAN_TO_DRAGON_STAGE1_END
#undef KALIAN_TO_BEACH_STAGE1_END
#undef KALIAN_TO_TROLL_HOLE_STAGE1_END
#undef KALIAN_TO_CURSED_ISLE_STAGE1_END
#undef AFTER_QUEST_STAGE1_END
#undef AFTER_QUEST_STAGE2_END
#undef AFTER_QUEST_STAGE3_END
#undef AFTER_QUEST_STAGE4_END
#undef AFTER_QUEST_STAGE5_END
#undef AFTER_QUEST_COMPLETE

# trackplacer: epilog ends
