h3m

package
v0.0.0-...-f9770cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderRoE uint32 = 14
	HeaderAB  uint32 = 21
	HeaderSOD uint32 = 28

	HeaderRoEName = "RoE"
	HeaderABName  = "AB"
	HeaderSODName = "SoD"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type H3m

type H3m struct {
	Format         string
	HasHeroOnMap   bool
	MapSize        uint32
	HasUnderground bool
	Name           string
	Description    string
	Difficulty     byte

	Players           []*models.Player
	VictoryCondition  *models.VictoryCondition
	LossCondition     *models.LoseCondition
	TeamColors        *models.TeamColors
	CustomHeroes      []*models.CustomHeroes
	Artifacts         [18]byte
	Rumors            []*models.Rumor
	Heroes            []*models.Hero
	LandMap           []models.MapTile
	UndergroundMap    []models.MapTile
	ObjectsDefinition []*models.MapObjectDefinition
}

func Load

func Load(fileName string) (*H3m, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL