mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-16 01:17:10 -05:00
d0c6cd61dd
* Reorganize MapEngine This is already turning into a mess... * Map engine selects tile index to use Still very ugly * Fix subtile flag combination * Prepare randomly generated base tiles * Restore collision viewer * Movement works again, searches for straight paths Paths are now d2vector slices * Fix LOS calculation * Fix test (I think)
19 lines
437 B
Go
19 lines
437 B
Go
package d2dt1
|
|
|
|
// Tile is a representation of a map tile
|
|
type Tile struct {
|
|
Direction int32
|
|
RoofHeight int16
|
|
MaterialFlags MaterialFlags
|
|
Height int32
|
|
Width int32
|
|
Type int32
|
|
Style int32
|
|
Sequence int32
|
|
RarityFrameIndex int32
|
|
SubTileFlags [25]SubTileFlags
|
|
blockHeaderPointer int32
|
|
blockHeaderSize int32
|
|
Blocks []Block
|
|
}
|