Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

terrain_layout_classes

Global of Himegari Dungeon Meister: the cell G:0xe6ae0, of type int[30], data-table, values {0=blocked_or_boundary, 1=open_area, 2=passage, 3=hidden}.

LAINIT terrain class. Zero cells are rejected by map rendering, occupancy, and pathfinding; ordinary areas, passages, and hidden spaces take distinct DRAWMAP/CALCOCC/MVSEEK paths. Combined with terrain_area_fill_flags, it distinguishes hidden rooms from hidden passages.

OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.

It depends on 0x26b5, 0xe6ac2.

Record tables

It is a field of the table terrain, as terrain.id.layout_class.

Scripts that use it

The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.

ScriptReadsWritesIndexes
LAINIT0170
FIELD0014
DRAWMAP0011
CALCOCC002
MVSEEK002
RESETLAND002
SETLAND002
DRAWMINIMAP001
DRAWVOL001
SALLY001
USEMAGIC001