lvlobj

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnergyWeaponMaxTemperature is the maximum value possible for heat.
	EnergyWeaponMaxTemperature = 100
	// EnergyWeaponMaxEnergy is the maximum value for energy.
	// The original source does not explicitly state this value, it has been determined by looking at
	// a savegame with the energy set to max. A closely related number in the source is
	// in the macro "mfd_charge_units_per_pixel", which scales to 69.
	EnergyWeaponMaxEnergy = 59
)

Variables

This section is empty.

Functions

func CyberspaceExtra

func CyberspaceExtra(triple object.Triple, data []byte) *interpreters.Instance

CyberspaceExtra returns an interpreter instance that handles the level object extra data of the specified object - in cybperspace.

func ForCyberspace

func ForCyberspace(triple object.Triple, data []byte) *interpreters.Instance

ForCyberspace returns an interpreter instance that handles the level class data of the specified object - in cyberspace.

func ForRealWorld

func ForRealWorld(triple object.Triple, data []byte) *interpreters.Instance

ForRealWorld returns an interpreter instance that handles the level class data of the specified object - in real world.

func RealWorldExtra

func RealWorldExtra(triple object.Triple, data []byte) *interpreters.Instance

RealWorldExtra returns an interpreter instance that handles the level object extra data of the specified object - in real world.

Types

type InterpreterFactory

type InterpreterFactory func(object.Triple, []byte) *interpreters.Instance

InterpreterFactory returns an interpreter instance according to a specific object triple.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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