Skip to content

v0.2.X Readme

Kasugaccho edited this page Apr 30, 2019 · 1 revision


Search Library



DTL (Dungeon Template Library)

>> Japanese(ๆ—ฅๆœฌ่ชžใƒšใƒผใ‚ธใฏใ“ใกใ‚‰)

Overview

Matrix Type

Main Code

using dungeon_t = std::uint_fast8_t;
constexpr std::size_t x_size{ 12 };
constexpr std::size_t y_size{ 8 };

STL Matrix stl_matrix

no_default_array std_array std_bitset std_vector std_deque no_std_unique__ptr

Required Class Function: operator[] size
std::array<std::array<dungeon_t, x_size>, y_size> dungeon_stl_matrix{ {} };

Normal Matrix default_matrix

default_array std_array std_bitset std_vector std_deque std_unique__ptr

Required Class Function: operator[]
dungeon_t dungeon_default_matrix[y_size][x_size]{};

Array Matrix array_matrix

default_array std_array std_bitset std_vector std_deque std_unique__ptr

Required Class Function: operator[]
dungeon_t dungeon_array_matrix[x_size*y_size]{};

Version 0.2.4 [ C++14 ]

Compiler C++14 (~v0.2.4) C99
MSVC cl cl
GCC gcc gcc
Clang clang clang
Zapcc zapcc zapcc
ICC icc icc

[Type] Terrain Generation

[1] Simple Voronoi Island (v0.1.0~)

cpp14 c99

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

Variable

bool_true int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

voronoi

[19] Simple Cellular Automaton Island (v0.2.1~)

cpp14 c99_no

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

Variable

bool_true int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

ri

[19] Simple Biome Island (v0.2.2~)

cpp14 c99_no

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

Variable

bool_false int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

ri ri

[X] Biome Island (v0.2.X~)

cpp14 c99_no

Underdevelopment...

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

Variable

bool_false int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

ri

[3] Fractal Island (v0.1.1~)

cpp14 c99

Default Value Name
0-255 Height
Capacity Requirement
8 bit

Variable

bool_false int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

FI1 fi3d

[15] Chunk Island (v0.1.20~)

cpp14 c99_no

Default Value Name
0-255 Height
Capacity Requirement
8 bit

Variable

bool_false int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

chunk

[16] Simple Diamond Square Average Island (v0.1.21~)

cpp14 c99_no

Default Value Name
0-255 Height
Capacity Requirement
8 bit

Variable

bool_false int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

sdsai

[14] Simple Diamond Square Average Island Corner (v0.1.19~)

cpp14 c99_no

Default Value Name
0-255 Height
Capacity Requirement
8 bit

Variable

bool_false int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

sdsai

[Type] Dungeon Generation

[2] RogueLike (v0.1.0~)

cpp14 c99_no

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

Variable

bool_false int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

rl1 rl4

[5] Simple RogueLike (v0.1.3~)

cpp14 c99

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

Variable

bool_true int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

STL1 srl3d

[4] Maze Dig (v0.1.2~)

cpp14 c99

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

Variable

bool_true int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

maze_dig maze_dig_3d

[17] RogueLike Cave (v0.1.25~)

cpp14 c99_no

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

Variable

bool_false int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

rl1 rlc

Maze ฮฑ

cpp14 c99_no

Underdevelopment...

[Type] Common Generation

[6] DungeonInit (v0.1.10~)

cpp14 c99_no

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

Variable

bool_true int_true

Matrix Type

stl_matrix default_matrix array_matrix

Generation Type

gt_f

Image

di

[7] Border (v0.1.10~)

cpp14 c99_no

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

Variable

bool_true int_true

Generation Type

gt_f

Image

db border

Matrix Type

stl_matrix default_matrix array_matrix

[8] BorderOdd (v0.1.10~)

cpp14 c99_no

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

Variable

bool_true int_true

Matrix Type

stl_matrix default_matrix array_matrix

Generation Type

gt_f

Image

bo

[9] PointGrid (v0.1.10~)

cpp14 c99_no

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

Variable

bool_true int_true

Matrix Type

stl_matrix default_matrix array_matrix

Generation Type

gt_f

Image

pg

[10] PointGridField (v0.1.10~)

cpp14 c99_no

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

Variable

bool_true int_true

Matrix Type

stl_matrix default_matrix array_matrix

Generation Type

gt_f

Image

pgf

[12] PointGridFieldPutBlock (v0.1.13~)

cpp14 c99_no

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

Variable

bool_false int_true

Matrix Type

stl_matrix default_matrix array_matrix

Generation Type

gt_r

Image

pgfpb

[Type] BoardGame Generation

[11] Reversi (v0.1.10~)

cpp14 c99_no

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

Variable

bool_false int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_f

Image

re

re32

[13] Chess (v0.1.14~)

cpp14 c99_no

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

Variable

bool_false int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_f

Image

chess

Variable

bool_false int_true

[Type] Horizontal Scroll Generation

[18] Mountain (v0.1.26~)

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

Variable

bool_true int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Generation Type

gt_r

Image

mountain

Paint Tool

Pen (v0.1.9~)

cpp14 c99_no

Variable

bool_true int_true

Matrix Type

stl_matrix default_matrix no_array_matrix

Image

pen

Bucket (v0.1.9~)

cpp14 c99_no

Variable

bool_true int_true

Matrix Type

stl_matrix no_default_matrix no_array_matrix

Image

bucket

File

File Read

Name Function Version
.csv fileRead_csv v0.1.12~
.dtlm fileRead_dtlm v0.1.12~

File Write (Text)

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~

File Write (Picture)

Name Function Version
.pbm fileWrite_pbm v0.1.22~
.svg fileWrite_svg v0.1.22~
.bmp fileWrite_bmp v0.1.23~

MapChip File

Name Version
wolf_auto_tile v0.2.3~

File Write (3D)

Name Function Version
.obj fileWriteTerrain_obj v0.1.27~
.obj fileWriteBoard_obj v0.1.28~

Artificial Intelligence

Matrix

matrix

License

These codes are licensed under CC0.

CC0

Created by Gaccho on December 15th, 2018.

Contact

E-mail: [email protected]
Twitter: @wanotaitei
svg As Project
gaccho Made by Gaccho.

Japan Terrain Generation Research Institute

Clone this wiki locally