diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-12-22 14:53:44 +0200 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-12-22 14:53:44 +0200 |
commit | 4c9fafc4c126af2466dc6c56b9c952f901a1c726 (patch) | |
tree | 16a7590ff005b1e49344836675731e86e2283bd7 /src/config.h | |
parent | 407e1bdc46fc3b4983aa95b3b270a017d631dc42 (diff) |
better tileset configuration
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 44 |
1 files changed, 2 insertions, 42 deletions
diff --git a/src/config.h b/src/config.h index bd6fc31..f1fa501 100644 --- a/src/config.h +++ b/src/config.h @@ -1,52 +1,12 @@ // name of the tileset, localated in files/tilesets directory -#define TILESET_NAME "black-white" - -#define DIMENTIONS 2 -#define TILE_TYPES 5 - -tile tiles[TILE_TYPES] = { - { "empty" , 'X', { 0, 0, 0, 0 } }, - { "t" , 'T', { 0, 1, 1, 1 } }, - { "cross" , 'X', { 1, 1, 1, 1 } }, - { "line" , 'I', { 0, 1, 1, 0 } }, - { "corner" , 'T', { 1, 1, 0, 0 } } -}; +#define TILESET knots // Array for which tiles to include the tiles.dat int tiles_to_load[] = { 3, 4 }; -// // name of the tileset, localated in files/tilesets directory -// #define TILESET_NAME "circuit" - -// #define DIMENTIONS 2 -// #define TILE_TYPES 14 - -// // pcb green - 0 -// // green - 1, -// // grey - 2, -// // black - 3, -// // other - 4, 5 -// tile tiles[TILE_TYPES] = { -// { "bridge" , 'I', { 1, 2, 2, 1 } }, -// { "component" , 'X', { 3, 3, 3, 3 } }, -// { "connection" , 'T', { 1, 4, 5, 3 } }, -// { "corner" , 'T', { 0, 0, 4, 5 } }, -// { "dskew" , 'I', { 1, 1, 1, 1 } }, -// { "skew" , 'T', { 1, 1, 0, 0 } }, -// { "substrate" , 'X', { 0, 0, 0, 0 } }, -// { "t" , 'T', { 0, 1, 1, 1 } }, -// { "track" , 'I', { 1, 0, 0, 1 } }, -// { "transition" , 'T', { 2, 0, 0, 1 } }, -// { "turn" , 'T', { 1, 1, 0, 0 } }, -// { "viad" , 'I', { 0, 1, 1, 0 } }, -// { "vias" , 'T', { 1, 0, 0, 0 } }, -// { "wire" , 'I', { 0, 2, 2, 0 } }, -// }; - - -// // Array for which tiles to include the tiles.dat +// #define TILESET circuit // int tiles_to_load[] = { // 0, 1, 2, 3, 4, 5, 6, // 7, 8, 9, 10, 11, 12, 13, |