![]() |
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.
| animscene_t* model_t::animscenes |
Definition at line 465 of file model_shared.h.
Referenced by CL_UpdateNetworkEntity(), and PrintFrameName().
| model_brush_t model_t::brush |
Definition at line 541 of file model_shared.h.
Referenced by CL_RelinkWorld(), Mod_Q1BSP_RoundUpToHullSize(), Portal_RecursiveFlow(), R_Mod_GetLightInfo(), R_Q1BSP_CallRecursiveGetLightInfo(), R_Q1BSP_RecursiveGetLightInfo_BSP(), R_Shadow_PrepareModelShadows(), RSurf_ActiveModelEntity(), and SV_SpawnServer().
| model_brushq1_t model_t::brushq1 |
Definition at line 542 of file model_shared.h.
Referenced by Mod_Q1BSP_RoundUpToHullSize().
| model_brushq3_t model_t::brushq3 |
Definition at line 543 of file model_shared.h.
| bih_t model_t::collision_bih |
Definition at line 475 of file model_shared.h.
| 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.
| 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.
| aliasbone_t* model_t::data_bones |
Definition at line 483 of file model_shared.h.
| short* model_t::data_poses7s |
Definition at line 487 of file model_shared.h.
| msurface_t* model_t::data_surfaces |
Definition at line 499 of file model_shared.h.
Referenced by Mod_BSP_FindNonSolidLocation_r_Leaf(), Portal_RecursiveFlow(), R_Mod_GetLightInfo(), R_Q1BSP_RecursiveGetLightInfo_BIH(), and R_Q1BSP_RecursiveGetLightInfo_BSP().
| msurface_lightmapinfo_t* model_t::data_surfaces_lightmapinfo |
Definition at line 501 of file model_shared.h.
| aliastag_t* model_t::data_tags |
Definition at line 480 of file model_shared.h.
| texture_t* model_t::data_textures |
Definition at line 493 of file model_shared.h.
Referenced by CL_UpdateEntityShading_Entity(), 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 R_DrawModels(), 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().
| void(* model_t::DrawDebug) (struct entity_render_s *ent) |
Definition at line 517 of file model_shared.h.
Referenced by R_DrawModelsDebug().
| void(* model_t::DrawDepth) (struct entity_render_s *ent) |
Definition at line 515 of file model_shared.h.
Referenced by R_DrawModelsDepth().
| 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.
| void(* model_t::DrawPrepass) (struct entity_render_s *ent) |
Definition at line 519 of file model_shared.h.
Referenced by 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 R_Shadow_DrawEntityShadow(), R_Shadow_DrawModelShadowMaps(), 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().
| unsigned model_t::effects |
Definition at line 445 of file model_shared.h.
Referenced by CL_UpdateNetworkEntity(), and CSQC_AddRenderEdict().
| 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.
| float model_t::lightmapscale |
Definition at line 549 of file model_shared.h.
| qbool model_t::lit |
Definition at line 548 of file model_shared.h.
Referenced by CL_UpdateEntityShading_Entity().
| 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.
| const char* model_t::modeldatatypestring |
Definition at line 505 of file model_shared.h.
| 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 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(), R_View_UpdateEntityVisible(), and RSurf_ActiveModelEntity().
| qbool model_t::nolerp |
Definition at line 551 of file model_shared.h.
| 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(), 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(), and SV_PushMove().
| int model_t::num_bones |
Definition at line 482 of file model_shared.h.
| float model_t::num_poseinvscale |
Definition at line 485 of file model_shared.h.
| int model_t::num_poses |
Definition at line 486 of file model_shared.h.
| float model_t::num_posescale |
Definition at line 484 of file model_shared.h.
| int model_t::num_surfaces |
Definition at line 497 of file model_shared.h.
Referenced by R_Mod_GetLightInfo(), and R_Q1BSP_CallRecursiveGetLightInfo().
| int model_t::num_tagframes |
Definition at line 479 of file model_shared.h.
| int model_t::num_tags |
Definition at line 478 of file model_shared.h.
| int model_t::num_textures |
Definition at line 490 of file model_shared.h.
| int model_t::num_texturesperskin |
Definition at line 492 of file model_shared.h.
| int model_t::numframes |
Definition at line 447 of file model_shared.h.
Referenced by CL_UpdateNetworkEntity(), 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().
Definition at line 536 of file model_shared.h.
| float model_t::radius |
Definition at line 459 of file model_shared.h.
| float model_t::radius2 |
Definition at line 461 of file model_shared.h.
| 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 SV_PushMove().
| vec3_t model_t::rotatedmins |
Definition at line 457 of file model_shared.h.
Referenced by SV_PushMove().
| animscene_t* model_t::skinscenes |
Definition at line 463 of file model_shared.h.
| int model_t::soundfromcenter |
Definition at line 545 of file model_shared.h.
Referenced by CL_LinkNetworkEntity(), and CL_UpdateNetworkEntityTrail().
| model_sprite_t model_t::sprite |
Definition at line 540 of file model_shared.h.
Referenced by CL_UpdateEntityShading_Entity(), and R_View_UpdateEntityVisible().
| int model_t::submodelsurfaces_end |
Definition at line 468 of file model_shared.h.
Referenced by R_Shadow_DrawEntityShadow(), and R_Shadow_DrawModelShadowMaps().
| int model_t::submodelsurfaces_start |
Definition at line 467 of file model_shared.h.
Referenced by Mod_Decompile_OBJ(), R_Shadow_DrawEntityShadow(), and R_Shadow_DrawModelShadowMaps().
| surfmesh_t model_t::surfmesh |
Definition at line 503 of file model_shared.h.
Referenced by Mod_BSP_FindNonSolidLocation_r_Triangle(), Portal_RecursiveFlow(), R_Mod_GetLightInfo(), R_Q1BSP_CallRecursiveGetLightInfo(), R_Q1BSP_RecursiveGetLightInfo_BIH(), and R_Q1BSP_RecursiveGetLightInfo_BSP().
| synctype_t model_t::synctype |
Definition at line 451 of file model_shared.h.
| rtexturepool_t* model_t::texturepool |
Definition at line 443 of file model_shared.h.
| 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(), 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.
| 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().
| 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.
| 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.
| modtype_t model_t::type |
Definition at line 439 of file model_shared.h.
Referenced by CL_UpdateEntityShading_Entity(), CL_UpdateNetworkEntity(), 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 SV_PushMove().
| vec3_t model_t::yawmins |
Definition at line 455 of file model_shared.h.
Referenced by SV_PushMove().