loader

package
v0.5.1-0...-f3d9953 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Unlicense Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadMap

func LoadMap(fs filesystem.IFileSystem, file *bsp.Bsp) scene.IScene

LoadMap is the gateway into loading the core static level. Entities are loaded elsewhere It loads in the following order: BSP Geometry BSP Materials StaticProps (materials loaded as required)

func LoadSky

func LoadSky(materialName string, fs filesystem.IFileSystem) *model.Model

LoadSky loads the skymaterial cubemap. The materialname is normally obtained from the worldspawn entity

func LoadStaticProps

func LoadStaticProps(propLump *game.StaticPropLump, fs filesystem.IFileSystem) []model.StaticProp

LoadStaticProps GetFile all staticprops referenced in a bsp's game lump

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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