C# 클래스 SharpQuake.Mod

Mod_functions
파일 보기 프로젝트 열기: Memorix101/SharpQuake

공개 메소드들

메소드 설명
ClearAll ( ) : void

Mod_ClearAll

FindName ( string name ) : model_t

Mod_FindName

ForName ( string name, bool crash ) : model_t

Mod_ForName Loads in a model for the given name

GetExtraData ( model_t mod ) : aliashdr_t

Mod_Extradata handles caching

Init ( ) : void

Mod_Init

LeafPVS ( mleaf_t leaf, model_t model ) : byte[]

Mod_LeafPVS

LoadAliasModel ( model_t mod, byte buffer ) : void

Mod_LoadAliasModel

LoadBrushModel ( model_t mod, byte buffer ) : void

Mod_LoadBrushModel

LoadModel ( model_t mod, bool crash ) : model_t

Mod_LoadModel Loads a model into the cache

LoadSpriteModel ( model_t mod, byte buffer ) : void

Mod_LoadSpriteModel

PointInLeaf ( Vector3 &p, model_t model ) : mleaf_t

Mod_PointInLeaf

Print ( ) : void
TouchModel ( string name ) : void

Mod_TouchModel

비공개 메소드들

메소드 설명
CalcSurfaceExtents ( msurface_t s ) : void

CalcSurfaceExtents Fills in s->texturemins[] and s->extents[]

DecompressVis ( byte p, int startIndex, model_t model ) : byte[]

Mod_DecompressVis

FloodFillSkin ( ByteArraySegment skin, int skinwidth, int skinheight ) : void

Mod_FloodFillSkin Fill background pixels so mipmapping doesn't have haloes - Ed

LoadAliasFrame ( ByteArraySegment pin, maliasframedesc_t &frame ) : int

Mod_LoadAliasFrame

LoadAliasGroup ( ByteArraySegment pin, maliasframedesc_t &frame ) : int

Mod_LoadAliasGroup

LoadAllSkins ( int numskins, ByteArraySegment data ) : int

Mod_LoadAllSkins

LoadClipNodes ( lump_t &l ) : void

Mod_LoadClipnodes

LoadEdges ( lump_t &l ) : void

Mod_LoadEdges

LoadEntities ( lump_t &l ) : void

Mod_LoadEntities

LoadFaces ( lump_t &l ) : void

Mod_LoadFaces

LoadLeafs ( lump_t &l ) : void

Mod_LoadLeafs

LoadLighting ( lump_t &l ) : void

Mod_LoadLighting

LoadMarkSurfaces ( lump_t &l ) : void

Mod_LoadMarksurfaces

LoadNodes ( lump_t &l ) : void

Mod_LoadNodes

LoadPlanes ( lump_t &l ) : void

Mod_LoadPlanes

LoadSpriteFrame ( ByteArraySegment pin, object &ppframe, int framenum ) : int

LoadSpriteGroup ( ByteArraySegment pin, object &ppframe, int framenum ) : int

Mod_LoadSpriteGroup

LoadSubModels ( lump_t &l ) : void

Mod_LoadSubmodels

LoadSurfEdges ( lump_t &l ) : void

Mod_LoadSurfedges

LoadTexInfo ( lump_t &l ) : void

Mod_LoadTexinfo

LoadTextures ( lump_t &l ) : void

Mod_LoadTextures

LoadVertexes ( lump_t &l ) : void

Mod_LoadVertexes

LoadVisibility ( lump_t &l ) : void

Mod_LoadVisibility

MakeHull0 ( ) : void

Mod_MakeHull0 Deplicate the drawing hull structure as a clipping hull

RadiusFromBounds ( Vector3 &mins, Vector3 &maxs ) : float
SetParent ( mnodebase_t node, mnode_t parent ) : void

Mod_SetParent

SetupSubModel ( model_t mod, dmodel_t &submodel ) : void

메소드 상세

ClearAll() 공개 정적인 메소드

Mod_ClearAll
public static ClearAll ( ) : void
리턴 void

FindName() 공개 정적인 메소드

Mod_FindName
public static FindName ( string name ) : model_t
name string
리턴 model_t

ForName() 공개 정적인 메소드

Mod_ForName Loads in a model for the given name
public static ForName ( string name, bool crash ) : model_t
name string
crash bool
리턴 model_t

GetExtraData() 공개 정적인 메소드

Mod_Extradata handles caching
public static GetExtraData ( model_t mod ) : aliashdr_t
mod model_t
리턴 aliashdr_t

Init() 공개 정적인 메소드

Mod_Init
public static Init ( ) : void
리턴 void

LeafPVS() 공개 정적인 메소드

Mod_LeafPVS
public static LeafPVS ( mleaf_t leaf, model_t model ) : byte[]
leaf mleaf_t
model model_t
리턴 byte[]

LoadAliasModel() 공개 정적인 메소드

Mod_LoadAliasModel
public static LoadAliasModel ( model_t mod, byte buffer ) : void
mod model_t
buffer byte
리턴 void

LoadBrushModel() 공개 정적인 메소드

Mod_LoadBrushModel
public static LoadBrushModel ( model_t mod, byte buffer ) : void
mod model_t
buffer byte
리턴 void

LoadModel() 공개 정적인 메소드

Mod_LoadModel Loads a model into the cache
public static LoadModel ( model_t mod, bool crash ) : model_t
mod model_t
crash bool
리턴 model_t

LoadSpriteModel() 공개 정적인 메소드

Mod_LoadSpriteModel
public static LoadSpriteModel ( model_t mod, byte buffer ) : void
mod model_t
buffer byte
리턴 void

PointInLeaf() 공개 정적인 메소드

Mod_PointInLeaf
public static PointInLeaf ( Vector3 &p, model_t model ) : mleaf_t
p Vector3
model model_t
리턴 mleaf_t

Print() 공개 정적인 메소드

public static Print ( ) : void
리턴 void

TouchModel() 공개 정적인 메소드

Mod_TouchModel
public static TouchModel ( string name ) : void
name string
리턴 void