#include <stdio.h>

#include "city.h"

char map[36];

#include "macro.h"
//recursive macro


int main()
{
    //generate map
    int i = 0;
    do{
        map[i++] = PLAIN;
    }while(IN(i));
    map[I(3,3)] = FOREST;

    //show the map in ascii
    int x=0,
        y=0;
    for (y=0;y<H;y++)
    {
        for (x=0;x<W;x++)
        {
            printf ("%d",map[I(x,y)]);
        }
        printf ("\n");
    }

    //test blob
/*    for (i=0;i<65;i++)*/
/*        printf ("%d %c\n", BLOB64(BASE64(i)), BASE64(i));*/
    LOOP(5)
        printf("ping\n");

    int a = 5,
        b = 6;
    SWAP(a,b);
    printf("%d %d\n",a,b);

    return 0;
}
