mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-06-12 02:30:43 +00:00
23 lines
479 B
Go
23 lines
479 B
Go
|
package d2records
|
||
|
|
||
|
// LevelWarps loaded from txt records
|
||
|
type LevelWarps map[int]*LevelWarpRecord
|
||
|
|
||
|
// LevelWarpRecord is a representation of a row from lvlwarp.txt
|
||
|
// it describes the warp graphics offsets and dimensions for levels
|
||
|
type LevelWarpRecord struct {
|
||
|
Name string
|
||
|
ID int
|
||
|
SelectX int
|
||
|
SelectY int
|
||
|
SelectDX int
|
||
|
SelectDY int
|
||
|
ExitWalkX int
|
||
|
ExitWalkY int
|
||
|
OffsetX int
|
||
|
OffsetY int
|
||
|
LitVersion bool
|
||
|
Tiles int
|
||
|
Direction string
|
||
|
}
|