Documentation ¶
Index ¶
- Constants
- type BSP
- func (bsp *BSP) FindNode(x int16, y int16) (uint16, bool)
- func (bsp *BSP) FindOppositeSubSectorByHulls(subSectorId uint16, is2 *model.InputSegment, wallSectors map[uint16]bool) []*model.InputSegment
- func (bsp *BSP) FindOppositeSubSectorByPoints(subSectorId uint16, is2 *model.InputSegment, wallSectors map[uint16]bool) []*model.InputSegment
- func (bsp *BSP) FindRect(x int16, y int16) (lumps.BBox, bool)
- func (bsp *BSP) FindSector(x int16, y int16) (uint16, uint16, *lumps.Sector)
- func (bsp *BSP) FindSubSector(x int16, y int16) (uint16, bool)
- func (bsp *BSP) FindSubSectorForced(x int16, y int16) (uint16, bool)
- func (bsp *BSP) TraverseBsp(container *[]uint16, x int16, y int16, root uint16)
- type Builder
- type FooBsp
- type FooBspElement
- type Level
- type Point
- type Point3
- type QuerySegment
- type SegmentData
- type WAD
- func (w *WAD) GetFlat(flatName string) (*lumps.Flat, bool)
- func (w *WAD) GetImage(pNameNumber int16) (*lumps.Image, bool)
- func (w *WAD) GetLevel(levelName string) (*Level, error)
- func (w *WAD) GetLevels() []string
- func (w *WAD) GetTexture(name string) (*lumps.Texture, bool)
- func (w *WAD) GetTextureImage(textureName string) (*image.RGBA, error)
- func (w *WAD) Load(filename string) error
- type XY
Constants ¶
View Source
const FooBspStub = `` /* 72698-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BSP ¶
type BSP struct {
// contains filtered or unexported fields
}
func (*BSP) FindOppositeSubSectorByHulls ¶
func (bsp *BSP) FindOppositeSubSectorByHulls(subSectorId uint16, is2 *model.InputSegment, wallSectors map[uint16]bool) []*model.InputSegment
func (*BSP) FindOppositeSubSectorByPoints ¶
func (bsp *BSP) FindOppositeSubSectorByPoints(subSectorId uint16, is2 *model.InputSegment, wallSectors map[uint16]bool) []*model.InputSegment
func (*BSP) FindSector ¶
func (*BSP) FindSubSectorForced ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder() *Builder
type FooBspElement ¶
type Level ¶
type Level struct { Things []*lumps.Thing LineDefs []*lumps.LineDef SideDefs []*lumps.SideDef Vertexes []*lumps.Vertex Segments []*lumps.Seg SubSectors []*lumps.SubSector Sectors []*lumps.Sector Nodes []*lumps.Node }
func (*Level) GetSectorFromSubSector ¶
func (*Level) SegmentOppositeSideDef ¶
type QuerySegment ¶
type QuerySegment struct { Partial int Segment *model.InputSegment }
type SegmentData ¶
type WAD ¶
type WAD struct {
// contains filtered or unexported fields
}
func (*WAD) GetTextureImage ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.