Documentation ¶
Overview ¶
Package d2common provides common stuff for all of the other high-level packages in the codebase
Directories ¶
Path | Synopsis |
---|---|
Package d2cache provides a generic caching implementation
|
Package d2cache provides a generic caching implementation |
Package d2calculation contains code for calculation nodes.
|
Package d2calculation contains code for calculation nodes. |
d2lexer
Package d2lexer contains the code for tokenizing calculation strings.
|
Package d2lexer contains the code for tokenizing calculation strings. |
d2parser
Package d2parser contains the code for parsing calculation strings.
|
Package d2parser contains the code for parsing calculation strings. |
Package d2data provides file compression utilities, video decoders, and file loaders for the txt files inside of diablo's mpq files
|
Package d2data provides file compression utilities, video decoders, and file loaders for the txt files inside of diablo's mpq files |
d2compression
Package d2compression is used for decompressing WAV files.
|
Package d2compression is used for decompressing WAV files. |
d2video
Package d2video provides a bink video decoder
|
Package d2video provides a bink video decoder |
Package d2datautils is a utility package that provides helper functions/classes for parsing the original diablo2 files.
|
Package d2datautils is a utility package that provides helper functions/classes for parsing the original diablo2 files. |
Package d2enum provides enumerations used throughout the OpenDiablo2 codebase.
|
Package d2enum provides enumerations used throughout the OpenDiablo2 codebase. |
d2fileformats
|
|
d2animdata
Package d2animdata provides a file parser for AnimData files.
|
Package d2animdata provides a file parser for AnimData files. |
d2cof
Package d2cof contains the logic for loading and processing COF files.
|
Package d2cof contains the logic for loading and processing COF files. |
d2dat
Package d2dat contains the logic for loading and processing DAT files.
|
Package d2dat contains the logic for loading and processing DAT files. |
d2dc6
Package d2dc6 contains the logic for loading and processing DC6 files.
|
Package d2dc6 contains the logic for loading and processing DC6 files. |
d2dcc
Package d2dcc contains the logic for loading and processing DCC files.
|
Package d2dcc contains the logic for loading and processing DCC files. |
d2ds1
Package d2ds1 provides functionality for loading/processing DS1 Files
|
Package d2ds1 provides functionality for loading/processing DS1 Files |
d2dt1
Package d2dt1 provides functionality for loading/processing DT1 files.
|
Package d2dt1 provides functionality for loading/processing DT1 files. |
d2font
Package d2font contains logic for loading and processing d2 fonts
|
Package d2font contains logic for loading and processing d2 fonts |
d2font/d2fontglyph
Package d2fontglyph represents a single font glyph
|
Package d2fontglyph represents a single font glyph |
d2mpq
Package d2mpq contains the functions for handling MPQ files.
|
Package d2mpq contains the functions for handling MPQ files. |
d2pl2
Package d2pl2 handles processing of PL2 palette files.
|
Package d2pl2 handles processing of PL2 palette files. |
d2tbl
Package d2tbl provides a file parser for tbl string table files
|
Package d2tbl provides a file parser for tbl string table files |
d2txt
Package d2txt provides a parser implementation for diablo TSV data files
|
Package d2txt provides a parser implementation for diablo TSV data files |
Package d2geom is a utility package for anything related to geometry
|
Package d2geom is a utility package for anything related to geometry |
Package d2interface defines interfaces for the OpenDiablo2 engine
|
Package d2interface defines interfaces for the OpenDiablo2 engine |
Package d2loader provides a file loader which works in terms of `Source`s and `Asset`s.
|
Package d2loader provides a file loader which works in terms of `Source`s and `Asset`s. |
asset
Package asset provides interfaces for Asset and Source
|
Package asset provides interfaces for Asset and Source |
asset/types
Package types provides an enumeration of Asset and Source types, as well as some utility functions
|
Package types provides an enumeration of Asset and Source types, as well as some utility functions |
filesystem
Package filesystem provides a filesystem Asset and Source implementation for d2loader
|
Package filesystem provides a filesystem Asset and Source implementation for d2loader |
mpq
Package mpq provides an MPQ Asset and Source implementation for d2loader
|
Package mpq provides an MPQ Asset and Source implementation for d2loader |
Package d2math provides mathematical functions not included in Golang's standard math library.
|
Package d2math provides mathematical functions not included in Golang's standard math library. |
d2vector
Package d2vector provides an implementation of a 2D Euclidean vector using float64 to store the two values.
|
Package d2vector provides an implementation of a 2D Euclidean vector using float64 to store the two values. |
Package d2path is a utility package for functionality related to map entity pathing
|
Package d2path is a utility package for functionality related to map entity pathing |
Package d2resource stores the paths of the resources inside the mpq files.
|
Package d2resource stores the paths of the resources inside the mpq files. |
Package d2util is a utility package for general-purpose functions used frequently throughout the codebase.
|
Package d2util is a utility package for general-purpose functions used frequently throughout the codebase. |
assets
Package assets provides files for use by the debug utils
|
Package assets provides files for use by the debug utils |
Click to show internal directories.
Click to hide internal directories.