![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include <model_shared.h>
Data Fields | |
void(* | AnimateVertices )(const struct model_s *RESTRICT model, const struct frameblend_s *RESTRICT frameblend, const struct skeleton_s *skeleton, float *RESTRICT vertex3f, float *RESTRICT normal3f, float *RESTRICT svector3f, float *RESTRICT tvector3f) |
animscene_t * | animscenes |
model_brush_t | brush |
model_brushq1_t | brushq1 |
model_brushq3_t | brushq3 |
bih_t | collision_bih |
void(* | CompileShadowMap )(struct entity_render_s *ent, vec3_t relativelightorigin, vec3_t relativelightdirection, float lightradius, int numsurfaces, const int *surfacelist) |
unsigned int | crc |
float * | data_baseboneposeinverse |
aliasbone_t * | data_bones |
short * | data_poses7s |
msurface_t * | data_surfaces |
msurface_lightmapinfo_t * | data_surfaces_lightmapinfo |
aliastag_t * | data_tags |
texture_t * | data_textures |
void(* | Draw )(struct entity_render_s *ent) |
void(* | DrawAddWaterPlanes )(struct entity_render_s *ent) |
void(* | DrawDebug )(struct entity_render_s *ent) |
void(* | DrawDepth )(struct entity_render_s *ent) |
void(* | DrawLight )(struct entity_render_s *ent, int numsurfaces, const int *surfacelist, const unsigned char *trispvs) |
void(* | DrawPrepass )(struct entity_render_s *ent) |
void(* | DrawShadowMap )(int side, struct entity_render_s *ent, const vec3_t relativelightorigin, const vec3_t relativelightdirection, float lightradius, int numsurfaces, const int *surfacelist, const unsigned char *surfacesides, const vec3_t lightmins, const vec3_t lightmaxs) |
void(* | DrawSky )(struct entity_render_s *ent) |
unsigned | effects |
int | firstmodelbrush |
void(* | GetLightInfo )(struct entity_render_s *ent, vec3_t relativelightorigin, float lightradius, vec3_t outmins, vec3_t outmaxs, int *outleaflist, unsigned char *outleafpvs, int *outnumleafspointer, int *outsurfacelist, unsigned char *outsurfacepvs, int *outnumsurfacespointer, unsigned char *outshadowtrispvs, unsigned char *outlighttrispvs, unsigned char *visitingleafpvs, int numfrustumplanes, const mplane_t *frustumplanes, qbool noocclusion) |
float | lightmapscale |
qbool | lit |
qbool | loaded |
int | max_surfaces |
int | max_textures |
struct mempool_s * | mempool |
const char * | modeldatatypestring |
int * | modelsurfaces_sorted |
surface indices of model in an optimal draw order (submodelindex -> texture -> lightmap -> index) | |
char | name [MAX_QPATH] |
qbool | nolerp |
vec3_t | normalmaxs |
vec3_t | normalmins |
int | num_bones |
float | num_poseinvscale |
int | num_poses |
float | num_posescale |
int | num_surfaces |
int | num_tagframes |
int | num_tags |
int | num_textures |
int | num_texturesperskin |
int | numframes |
int | nummodelbrushes |
int | numskins |
int(* | PointSuperContents )(struct model_s *model, int frame, const vec3_t point) |
float | radius |
float | radius2 |
bih_t | render_bih |
vec3_t | rotatedmaxs |
vec3_t | rotatedmins |
animscene_t * | skinscenes |
int | soundfromcenter |
model_sprite_t | sprite |
int | submodelsurfaces_end |
int | submodelsurfaces_start |
surfmesh_t | surfmesh |
synctype_t | synctype |
rtexturepool_t * | texturepool |
void(* | TraceBox )(struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, const vec3_t boxmins, const vec3_t boxmaxs, const vec3_t end, int hitsupercontentsmask, int skipsupercontentsmask, int skipmaterialflagsmask) |
void(* | TraceBrush )(struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, struct colbrushf_s *start, struct colbrushf_s *end, int hitsupercontentsmask, int skipsupercontentsmask, int skipmaterialflagsmask) |
void(* | TraceLine )(struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, const vec3_t end, int hitsupercontentsmask, int skipsupercontentsmask, int skipmaterialflagsmask) |
void(* | TraceLineAgainstSurfaces )(struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, const vec3_t end, int hitsupercontentsmask, int skipsupercontentsmask, int skipmaterialflagsmask) |
void(* | TracePoint )(struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, int hitsupercontentsmask, int skipsupercontentsmask, int skipmaterialflagsmask) |
modtype_t | type |
qbool | used |
qbool | wantnormals |
qbool | wanttangents |
vec3_t | yawmaxs |
vec3_t | yawmins |
Definition at line 428 of file model_shared.h.
void(* model_t::AnimateVertices) (const struct model_s *RESTRICT model, const struct frameblend_s *RESTRICT frameblend, const struct skeleton_s *skeleton, float *RESTRICT vertex3f, float *RESTRICT normal3f, float *RESTRICT svector3f, float *RESTRICT tvector3f) |
Definition at line 507 of file model_shared.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_Alias_MorphMesh_CompileFrames(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
animscene_t* model_t::animscenes |
Definition at line 465 of file model_shared.h.
Referenced by CL_UpdateNetworkEntity(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_MDL_LoadFrames(), Mod_PSKMODEL_Load(), Mod_Sprite_SharedSetup(), Mod_ZYMOTICMODEL_Load(), and PrintFrameName().
model_brush_t model_t::brush |
Definition at line 541 of file model_shared.h.
Referenced by CL_RelinkWorld(), CL_UpdateEntityShading_Entity(), Mod_BSP_FinalizePortals(), Mod_BSP_LoadNodes_RecursiveSetParent(), Mod_BSP_LoadSubmodels(), Mod_BSP_MakePortals(), Mod_Decompile_OBJ(), Mod_LoadTextureFromQ3Shader(), Mod_OBJ_Load(), Mod_Q1BSP_CheckWaterAlphaSupport(), Mod_Q1BSP_Load(), Mod_Q1BSP_LoadClipnodes(), Mod_Q1BSP_LoadEdges(), Mod_Q1BSP_LoadEntities(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadLeaffaces(), Mod_Q1BSP_LoadLeafs(), Mod_Q1BSP_LoadLighting(), Mod_Q1BSP_LoadMapBrushes(), Mod_Q1BSP_LoadNodes(), Mod_Q1BSP_LoadPlanes(), Mod_Q1BSP_LoadSplitSky(), Mod_Q1BSP_LoadTextures(), Mod_Q1BSP_MakeHull0(), Mod_Q1BSP_ParseWadsFromEntityLump(), Mod_Q1BSP_RoundUpToHullSize(), Mod_Q2BSP_Load(), Mod_Q2BSP_LoadBrushes(), Mod_Q2BSP_LoadBrushSides(), Mod_Q2BSP_LoadLeafBrushes(), Mod_Q2BSP_LoadLeafs(), Mod_Q2BSP_LoadNodes(), Mod_Q2BSP_LoadVisibility(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadBrushes(), Mod_Q3BSP_LoadBrushSides(), Mod_Q3BSP_LoadBrushSides_IG(), Mod_Q3BSP_LoadEffects(), Mod_Q3BSP_LoadEntities(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadLeafBrushes(), Mod_Q3BSP_LoadLeafFaces(), Mod_Q3BSP_LoadLeafs(), Mod_Q3BSP_LoadModels(), Mod_Q3BSP_LoadNodes(), Mod_Q3BSP_LoadPlanes(), Mod_Q3BSP_LoadPVS(), Mod_Q3BSP_RecursiveFindNumLeafs(), Mod_VBSP_LoadEntities(), Mod_VBSP_LoadFaces(), Mod_VBSP_LoadPlanes(), Portal_RecursiveFlow(), R_CompleteLightPoint(), R_DrawParticles(), R_DrawTextureSurfaceList_Sky(), R_Main_ResizeViewCache(), R_Mod_GetLightInfo(), R_Q1BSP_CallRecursiveGetLightInfo(), R_Q1BSP_RecursiveGetLightInfo_BSP(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_PrepareLight(), R_Shadow_PrepareLights(), R_Shadow_PrepareModelShadows(), R_SkySphere(), R_SkyStartFrame(), R_Stain(), R_TimeReport_EndFrame(), R_View_UpdateEntityVisible(), R_Water_AddWaterPlane(), R_Water_ProcessPlanes(), RSurf_ActiveModelEntity(), and SV_SpawnServer().
model_brushq1_t model_t::brushq1 |
Definition at line 542 of file model_shared.h.
Referenced by Mod_BSP_FinalizePortals(), Mod_BSP_LoadSubmodels(), Mod_BSP_MakePortals(), Mod_Q1BSP_LoadClipnodes(), Mod_Q1BSP_LoadEdges(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadLeafs(), Mod_Q1BSP_LoadLighting(), Mod_Q1BSP_LoadSurfedges(), Mod_Q1BSP_LoadTexinfo(), Mod_Q1BSP_LoadVertexes(), Mod_Q1BSP_LoadVisibility(), Mod_Q1BSP_MakeHull0(), Mod_Q1BSP_RoundUpToHullSize(), Mod_Q2BSP_LoadBrushSides(), Mod_Q2BSP_LoadLighting(), Mod_Q2BSP_LoadTexinfo(), Mod_Q2BSP_LoadVisibility(), Mod_VBSP_LoadEdges(), Mod_VBSP_LoadFaces(), Mod_VBSP_LoadSurfedges(), Mod_VBSP_LoadTexinfo(), Mod_VBSP_LoadVertexes(), and R_Stain().
model_brushq3_t model_t::brushq3 |
Definition at line 543 of file model_shared.h.
Referenced by CL_UpdateEntityShading_Entity(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadLighting(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadEffects(), Mod_Q3BSP_LoadEntities(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadLightGrid(), Mod_Q3BSP_LoadLightmaps(), Mod_Q3BSP_LoadModels(), Mod_Q3BSP_LoadTriangles(), Mod_Q3BSP_LoadVertices(), Mod_VBSP_LoadFaces(), and R_SetupShader_Surface().
bih_t model_t::collision_bih |
Definition at line 475 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
void(* model_t::CompileShadowMap) (struct entity_render_s *ent, vec3_t relativelightorigin, vec3_t relativelightdirection, float lightradius, int numsurfaces, const int *surfacelist) |
Definition at line 521 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
unsigned int model_t::crc |
Definition at line 437 of file model_shared.h.
float* model_t::data_baseboneposeinverse |
Definition at line 488 of file model_shared.h.
Referenced by Mod_BuildBaseBonePoses(), Mod_DARKPLACESMODEL_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
aliasbone_t* model_t::data_bones |
Definition at line 483 of file model_shared.h.
Referenced by Mod_BuildBaseBonePoses(), Mod_DARKPLACESMODEL_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
short* model_t::data_poses7s |
Definition at line 487 of file model_shared.h.
Referenced by Mod_BuildBaseBonePoses(), Mod_DARKPLACESMODEL_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
msurface_t* model_t::data_surfaces |
Definition at line 499 of file model_shared.h.
Referenced by Mod_BSP_FindNonSolidLocation_r_Leaf(), Mod_BSP_LoadNodes_RecursiveSetParent(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), Mod_ZYMOTICMODEL_Load(), Portal_RecursiveFlow(), R_Mod_GetLightInfo(), R_Q1BSP_RecursiveGetLightInfo_BIH(), R_Q1BSP_RecursiveGetLightInfo_BSP(), and R_Shadow_DrawLightShadowMaps().
msurface_lightmapinfo_t* model_t::data_surfaces_lightmapinfo |
Definition at line 501 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadFaces(), and Mod_VBSP_LoadFaces().
aliastag_t* model_t::data_tags |
Definition at line 480 of file model_shared.h.
Referenced by Mod_IDP3_Load().
texture_t* model_t::data_textures |
Definition at line 493 of file model_shared.h.
Referenced by CL_UpdateEntityShading_Entity(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadTexinfo(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadBrushSides(), Mod_Q2BSP_LoadTexinfo(), Mod_Q3BSP_LoadBrushes(), Mod_Q3BSP_LoadBrushSides(), Mod_Q3BSP_LoadBrushSides_IG(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadTextures(), Mod_Sprite_SharedSetup(), Mod_VBSP_LoadFaces(), Mod_VBSP_LoadTexinfo(), Mod_ZYMOTICMODEL_Load(), R_ListWorldTextures_f(), and R_ReplaceWorldTexture_f().
void(* model_t::Draw) (struct entity_render_s *ent) |
Definition at line 513 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), R_DrawModels(), R_RenderScene(), and SV_Viewmodel_f().
void(* model_t::DrawAddWaterPlanes) (struct entity_render_s *ent) |
Definition at line 511 of file model_shared.h.
Referenced by R_DrawModelsAddWaterPlanes(), and R_RenderWaterPlanes().
void(* model_t::DrawDebug) (struct entity_render_s *ent) |
Definition at line 517 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), R_DrawModelsDebug(), and R_RenderScene().
void(* model_t::DrawDepth) (struct entity_render_s *ent) |
Definition at line 515 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), R_DrawModelsDepth(), and R_RenderScene().
void(* model_t::DrawLight) (struct entity_render_s *ent, int numsurfaces, const int *surfacelist, const unsigned char *trispvs) |
Definition at line 527 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), and R_Shadow_DrawWorldLight().
void(* model_t::DrawPrepass) (struct entity_render_s *ent) |
Definition at line 519 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), and R_Shadow_DrawPrepass().
void(* model_t::DrawShadowMap) (int side, struct entity_render_s *ent, const vec3_t relativelightorigin, const vec3_t relativelightdirection, float lightradius, int numsurfaces, const int *surfacelist, const unsigned char *surfacesides, const vec3_t lightmins, const vec3_t lightmaxs) |
Definition at line 523 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), R_Shadow_DrawEntityShadow(), R_Shadow_DrawModelShadowMaps(), R_Shadow_DrawWorldShadow_ShadowMap(), and R_Shadow_PrepareModelShadows().
void(* model_t::DrawSky) (struct entity_render_s *ent) |
Definition at line 509 of file model_shared.h.
Referenced by R_DrawBrushModelsSky(), and R_RenderScene().
unsigned model_t::effects |
Definition at line 445 of file model_shared.h.
Referenced by CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), Mod_IDP0_Load(), and Mod_IDP3_Load().
int model_t::firstmodelbrush |
Definition at line 472 of file model_shared.h.
void(* model_t::GetLightInfo) (struct entity_render_s *ent, vec3_t relativelightorigin, float lightradius, vec3_t outmins, vec3_t outmaxs, int *outleaflist, unsigned char *outleafpvs, int *outnumleafspointer, int *outsurfacelist, unsigned char *outsurfacepvs, int *outnumsurfacespointer, unsigned char *outshadowtrispvs, unsigned char *outlighttrispvs, unsigned char *visitingleafpvs, int numfrustumplanes, const mplane_t *frustumplanes, qbool noocclusion) |
Definition at line 525 of file model_shared.h.
Referenced by Mod_OBJ_Load(), and R_Shadow_PrepareLight().
float model_t::lightmapscale |
Definition at line 549 of file model_shared.h.
Referenced by Mod_Q3BSP_Load(), and R_UpdateVariables().
qbool model_t::lit |
Definition at line 548 of file model_shared.h.
Referenced by CL_UpdateEntityShading_Entity(), Mod_Q1BSP_LoadFaces(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadVertices(), Mod_VBSP_LoadFaces(), and R_CompleteLightPoint().
qbool model_t::loaded |
Definition at line 433 of file model_shared.h.
Referenced by SV_Viewmodel_f(), and VM_CL_precache_model().
int model_t::max_surfaces |
Definition at line 498 of file model_shared.h.
int model_t::max_textures |
Definition at line 491 of file model_shared.h.
struct mempool_s* model_t::mempool |
Definition at line 441 of file model_shared.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_Alias_MorphMesh_CompileFrames(), Mod_BSP_FinalizePortals(), Mod_BSP_LoadSubmodels(), Mod_BSP_MakePortals(), Mod_BSP_RecursiveNodePortals(), Mod_BuildAliasSkinsFromSkinFiles(), Mod_DARKPLACESMODEL_Load(), Mod_GenerateLightmaps_CreateLightmaps(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_LoadSkinFiles(), Mod_MakeCollisionBIH(), Mod_MakeSortedSurfaces(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_Load(), Mod_Q1BSP_LoadClipnodes(), Mod_Q1BSP_LoadEdges(), Mod_Q1BSP_LoadEntities(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadLeaffaces(), Mod_Q1BSP_LoadLeafs(), Mod_Q1BSP_LoadLighting(), Mod_Q1BSP_LoadMapBrushes(), Mod_Q1BSP_LoadNodes(), Mod_Q1BSP_LoadPlanes(), Mod_Q1BSP_LoadSurfedges(), Mod_Q1BSP_LoadTexinfo(), Mod_Q1BSP_LoadTextures(), Mod_Q1BSP_LoadVertexes(), Mod_Q1BSP_LoadVisibility(), Mod_Q1BSP_MakeHull0(), Mod_Q2BSP_Load(), Mod_Q2BSP_LoadBrushes(), Mod_Q2BSP_LoadBrushSides(), Mod_Q2BSP_LoadLeafBrushes(), Mod_Q2BSP_LoadLeafs(), Mod_Q2BSP_LoadLighting(), Mod_Q2BSP_LoadNodes(), Mod_Q2BSP_LoadTexinfo(), Mod_Q2BSP_LoadVisibility(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadBrushes(), Mod_Q3BSP_LoadBrushSides(), Mod_Q3BSP_LoadBrushSides_IG(), Mod_Q3BSP_LoadEffects(), Mod_Q3BSP_LoadEntities(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadLeafBrushes(), Mod_Q3BSP_LoadLeafFaces(), Mod_Q3BSP_LoadLeafs(), Mod_Q3BSP_LoadLightGrid(), Mod_Q3BSP_LoadLightmaps(), Mod_Q3BSP_LoadModels(), Mod_Q3BSP_LoadNodes(), Mod_Q3BSP_LoadPlanes(), Mod_Q3BSP_LoadPVS(), Mod_Q3BSP_LoadTextures(), Mod_Q3BSP_LoadTriangles(), Mod_Q3BSP_LoadVertices(), Mod_Sprite_SharedSetup(), Mod_SpriteSetupTexture(), Mod_VBSP_LoadEdges(), Mod_VBSP_LoadEntities(), Mod_VBSP_LoadFaces(), Mod_VBSP_LoadPlanes(), Mod_VBSP_LoadSurfedges(), Mod_VBSP_LoadTexinfo(), Mod_VBSP_LoadVertexes(), and Mod_ZYMOTICMODEL_Load().
const char* model_t::modeldatatypestring |
Definition at line 505 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
int* model_t::modelsurfaces_sorted |
surface indices of model in an optimal draw order (submodelindex -> texture -> lightmap -> index)
Definition at line 470 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), R_Shadow_DrawEntityShadow(), and R_Shadow_DrawModelShadowMaps().
char model_t::name[MAX_QPATH] |
Definition at line 431 of file model_shared.h.
Referenced by CL_PrintEntities_f(), CL_UpdateNetworkCollisionEntities(), Mod_BSP_DecompressVis(), Mod_BSP_LoadSubmodels(), Mod_BuildAliasSkinsFromSkinFiles(), Mod_BuildVBOs(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_LoadSkinFiles(), Mod_MDL_LoadFrames(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_Load(), Mod_Q1BSP_LoadClipnodes(), Mod_Q1BSP_LoadEdges(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadLeaffaces(), Mod_Q1BSP_LoadLeafs(), Mod_Q1BSP_LoadLighting(), Mod_Q1BSP_LoadMapBrushes(), Mod_Q1BSP_LoadNodes(), Mod_Q1BSP_LoadPlanes(), Mod_Q1BSP_LoadSurfedges(), Mod_Q1BSP_LoadTexinfo(), Mod_Q1BSP_LoadTextures(), Mod_Q1BSP_LoadVertexes(), Mod_Q2BSP_Load(), Mod_Q2BSP_LoadBrushes(), Mod_Q2BSP_LoadBrushSides(), Mod_Q2BSP_LoadLeafBrushes(), Mod_Q2BSP_LoadLeafs(), Mod_Q2BSP_LoadNodes(), Mod_Q2BSP_LoadTexinfo(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadBrushes(), Mod_Q3BSP_LoadBrushSides(), Mod_Q3BSP_LoadBrushSides_IG(), Mod_Q3BSP_LoadEffects(), Mod_Q3BSP_LoadEntities(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadLeafBrushes(), Mod_Q3BSP_LoadLeafFaces(), Mod_Q3BSP_LoadLeafs(), Mod_Q3BSP_LoadLightGrid(), Mod_Q3BSP_LoadLightmaps(), Mod_Q3BSP_LoadModels(), Mod_Q3BSP_LoadNodes(), Mod_Q3BSP_LoadPlanes(), Mod_Q3BSP_LoadPVS(), Mod_Q3BSP_LoadTextures(), Mod_Q3BSP_LoadTriangles(), Mod_Q3BSP_LoadVertices(), Mod_Sprite_SharedSetup(), Mod_VBSP_LoadEdges(), Mod_VBSP_LoadFaces(), Mod_VBSP_LoadPlanes(), Mod_VBSP_LoadSurfedges(), Mod_VBSP_LoadTexinfo(), Mod_VBSP_LoadVertexes(), Mod_ZYMOTICMODEL_Load(), R_View_UpdateEntityVisible(), and RSurf_ActiveModelEntity().
qbool model_t::nolerp |
Definition at line 551 of file model_shared.h.
Referenced by Mod_IDP0_Load().
vec3_t model_t::normalmaxs |
Definition at line 453 of file model_shared.h.
Referenced by CL_LinkNetworkEntity(), CL_MeshEntities_Scene_FinalizeRenderEntity(), CL_SelectTraceLine(), CL_UpdateNetworkEntityTrail(), Mod_Alias_CalculateBoundingBox(), Mod_DARKPLACESMODEL_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_Sprite_SharedSetup(), Mod_ZYMOTICMODEL_Load(), R_Shadow_BounceGrid_UpdateSpacing(), and SV_PushMove().
vec3_t model_t::normalmins |
Definition at line 453 of file model_shared.h.
Referenced by CL_LinkNetworkEntity(), CL_MeshEntities_Scene_FinalizeRenderEntity(), CL_SelectTraceLine(), CL_UpdateNetworkEntityTrail(), Mod_Alias_CalculateBoundingBox(), Mod_DARKPLACESMODEL_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_Sprite_SharedSetup(), Mod_ZYMOTICMODEL_Load(), R_Shadow_BounceGrid_UpdateSpacing(), and SV_PushMove().
int model_t::num_bones |
Definition at line 482 of file model_shared.h.
Referenced by Mod_BuildBaseBonePoses(), Mod_DARKPLACESMODEL_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
float model_t::num_poseinvscale |
Definition at line 485 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
int model_t::num_poses |
Definition at line 486 of file model_shared.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
float model_t::num_posescale |
Definition at line 484 of file model_shared.h.
Referenced by Mod_BuildBaseBonePoses(), Mod_DARKPLACESMODEL_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
int model_t::num_surfaces |
Definition at line 497 of file model_shared.h.
Referenced by Mod_BuildAliasSkinsFromSkinFiles(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadLeaffaces(), Mod_Q2BSP_Load(), Mod_Q2BSP_LoadNodes(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadLeafFaces(), Mod_Q3BSP_LoadModels(), Mod_VBSP_LoadFaces(), Mod_ZYMOTICMODEL_Load(), R_Main_ResizeViewCache(), R_Mod_GetLightInfo(), R_Q1BSP_CallRecursiveGetLightInfo(), R_Shadow_PrepareLights(), and RSurf_DrawBatch().
int model_t::num_tagframes |
Definition at line 479 of file model_shared.h.
Referenced by Mod_IDP3_Load().
int model_t::num_tags |
Definition at line 478 of file model_shared.h.
Referenced by Mod_IDP3_Load().
int model_t::num_textures |
Definition at line 490 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_LoadTexinfo(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), Mod_Q3BSP_LoadBrushes(), Mod_Q3BSP_LoadBrushSides(), Mod_Q3BSP_LoadBrushSides_IG(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadTextures(), Mod_Sprite_SharedSetup(), Mod_VBSP_LoadTexinfo(), and Mod_ZYMOTICMODEL_Load().
int model_t::num_texturesperskin |
Definition at line 492 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_LoadTextures(), Mod_Q2BSP_LoadTexinfo(), Mod_Q3BSP_LoadTextures(), Mod_Sprite_SharedSetup(), and Mod_ZYMOTICMODEL_Load().
int model_t::numframes |
Definition at line 447 of file model_shared.h.
Referenced by CL_UpdateNetworkEntity(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_MDL_LoadFrames(), Mod_PSKMODEL_Load(), Mod_Sprite_SharedSetup(), Mod_ZYMOTICMODEL_Load(), SV_Viewframe_f(), and SV_Viewnext_f().
int model_t::nummodelbrushes |
Definition at line 473 of file model_shared.h.
int model_t::numskins |
Definition at line 449 of file model_shared.h.
Referenced by CL_UpdateNetworkEntity(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_LoadSkinFiles(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
Definition at line 536 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
float model_t::radius |
Definition at line 459 of file model_shared.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_DARKPLACESMODEL_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_Sprite_SharedSetup(), Mod_ZYMOTICMODEL_Load(), and R_UpdateVariables().
float model_t::radius2 |
Definition at line 461 of file model_shared.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_DARKPLACESMODEL_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_Sprite_SharedSetup(), and Mod_ZYMOTICMODEL_Load().
bih_t model_t::render_bih |
Definition at line 476 of file model_shared.h.
Referenced by R_Q1BSP_CallRecursiveGetLightInfo().
vec3_t model_t::rotatedmaxs |
Definition at line 457 of file model_shared.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_DARKPLACESMODEL_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_Sprite_SharedSetup(), Mod_ZYMOTICMODEL_Load(), and SV_PushMove().
vec3_t model_t::rotatedmins |
Definition at line 457 of file model_shared.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_DARKPLACESMODEL_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_Sprite_SharedSetup(), Mod_ZYMOTICMODEL_Load(), and SV_PushMove().
animscene_t* model_t::skinscenes |
Definition at line 463 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
int model_t::soundfromcenter |
Definition at line 545 of file model_shared.h.
Referenced by CL_LinkNetworkEntity(), CL_UpdateNetworkEntityTrail(), and Mod_OBJ_Load().
model_sprite_t model_t::sprite |
Definition at line 540 of file model_shared.h.
Referenced by CL_UpdateEntityShading_Entity(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_Sprite_SharedSetup(), and R_View_UpdateEntityVisible().
int model_t::submodelsurfaces_end |
Definition at line 468 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), R_Shadow_DrawEntityShadow(), and R_Shadow_DrawModelShadowMaps().
int model_t::submodelsurfaces_start |
Definition at line 467 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_Decompile_OBJ(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), R_Shadow_DrawEntityShadow(), and R_Shadow_DrawModelShadowMaps().
surfmesh_t model_t::surfmesh |
Definition at line 503 of file model_shared.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_Alias_MorphMesh_CompileFrames(), Mod_AllocSurfMesh(), Mod_BSP_FindNonSolidLocation_r_Triangle(), Mod_BuildVBOs(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_MDL_LoadFrames(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q2BSP_Load(), Mod_Q3BSP_Load(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), Mod_ZYMOTICMODEL_Load(), Portal_RecursiveFlow(), R_Mod_GetLightInfo(), R_Q1BSP_CallRecursiveGetLightInfo(), R_Q1BSP_RecursiveGetLightInfo_BIH(), R_Q1BSP_RecursiveGetLightInfo_BSP(), R_Shadow_PrepareLight(), R_Shadow_PrepareLights(), and RSurf_DrawBatch().
synctype_t model_t::synctype |
Definition at line 451 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
rtexturepool_t* model_t::texturepool |
Definition at line 443 of file model_shared.h.
Referenced by Mod_Q1BSP_LoadFaces(), Mod_Q1BSP_LoadSplitSky(), Mod_Q3BSP_LoadLightGrid(), Mod_Q3BSP_LoadLightmaps(), and Mod_VBSP_LoadFaces().
void(* model_t::TraceBox) (struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, const vec3_t boxmins, const vec3_t boxmaxs, const vec3_t end, int hitsupercontentsmask, int skipsupercontentsmask, int skipmaterialflagsmask) |
Definition at line 529 of file model_shared.h.
Referenced by CL_UpdateNetworkCollisionEntities(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), PHYS_NudgeOutOfSolid(), and SV_SpawnServer().
void(* model_t::TraceBrush) (struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, struct colbrushf_s *start, struct colbrushf_s *end, int hitsupercontentsmask, int skipsupercontentsmask, int skipmaterialflagsmask) |
Definition at line 530 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
void(* model_t::TraceLine) (struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, const vec3_t end, int hitsupercontentsmask, int skipsupercontentsmask, int skipmaterialflagsmask) |
Definition at line 532 of file model_shared.h.
Referenced by CL_SelectTraceLine(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
void(* model_t::TraceLineAgainstSurfaces) (struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, const vec3_t end, int hitsupercontentsmask, int skipsupercontentsmask, int skipmaterialflagsmask) |
Definition at line 538 of file model_shared.h.
Referenced by Mod_OBJ_Load().
void(* model_t::TracePoint) (struct model_s *model, const struct frameblend_s *frameblend, const struct skeleton_s *skeleton, struct trace_s *trace, const vec3_t start, int hitsupercontentsmask, int skipsupercontentsmask, int skipmaterialflagsmask) |
Definition at line 534 of file model_shared.h.
Referenced by Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), and Mod_ZYMOTICMODEL_Load().
modtype_t model_t::type |
Definition at line 439 of file model_shared.h.
Referenced by CL_UpdateEntityShading_Entity(), CL_UpdateNetworkEntity(), Mod_DARKPLACESMODEL_Load(), Mod_IDP0_Load(), Mod_IDP2_Load(), Mod_IDP3_Load(), Mod_IDS2_Load(), Mod_IDSP_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_ZYMOTICMODEL_Load(), and R_View_UpdateEntityVisible().
qbool model_t::used |
Definition at line 435 of file model_shared.h.
Referenced by SV_SpawnServer().
qbool model_t::wantnormals |
Definition at line 494 of file model_shared.h.
qbool model_t::wanttangents |
Definition at line 495 of file model_shared.h.
vec3_t model_t::yawmaxs |
Definition at line 455 of file model_shared.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_DARKPLACESMODEL_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_Sprite_SharedSetup(), Mod_ZYMOTICMODEL_Load(), and SV_PushMove().
vec3_t model_t::yawmins |
Definition at line 455 of file model_shared.h.
Referenced by Mod_Alias_CalculateBoundingBox(), Mod_DARKPLACESMODEL_Load(), Mod_IDS2_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_Sprite_SharedSetup(), Mod_ZYMOTICMODEL_Load(), and SV_PushMove().