Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DS1 ¶
type DS1 struct { Version int32 // The version of the DS1 Width int32 // Width of map, in # of tiles Height int32 // Height of map, in # of tiles Act int32 // Act, from 1 to 5. This tells which act table to use for the Objects list SubstitutionType int32 // SubstitutionType (layer type): 0 if no layer, else type 1 or type 2 Files []string // FilePtr table of file string pointers NumberOfWalls int32 // WallNum number of wall & orientation layers used NumberOfFloors int32 // number of floor layers used NumberOfShadowLayers int32 // ShadowNum number of shadow layer used NumberOfSubstitutionLayers int32 // SubstitutionNum number of substitution layer used SubstitutionGroupsNum int32 // SubstitutionGroupsNum number of substitution groups, datas between objects & NPC paths Objects []d2data.Object // Objects Tiles [][]TileRecord SubstitutionGroups []SubstitutionGroup }
type FloorShadowRecord ¶
type SubstitutionGroup ¶
type SubstitutionRecord ¶
type SubstitutionRecord struct {
Unknown uint32
}
type TileRecord ¶
type TileRecord struct { Floors []FloorShadowRecord Walls []WallRecord Shadows []FloorShadowRecord Substitutions []SubstitutionRecord }
Click to show internal directories.
Click to hide internal directories.