versions

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLumpForVersion

func GetLumpForVersion(bspVersion int, lumpId int) (lumps.ILump, error)

GetLumpForVersion returns an empty bsp lump for the specified bsp version and lump id If a version is not 19,20,21 then a generic lump that holds raw bytes only ([]byte) is returned.

func Getv19Lump

func Getv19Lump(index int) (lumps.ILump, error)

Getv19Lump returns the corresponding v19 lump for provided index

func Getv20Lump

func Getv20Lump(index int) (lumps.ILump, error)

Getv20Lump returns the corresponding v20 lump for provided index

func Getv21Lump

func Getv21Lump(index int) (lumps.ILump, error)

Getv21Lump returns the corresponding v21 lump for provided index

Types

This section is empty.

Jump to

Keyboard shortcuts

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