diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-08-11 22:31:34 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-08-11 22:31:34 +0300 |
commit | 837dbeaccd33fdf49f8bbe312226bddabe0f92c4 (patch) | |
tree | 45c59a5fa7efce92539284ecd683c771612a8e95 /README.md | |
parent | 30d1c9b30b5642efcba66bdc7956f4d7e321fc97 (diff) |
even more user friendly
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -23,6 +23,7 @@ Two files will be build in the bin directory, I am pretty sure the `bin/wfc` should work on Windows, `bin/gen_tiles` uses linux-only header to create the directories for the files (files and files/tiles) +and uses `cp` to copy files around. It would be easy to make everything work on windows, I just dont want to take my time and make it cross platform. @@ -41,11 +42,10 @@ The `bin/gen_tiles` generates the `tiles.dat` file and optionally the tiles them There is a file called `config.h` under the src directory which is used to specify things about `tiles.dat` and basically configuring `bin/gen_tiles`. More info in the file as comments. -To use a tileset, different from the one that can be generated from `bin/gen_tiles` -you need to specify the tile-types you are going to use in `src/config.h`, then copy-paste -the tiles into `files/tiles` directory and then name them `tile_<num>.ppm`, where -num is the index of the tile in the `tiles_to_load` array in `src/config.h` (Not the tile index in the table). - +To use a tileset different generated one it is explained in `src/config.h`. +For a tilset to be compatable with this project, it needs to be all ppm files, +and files should be named exactly like the names in the table in `src/config.h`. +For example see the tileset in `files/tilesets/knots`. ### Limitations |