elitecore

package
v0.0.0-...-b4d8f81 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NumGalaxies         = 8
	NumGalaxiesMask     = 0x07
	NumSystemsPerGalaxy = 256
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Galaxy

type Galaxy struct {
	Systems []SystemInfo
}

func GenerateGalaxy

func GenerateGalaxy(num int) Galaxy

type MarketItem

type MarketItem struct {
	// contains filtered or unexported fields
}

type MarketUnitType

type MarketUnitType int
const (
	UNIT_T  MarketUnitType = 0
	UNIT_KG MarketUnitType = 1
	UNIT_G  MarketUnitType = 2
)

type PlanetSeed

type PlanetSeed struct {
	// contains filtered or unexported fields
}

func NewPlanetSeed

func NewPlanetSeed(w0, w1, w2 uint16) PlanetSeed

type RNGSeed

type RNGSeed struct {
	// contains filtered or unexported fields
}

func NewRNGSeed

func NewRNGSeed(a, b, c, d uint8) RNGSeed

func (*RNGSeed) GenRnd

func (s *RNGSeed) GenRnd() uint32

type SystemInfo

type SystemInfo struct {
	X              int
	Y              int
	Economy        int
	Govtype        int
	Techlev        int
	Population     int
	Productivity   int
	Radius         int
	Name           string
	Description    string
	InhabitantDesc string
}

Jump to

Keyboard shortcuts

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