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.
Click to show internal directories.
Click to hide internal directories.