aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
blob: 36f43a687e2c760de7959d725b2b75fb1554a9de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// comment this if you dont want to generate the tiles, but
// want to use the tileset defined in the TILESET_NAME directive
#define GENERATE_PPM_TILES

#ifdef GENERATE_PPM_TILES
    int generated_tile_colors[2][3] = {
        { 0,   32,  63  }, // blank     | default 255
        { 173, 239, 209 }  // not blank | defalut 0
        // { 255, 255, 255 },
        // { 0,   0,   0   }
    };
#endif


// name of the tileset, localated in files/tilesets directory
// must be defined only when GENERATE_PPM_TILES is not
// if both arent defined, only tiles.dat will be generated
// #define TILESET_NAME "knots"

/* The TILES are

--------------------------------------------------
|  0: ...  blank      |  1: ...  t (down)        |
|     ...  X symetry  |     ###  T symetry       |
|     ...             |     .#.                  |
|  -------------------+--------------------------|
|  2: .#.  plus       |  3: ...  line            |
|     ###  I symetry  |     ###  I symetry       |
|     .#.             |     ...                  |
|  -------------------+--------------------------|
|  4: .#.  corner     |                          |
|     .##  T symetry  |                          |
|     ...             |                          |
--------------------------------------------------

The number are the tile indexes, the values that you
need to put in the tiles_to_load array

 */

// Array for which tiles to include the tiles.dat
int tiles_to_load[] = {
    0,
    1,
};