map9

package
v0.0.0-...-fedefab Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package map9 provides tools to access the information on areas in map-files within ARC-archives of Grim Dawn

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Areas

func Areas(path string) iter.Seq[Area]

Areas takes a path to ARC-archive, looks for map-files inside the archive and parses areas from the files, returning an iterator over the areas. It does nothing in case of appeared errors.

Types

type Area

type Area interface {
	// Name should return name of the area. It is supposed to never return
	// empty string.
	Name() string

	// Width should return width of the area. It is supposed to never
	// return zero.
	Width() uint32

	// Height should return height of the area. It is supposed to never
	// return zero.
	Height() uint32
}

Area is an abstract type of areas within map-files of Grim Dawn

Jump to

Keyboard shortcuts

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