Documentation
¶
Index ¶
- type ActorAction
- type ActorDef
- type ActorInst
- type AlternateMesh
- type AlternateMeshRenderGroup
- type AlternateMeshSize6Entry
- type AlternateMeshSpritePolygon
- type AlternateMeshVertexPiece
- type AmbientLightInstance
- type Animation
- type AnimationInstance
- type AnimationTransform
- type Bitmap
- type BspTree
- type BspTreeNode
- type CacheManager
- type CameraBspNode
- type CameraBspNodeUVMapEntry
- type CameraInstance
- type DmSpriteDef2
- type Face
- type LightDef
- type LightInstance
- type MaterialDef
- type MaterialPalette
- type MeshInstance
- type MeshOp
- type Particle
- type ParticleInstance
- type PointLight
- type Region
- type RegionInstance
- type RegionWall
- type SimpleSpriteDef
- type Skeleton
- type SkeletonEntry
- type SkeletonInstance
- type Sphere
- type Sprite3DDef
- type SpriteInstance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorAction ¶
type AlternateMesh ¶
type AlternateMesh struct { Tag string Flags uint32 Fragment1Maybe int16 Material string Fragment3 uint32 CenterPosition model.Vector3 Params2 uint32 Something2 uint32 Something3 uint32 Verticies []model.Vector3 TexCoords []model.Vector3 Normals []model.Vector3 Colors []int32 Polygons []*AlternateMeshSpritePolygon VertexPieces []*AlternateMeshVertexPiece PostVertexFlag uint32 RenderGroups []*AlternateMeshRenderGroup VertexTex []model.Vector2 Size6Pieces []*AlternateMeshSize6Entry // contains filtered or unexported fields }
type AlternateMeshSize6Entry ¶
type AmbientLightInstance ¶
type Animation ¶
type Animation struct { Tag string Flags uint32 Transforms []*AnimationTransform // contains filtered or unexported fields }
type AnimationInstance ¶
type AnimationTransform ¶
type Bitmap ¶
type Bitmap struct { Tag string Textures []string SimpleSpriteDef SimpleSpriteDef SimpleSprite SpriteInstance // contains filtered or unexported fields }
Bitmap is a struct representing a material
type BspTree ¶
type BspTree struct { Tag string Nodes []*BspTreeNode // contains filtered or unexported fields }
type BspTreeNode ¶
type BspTreeNode struct { Normal model.Vector3 Distance float32 RegionTag string Front *BspTreeNode Back *BspTreeNode }
type CacheManager ¶
type CacheManager struct { FileName string GlobalAmbientLight string Version uint32 Bitmaps []*Bitmap SimpleSpriteDefs []*SimpleSpriteDef SpriteInstances []*SpriteInstance Particles []*Particle ParticleInstances []*ParticleInstance MaterialDefs []*MaterialDef MaterialPalettes []*MaterialPalette DmSpriteDef2s []*DmSpriteDef2 MeshInstances []*MeshInstance AlternateMeshes []*AlternateMesh ActorDefs []*ActorDef ActorInsts []*ActorInst Animations []*Animation AnimationInstances []*AnimationInstance Skeletons []*Skeleton SkeletonInstances []*SkeletonInstance LightDefs []*LightDef LightInstances []*LightInstance AmbientLightInstances []*AmbientLightInstance PointLights []*PointLight Sprite3DDefs []*Sprite3DDef CameraInstances []*CameraInstance BspTrees []*BspTree Regions []*Region RegionInstances []*RegionInstance Spheres []*Sphere }
func (*CacheManager) Close ¶
func (cm *CacheManager) Close()
type CameraBspNode ¶
type CameraBspNode struct { FrontTree uint32 BackTree uint32 VertexIndexes []uint32 RenderMethod string RenderFlags uint8 RenderPen uint32 RenderBrightness float32 RenderScaledAmbient float32 RenderSimpleSpriteReference uint32 RenderUVInfoOrigin [3]float32 RenderUVInfoUAxis [3]float32 RenderUVInfoVAxis [3]float32 RenderUVMapEntries []CameraBspNodeUVMapEntry }
type CameraBspNodeUVMapEntry ¶
type CameraInstance ¶
type DmSpriteDef2 ¶
type DmSpriteDef2 struct { Tag string Flags uint32 MaterialPaletteTag string DmTrackTag string Fragment3Ref int32 Fragment4Ref int32 CenterOffset [3]float32 Params2 [3]uint32 MaxDistance float32 Min [3]float32 Max [3]float32 Scale uint16 Vertices [][3]int16 UVs [][2]int16 VertexNormals [][3]int8 Colors [][4]uint8 Faces []Face FaceMaterialGroups [][2]uint16 SkinAssignmentGroups [][2]uint16 VertexMaterialGroups [][2]int16 MeshOps []MeshOp // contains filtered or unexported fields }
type LightInstance ¶
type MaterialDef ¶
type MaterialDef struct { Tag string Flags uint32 RenderMethod string RGBPen [4]uint8 Brightness float32 ScaledAmbient float32 SimpleSpriteInstTag string SimpleSpriteInstFlag uint32 Pair1 uint32 Pair2 float32 Palette MaterialPalette // contains filtered or unexported fields }
MaterialDef is a struct representing a material
type MaterialPalette ¶
type MaterialPalette struct { Tag string Flags uint32 Materials []string // contains filtered or unexported fields }
MaterialPalette is a struct representing a material palette
type MeshInstance ¶
type Particle ¶
type Particle struct { Tag string Flags uint32 SpriteTag string Unknown int32 // contains filtered or unexported fields }
Particle is also known as BlitSpriteDef
type ParticleInstance ¶
type ParticleInstance struct { Tag string Unk1 uint32 Unk2 uint32 ParticleMovement uint32 Flags uint32 //Flag 1, High Opacity, Flag 3, Follows Item SimultaneousParticles uint32 Unk6 uint32 Unk7 uint32 Unk8 uint32 Unk9 uint32 Unk10 uint32 SpawnRadius float32 SpawnAngle float32 SpawnLifespan uint32 SpawnVelocity float32 SpawnNormalZ float32 SpawnNormalX float32 SpawnNormalY float32 SpawnRate uint32 SpawnScale float32 Color model.RGBA // contains filtered or unexported fields }
type PointLight ¶ added in v1.4.118
type Region ¶
type Region struct { Tag string Flags uint32 AmbientLightRef int32 RegionVertexCount uint32 RegionProximalCount uint32 RenderVertexCount uint32 WallCount uint32 ObstacleCount uint32 CuttingObstacleCount uint32 VisibleNodeCount uint32 RegionVertices []model.Vector3 RegionProximals []model.Vector2 RenderVertices []model.Vector3 Walls []*RegionWall // contains filtered or unexported fields }
type RegionInstance ¶
type RegionWall ¶
type RegionWall struct { Flags uint32 VertexCount uint32 RenderMethod uint32 RenderFlags uint32 RenderPen uint32 RenderBrightness float32 RenderScaledAmbient float32 RenderSimpleSpriteReference uint32 RenderUVInfoOrigin model.Vector3 RenderUVInfoUAxis model.Vector3 RenderUVInfoVAxis model.Vector3 RenderUVMapEntryCount uint32 RenderUVMapEntries []model.Vector2 Normal model.Quad4 Vertices []uint32 }
type SimpleSpriteDef ¶
type SkeletonEntry ¶
type SkeletonInstance ¶
type Sprite3DDef ¶ added in v1.4.118
type SpriteInstance ¶
Click to show internal directories.
Click to hide internal directories.