package
0.0.15
Repository: https://github.com/badvassal/wllib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
CarveBlock converts an MSQ block body into a CarvedBlock.
DecodeBlock fully decodes an MSQ block.
DecodeCentralDir parses a central directory from a sequence of bytes.
DecodeCharacter decodes a PC or NPC from a sequence of bytes.
DecodeCharItem decodes an inventory item from a sequence of bytes.
DecodeCharSkill decodes a skill from a sequence of bytes.
DecodeMapData decodes map data from a sequence of bytes.
DecodeCentralDir parses map info from a sequence of bytes.
DecodeMonsterData parses monster data from a sequence of bytes.
DecodeCentralDir parses a set of monster names from a sequence of bytes.
DecodeNPCTable parses a set of NPCs from a sequence of bytes.
DecodeShopData parses a set of shops from a sequence of bytes.
DecodeSpecialActions parses a set of special actions from a sequence of bytes.
DecodeCentralDir parses a stringsd area from a sequence of bytes.
EncodeCentralDir encodes a central directory to a byte sequence.
EncodeCharacter encodes a PC or an NPC to a byte sequence.
EncodeCharSkill encodes an inventory item to a byte sequence.
EncodeCharSkill encodes a skill to a byte sequence.
EncodeMapData encodes map data to a byte sequence.
EncodeMapInfo encodes map info to a byte sequence.
EncodeMonsterData encodes the monster data section to a byte sequence.
EncodeMonsterDataElem encodes a single element of monster data to a byte sequence.
EncodeMonsterName encodes a single monster name to a byte sequence.
EncodeMonsterName encodes a set of monster names to a byte sequence.
EncodeNPCTable encodes the NPC set to a byte sequence.
EncodeSpecialActions encodes the special actions sequence to a byte sequence.
MapDataLen calculates the size, in bytes, of a single block's map data.
No description provided by the author
ValidateMapDim ensures the provided dimensions are valid for a block map.

# Constants

These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
These constants assign priority to the pointers contained in the central directory.
CentralDirLen is the size, in bytes, of an MSQ block's central directory.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CentralDirLen is the size, in bytes, of an MSQ block's map info.
No description provided by the author
No description provided by the author
MonsterDataElemLen is the size, in bytes, of a single element of monster data (one "monster").
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CentralDirLen is the size, in bytes, of the character table at the start of a strings area.

# Structs

Block is a fully decoded MSQ block.
CarvedBlock is an MSQ block body that has been decrypted and partitioned into areas.
CentralDir represents an MSQ block's central directory.
Character represents a PC or NPC.
CharItem represents a single item in a character's inventory.
CharSkill represents a single skill learned by a character.
DecodeState is fully decoded saved game.
MapData represents the effect each tile has when the player steps on it.
MapInfo contains some properties of an MSQ block's map.
Meta contains an integer for every section in an MSQ block.
MonsterData describes all the enemies in an MSQ block.
MonsterDataElem describes a single enemy.
MonsterName describes how to string-encode a single monster type.
MonsterNames contains the name information of all monsters in an MSQ block.
NPCTable represents an MSQ block's set of NPCs.
ShopData represents an MSQ block's set of shops.
SpecialActions represents an MSQ block's set of special actions (action class 6).
StringsArea contains most of the text for a single MSQ block.