aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h43
1 files changed, 24 insertions, 19 deletions
diff --git a/src/config.h b/src/config.h
index 8e2910b..4135b5c 100644
--- a/src/config.h
+++ b/src/config.h
@@ -1,23 +1,27 @@
-// comment this if you dont want to
-// generate the tiles, only the
-// tiles.dat file
-#define GENERATE_PPM_TILES
+// 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
+
+// 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-piece (down) |
-| ... X symetry | ### T symetry |
-| ... | .#. |
-|-------------------+-------------------------|
-|2: .#. cross | 3: ... bar |
-| ### X symetry | ### I symetry |
-| .#. | ... |
-|-------------------+-------------------------|
-|4: .#. corner | |
-| .## T symetry | |
-| ... | |
------------------------------------------------
+--------------------------------------------------
+| 0: ... blank | 1: ... t (down) |
+| ... X symetry | ### T symetry |
+| ... | .#. |
+| -------------------+--------------------------|
+| 2: .#. plus | 3: ... line |
+| ### X 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
@@ -26,6 +30,7 @@ need to put in the tiles_to_load array
// Array for which tiles to include the tiles.dat
int tiles_to_load[] = {
- 0,
- 1,
+ 2,g
+ 4,
+ 3,
};