-
-
Notifications
You must be signed in to change notification settings - Fork 86
v0.2.X Readme
Kasugaccho edited this page Apr 30, 2019
·
1 revision
DTL (Dungeon Template Library)
using dungeon_t = std::uint_fast8_t;
constexpr std::size_t x_size{ 12 };
constexpr std::size_t y_size{ 8 };
| Required Class Function: | operator[] | size |
|---|
std::array<std::array<dungeon_t, x_size>, y_size> dungeon_stl_matrix{ {} };
| Required Class Function: | operator[] |
|---|
dungeon_t dungeon_default_matrix[y_size][x_size]{};
| Required Class Function: | operator[] |
|---|
dungeon_t dungeon_array_matrix[x_size*y_size]{};| Compiler | C++14 (~v0.2.4) | C99 |
|---|---|---|
| MSVC | ||
| GCC | ||
| Clang | ||
| Zapcc | ||
| ICC |
| Default Value | Name | Image Color |
|---|---|---|
| 0 | Sea | Pale Brown |
| 1 | Land | Dark Olive |
| Capacity Requirement |
|---|
| 1 bit |

| Default Value | Name | Image Color |
|---|---|---|
| 0 | Sea | Pale Brown |
| 1 | Land | Dark Olive |
| Capacity Requirement |
|---|
| 1 bit |

| Default Value | Name | Image Color |
|---|---|---|
| 0 | Sea | Blue |
| n | (Biome) |
| Capacity Requirement |
|---|
| 1~ bit |

Underdevelopment...
| Default Value | Name | Image Color |
|---|---|---|
| 0 | Sea | Blue |
| n | (Biome) |
| Capacity Requirement |
|---|
| X bit |

| Default Value | Name |
|---|---|
| 0-255 | Height |
| Capacity Requirement |
|---|
| 8 bit |

| Default Value | Name |
|---|---|
| 0-255 | Height |
| Capacity Requirement |
|---|
| 8 bit |

| Default Value | Name |
|---|---|
| 0-255 | Height |
| Capacity Requirement |
|---|
| 8 bit |

| Default Value | Name |
|---|---|
| 0-255 | Height |
| Capacity Requirement |
|---|
| 8 bit |

| Default Value | Name | Image Color |
|---|---|---|
| 0 | Outside Wall | Blue |
| 1 | Inside Wall | White |
| 2 | Room | Green |
| 3 | Entrance | Black |
| 4 | Way | Yellow |
| Capacity Requirement |
|---|
| 3 bit |

| Default Value | Name | Image Color |
|---|---|---|
| 0 | Wall | Black |
| 1 | Empty | White |
| Capacity Requirement |
|---|
| 1 bit |

| Default Value | Name | Image Color |
|---|---|---|
| 0 | Wall | Blue |
| 1 | Empty | White |
| Capacity Requirement |
|---|
| 1 bit |

| Default Value | Name | Image Color |
|---|---|---|
| 0 | Wall | Black |
| 1 | Room | Brown |
| 2 | Unknown | |
| 3 | Unknown | |
| 4 | Unknown |
| Capacity Requirement |
|---|
| 3 bit |

Underdevelopment...
| Matrix Size Min | Matrix Size Max |
|---|---|
| 0 | (Variable Max) |
| Default Value | Name | Image Color |
|---|---|---|
| 0 | Empty | Black |
| Capacity Requirement |
|---|
| 1 bit |

| Matrix Size Min | Matrix Size Max |
|---|---|
| 1 | (Variable Max) |
| Default Value | Name | Image Color |
|---|---|---|
| 0 | Empty | White |
| 1 | Wall | Black |
| Capacity Requirement |
|---|
| 1 bit |

| Matrix Size Min | Matrix Size Max |
|---|---|
| 2 | (Variable Max) |
| Default Value | Name | Image Color |
|---|---|---|
| 0 | Empty | White |
| 1 | Wall | Black |
| Capacity Requirement |
|---|
| 1 bit |

| Matrix Size Min | Matrix Size Max |
|---|---|
| 0 | (Variable Max) |
| Default Value | Name | Image Color |
|---|---|---|
| 0 | Empty | White |
| 1 | Wall | Black |
| Capacity Requirement |
|---|
| 1 bit |

| Matrix Size Min | Matrix Size Max |
|---|---|
| 2 | (Variable Max) |
| Default Value | Name | Image Color |
|---|---|---|
| 0 | Empty | White |
| 1 | Wall | Black |
| Capacity Requirement |
|---|
| 1 bit |

| Matrix Size Min | Matrix Size Max |
|---|---|
| 3 | (Variable Max) |
| Default Value | Name | Image Color |
|---|---|---|
| 0 | Empty | White |
| 1 | Wall | Black |
| 2 | Block | Red |
| Capacity Requirement |
|---|
| 2 bit |

| Matrix Size Min | Matrix Size Max |
|---|---|
| 2 | (Variable Max) |
| Default Value | Name | Image Color |
|---|---|---|
| 0 | Empty | Green |
| 1 | White | White |
| 2 | Black | Black |
| Capacity Requirement |
|---|
| 2 bit |


| Matrix Size Min | Matrix Size Max |
|---|---|
| 4 | (Variable Max) |
| Default Value | Name |
|---|---|
| 0 | Empty |
| 1 | White King |
| 2 | Black King |
| 3 | White Queen |
| 4 | Black Queen |
| 5 | White Bishop |
| 6 | Black Bishop |
| 7 | White Knight |
| 8 | Black Knight |
| 9 | White Rook |
| 10 | Black Rook |
| 11 | White Pawn |
| 12 | Black Pawn |
| Capacity Requirement |
|---|
| 4 bit |

| Default Value | Name | Image Color |
|---|---|---|
| 0 | Empty | Blue |
| 1 | Mountain | Green |
| Capacity Requirement |
|---|
| 1 bit |



| Name | Function | Version |
|---|---|---|
| .csv | fileRead_csv | v0.1.12~ |
| .dtlm | fileRead_dtlm | v0.1.12~ |
| Name | Function | Version |
|---|---|---|
| .csv | fileWrite_csv | v0.1.12~ |
| .dtlm | fileWrite_dtlm | v0.1.22~ |
| .md | fileWrite_md | v0.1.24~ |
| .txt | fileWrite_0_9 | v0.1.24~ |
| Name | Function | Version |
|---|---|---|
| .pbm | fileWrite_pbm | v0.1.22~ |
| .svg | fileWrite_svg | v0.1.22~ |
| .bmp | fileWrite_bmp | v0.1.23~ |
| Name | Version |
|---|---|
| wolf_auto_tile | v0.2.3~ |
| Name | Function | Version |
|---|---|---|
| .obj | fileWriteTerrain_obj | v0.1.27~ |
| .obj | fileWriteBoard_obj | v0.1.28~ |
These codes are licensed under CC0.
Created by Gaccho on December 15th, 2018.
| E-mail: | [email protected] |
|---|---|
| Twitter: | @wanotaitei |
| As Project | |
| Made by Gaccho. |
Japan Terrain Generation Research Institute
Copyright (c) 2018-2021 As Project.
Distributed under the Boost Software License, Version 1.0.(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)