help

package
v0.0.0-...-a4aebfb Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Help

type Help struct {
	Entries []HelpEntry
	// contains filtered or unexported fields
}

func ReadHelp

func ReadHelp(lbxFile *lbx.LbxFile, entry int) (Help, error)

func (*Help) GetEntries

func (help *Help) GetEntries(entry int) []HelpEntry

func (*Help) GetEntriesByName

func (help *Help) GetEntriesByName(name string) []HelpEntry

func (*Help) GetRawEntry

func (help *Help) GetRawEntry(entry int) HelpEntry

type HelpEntry

type HelpEntry struct {
	// shows up on top of scroll
	Headline string
	// lbx file to pull an icon out, shown at top left of scroll
	Lbx string
	// index of sprite in the lbx file
	LbxIndex int
	// extra text to append
	AppendHelpIndex int
	// text displayed in scroll
	Text string
}

stuff from help.lbx

Jump to

Keyboard shortcuts

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