C# Class SharpQuake.Mod

Mod_functions
Afficher le fichier Open project: Memorix101/SharpQuake

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ClearAll() public static méthode

Mod_ClearAll
public static ClearAll ( ) : void
Résultat void

FindName() public static méthode

Mod_FindName
public static FindName ( string name ) : model_t
name string
Résultat model_t

ForName() public static méthode

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

GetExtraData() public static méthode

Mod_Extradata handles caching
public static GetExtraData ( model_t mod ) : aliashdr_t
mod model_t
Résultat aliashdr_t

Init() public static méthode

Mod_Init
public static Init ( ) : void
Résultat void

LeafPVS() public static méthode

Mod_LeafPVS
public static LeafPVS ( mleaf_t leaf, model_t model ) : byte[]
leaf mleaf_t
model model_t
Résultat byte[]

LoadAliasModel() public static méthode

Mod_LoadAliasModel
public static LoadAliasModel ( model_t mod, byte buffer ) : void
mod model_t
buffer byte
Résultat void

LoadBrushModel() public static méthode

Mod_LoadBrushModel
public static LoadBrushModel ( model_t mod, byte buffer ) : void
mod model_t
buffer byte
Résultat void

LoadModel() public static méthode

Mod_LoadModel Loads a model into the cache
public static LoadModel ( model_t mod, bool crash ) : model_t
mod model_t
crash bool
Résultat model_t

LoadSpriteModel() public static méthode

Mod_LoadSpriteModel
public static LoadSpriteModel ( model_t mod, byte buffer ) : void
mod model_t
buffer byte
Résultat void

PointInLeaf() public static méthode

Mod_PointInLeaf
public static PointInLeaf ( Vector3 &p, model_t model ) : mleaf_t
p Vector3
model model_t
Résultat mleaf_t

Print() public static méthode

public static Print ( ) : void
Résultat void

TouchModel() public static méthode

Mod_TouchModel
public static TouchModel ( string name ) : void
name string
Résultat void