Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AnimationData map[string][]*AnimationDataRecord
AnimationData represents all of the animation data records, mapped by the COF index
Functions ¶
func LoadAnimationData ¶
func LoadAnimationData(fileProvider d2interface.FileProvider)
LoadAnimationData loads the animation data table into the global AnimationData dictionary
Types ¶
type AnimationDataRecord ¶
type AnimationDataRecord struct { // COFName is the name of the COF file used for this animation COFName string // FramesPerDirection specifies how many frames are in each direction FramesPerDirection int // AnimationSpeed represents a value of X where the rate is a ration of (x/255) at 25FPS AnimationSpeed int // Flags are used in keyframe triggers Flags []byte }
AnimationDataRecord represents a single entry in the animation data dictionary file
type Object ¶
type Object struct { Type int32 Id int32 X int32 Y int32 Flags int32 Paths []d2common.Path Lookup *d2datadict.ObjectLookupRecord ObjectInfo *d2datadict.ObjectRecord }
Directories ¶
Path | Synopsis |
---|---|
MpqHuffman.go based on the origina CS file Authors: Foole (fooleau@gmail.com) Tim Sarbin (tim.sarbin@gmail.com) (go translation) (C) 2006 Foole (fooleau@gmail.com) Based on code from StormLib by Ladislav Zezula and ShadowFlare Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
MpqHuffman.go based on the origina CS file Authors: Foole (fooleau@gmail.com) Tim Sarbin (tim.sarbin@gmail.com) (go translation) (C) 2006 Foole (fooleau@gmail.com) Based on code from StormLib by Ladislav Zezula and ShadowFlare Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |
Click to show internal directories.
Click to hide internal directories.