DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
model_brush_t Struct Reference

#include <model_brush.h>

+ Collaboration diagram for model_brush_t:

Data Fields

struct skinframe_s * alphaskyskinframe
 
void(* AmbientSoundLevelsForPoint )(struct model_s *model, const vec3_t p, unsigned char *out, int outsize)
 
int(* BoxTouchingLeafPVS )(struct model_s *model, const unsigned char *pvs, const vec3_t mins, const vec3_t maxs)
 
int(* BoxTouchingPVS )(struct model_s *model, const unsigned char *pvs, const vec3_t mins, const vec3_t maxs)
 
int(* BoxTouchingVisibleLeafs )(struct model_s *model, const unsigned char *visibleleafs, const vec3_t mins, const vec3_t maxs)
 
struct shadowmesh_s * collisionmesh
 
struct q3mbrush_s * data_brushes
 
struct q3mbrushside_s * data_brushsides
 
intdata_collisionelement3i
 
floatdata_collisionvertex3f
 
intdata_leafbrushes
 
mleaf_tdata_leafs
 
intdata_leafsurfaces
 
mnode_tdata_nodes
 
mplane_tdata_planes
 
mvertex_tdata_portalpoints
 
mportal_tdata_portals
 
unsigned char * data_pvsclusters
 
char * entities
 
size_t(* FatPVS )(struct model_s *model, const vec3_t org, vec_t radius, unsigned char **pvsbuffer, mempool_t *pool, qbool merge)
 
int(* FindBoxClusters )(struct model_s *model, const vec3_t mins, const vec3_t maxs, int maxclusters, int *clusterlist)
 
void(* FindNonSolidLocation )(struct model_s *model, const vec3_t in, vec3_t out, vec_t radius)
 
unsigned char *(* GetPVS )(struct model_s *model, const vec3_t p)
 
qbool isbsp2
 
qbool isbsp2rmqe
 
qbool ishlbsp
 
qbool isq2bsp
 
qbool isq3bsp
 
void(* LightPoint )(struct model_s *model, const vec3_t p, vec3_t ambientcolor, vec3_t diffusecolor, vec3_t diffusenormal)
 
int(* NativeContentsFromSuperContents )(int supercontents)
 
int num_brushes
 
int num_brushsides
 
int num_collisiontriangles
 
int num_collisionvertices
 
int num_leafbrushes
 
int num_leafs
 
int num_leafsurfaces
 
int num_nodes
 
int num_planes
 
int num_portalpoints
 
int num_portals
 
int num_pvsclusterbytes
 
int num_pvsclusters
 
int num_visleafs
 
int numsubmodels
 
struct model_s * parentmodel
 
mleaf_t *(* PointInLeaf )(struct model_s *model, const vec3_t p)
 
int qw_md4sum
 
int qw_md4sum2
 
void(* RoundUpToHullSize )(struct model_s *cmodel, const vec3_t inmins, const vec3_t inmaxs, vec3_t outmins, vec3_t outmaxs)
 
struct shadowmesh_s * shadowmesh
 
char skybox [MAX_QPATH]
 
qbool skymasking
 
struct skinframe_s * solidskyskinframe
 
int submodel
 
struct model_s ** submodels
 
int(* SuperContentsFromNativeContents )(int nativecontents)
 
qbool supportwateralpha
 
qbool(* TraceLineOfSight )(struct model_s *model, const vec3_t start, const vec3_t end, const vec3_t acceptmins, const vec3_t acceptmaxs)
 

Detailed Description

Definition at line 251 of file model_brush.h.

Field Documentation

◆ alphaskyskinframe

struct skinframe_s* model_brush_t::alphaskyskinframe

Definition at line 350 of file model_brush.h.

Referenced by Mod_Q1BSP_LoadSplitSky(), and R_SkySphere().

◆ AmbientSoundLevelsForPoint

void(* model_brush_t::AmbientSoundLevelsForPoint) (struct model_s *model, const vec3_t p, unsigned char *out, int outsize)

Definition at line 342 of file model_brush.h.

Referenced by Mod_OBJ_Load().

◆ BoxTouchingLeafPVS

int(* model_brush_t::BoxTouchingLeafPVS) (struct model_s *model, const unsigned char *pvs, const vec3_t mins, const vec3_t maxs)

Definition at line 335 of file model_brush.h.

Referenced by Mod_OBJ_Load(), and R_Shadow_PrepareLight().

◆ BoxTouchingPVS

int(* model_brush_t::BoxTouchingPVS) (struct model_s *model, const unsigned char *pvs, const vec3_t mins, const vec3_t maxs)

Definition at line 334 of file model_brush.h.

Referenced by Mod_OBJ_Load().

◆ BoxTouchingVisibleLeafs

int(* model_brush_t::BoxTouchingVisibleLeafs) (struct model_s *model, const unsigned char *visibleleafs, const vec3_t mins, const vec3_t maxs)

◆ collisionmesh

struct shadowmesh_s* model_brush_t::collisionmesh

Definition at line 327 of file model_brush.h.

◆ data_brushes

struct q3mbrush_s* model_brush_t::data_brushes

◆ data_brushsides

struct q3mbrushside_s* model_brush_t::data_brushsides

◆ data_collisionelement3i

int* model_brush_t::data_collisionelement3i

Definition at line 321 of file model_brush.h.

Referenced by Mod_Q3BSP_LoadFaces().

◆ data_collisionvertex3f

float* model_brush_t::data_collisionvertex3f

Definition at line 320 of file model_brush.h.

Referenced by Mod_Q3BSP_LoadFaces().

◆ data_leafbrushes

int* model_brush_t::data_leafbrushes

◆ data_leafs

◆ data_leafsurfaces

◆ data_nodes

◆ data_planes

◆ data_portalpoints

mvertex_t* model_brush_t::data_portalpoints

Definition at line 301 of file model_brush.h.

Referenced by Mod_BSP_FinalizePortals().

◆ data_portals

mportal_t* model_brush_t::data_portals

Definition at line 298 of file model_brush.h.

Referenced by Mod_BSP_FinalizePortals(), and R_Mod_GetLightInfo().

◆ data_pvsclusters

unsigned char* model_brush_t::data_pvsclusters

◆ entities

char* model_brush_t::entities

◆ FatPVS

size_t(* model_brush_t::FatPVS) (struct model_s *model, const vec3_t org, vec_t radius, unsigned char **pvsbuffer, mempool_t *pool, qbool merge)

Definition at line 333 of file model_brush.h.

Referenced by Mod_OBJ_Load(), R_Water_AddWaterPlane(), and R_Water_ProcessPlanes().

◆ FindBoxClusters

int(* model_brush_t::FindBoxClusters) (struct model_s *model, const vec3_t mins, const vec3_t maxs, int maxclusters, int *clusterlist)

Definition at line 337 of file model_brush.h.

Referenced by Mod_OBJ_Load().

◆ FindNonSolidLocation

void(* model_brush_t::FindNonSolidLocation) (struct model_s *model, const vec3_t in, vec3_t out, vec_t radius)

Definition at line 339 of file model_brush.h.

Referenced by Mod_OBJ_Load().

◆ GetPVS

unsigned char *(* model_brush_t::GetPVS) (struct model_s *model, const vec3_t p)

Definition at line 332 of file model_brush.h.

Referenced by Mod_OBJ_Load(), and R_Mod_GetLightInfo().

◆ isbsp2

◆ isbsp2rmqe

qbool model_brush_t::isbsp2rmqe

Definition at line 256 of file model_brush.h.

Referenced by Mod_Q1BSP_LoadLeafs(), and Mod_Q1BSP_LoadNodes().

◆ ishlbsp

◆ isq2bsp

qbool model_brush_t::isq2bsp

◆ isq3bsp

qbool model_brush_t::isq3bsp

Definition at line 262 of file model_brush.h.

Referenced by R_DrawTextureSurfaceList_Sky(), and SV_SpawnServer().

◆ LightPoint

void(* model_brush_t::LightPoint) (struct model_s *model, const vec3_t p, vec3_t ambientcolor, vec3_t diffusecolor, vec3_t diffusenormal)

◆ NativeContentsFromSuperContents

int(* model_brush_t::NativeContentsFromSuperContents) (int supercontents)

Definition at line 331 of file model_brush.h.

Referenced by Mod_OBJ_Load().

◆ num_brushes

◆ num_brushsides

◆ num_collisiontriangles

int model_brush_t::num_collisiontriangles

Definition at line 319 of file model_brush.h.

◆ num_collisionvertices

int model_brush_t::num_collisionvertices

Definition at line 318 of file model_brush.h.

◆ num_leafbrushes

int model_brush_t::num_leafbrushes

◆ num_leafs

◆ num_leafsurfaces

◆ num_nodes

◆ num_planes

◆ num_portalpoints

int model_brush_t::num_portalpoints

Definition at line 300 of file model_brush.h.

Referenced by Mod_BSP_FinalizePortals().

◆ num_portals

int model_brush_t::num_portals

◆ num_pvsclusterbytes

◆ num_pvsclusters

int model_brush_t::num_pvsclusters

◆ num_visleafs

int model_brush_t::num_visleafs

Definition at line 286 of file model_brush.h.

Referenced by Mod_OBJ_Load().

◆ numsubmodels

◆ parentmodel

struct model_s* model_brush_t::parentmodel

Definition at line 269 of file model_brush.h.

◆ PointInLeaf

mleaf_t *(* model_brush_t::PointInLeaf) (struct model_s *model, const vec3_t p)

◆ qw_md4sum

int model_brush_t::qw_md4sum

Definition at line 355 of file model_brush.h.

◆ qw_md4sum2

int model_brush_t::qw_md4sum2

Definition at line 356 of file model_brush.h.

◆ RoundUpToHullSize

void(* model_brush_t::RoundUpToHullSize) (struct model_s *cmodel, const vec3_t inmins, const vec3_t inmaxs, vec3_t outmins, vec3_t outmaxs)

Definition at line 343 of file model_brush.h.

Referenced by Mod_OBJ_Load().

◆ shadowmesh

struct shadowmesh_s* model_brush_t::shadowmesh

Definition at line 324 of file model_brush.h.

◆ skybox

char model_brush_t::skybox[MAX_QPATH]

Definition at line 347 of file model_brush.h.

Referenced by Mod_LoadTextureFromQ3Shader().

◆ skymasking

qbool model_brush_t::skymasking

Definition at line 264 of file model_brush.h.

Referenced by R_DrawTextureSurfaceList_Sky().

◆ solidskyskinframe

struct skinframe_s* model_brush_t::solidskyskinframe

Definition at line 349 of file model_brush.h.

Referenced by Mod_Q1BSP_LoadSplitSky(), R_SkySphere(), and R_SkyStartFrame().

◆ submodel

int model_brush_t::submodel

Definition at line 271 of file model_brush.h.

Referenced by R_Shadow_PrepareModelShadows(), and RSurf_ActiveModelEntity().

◆ submodels

struct model_s** model_brush_t::submodels

◆ SuperContentsFromNativeContents

int(* model_brush_t::SuperContentsFromNativeContents) (int nativecontents)

Definition at line 330 of file model_brush.h.

Referenced by Mod_OBJ_Load().

◆ supportwateralpha

qbool model_brush_t::supportwateralpha

Definition at line 352 of file model_brush.h.

Referenced by Mod_OBJ_Load(), Mod_Q1BSP_Load(), Mod_Q2BSP_Load(), and Mod_Q3BSP_Load().

◆ TraceLineOfSight

qbool(* model_brush_t::TraceLineOfSight) (struct model_s *model, const vec3_t start, const vec3_t end, const vec3_t acceptmins, const vec3_t acceptmaxs)

Definition at line 345 of file model_brush.h.

Referenced by Mod_OBJ_Load().


The documentation for this struct was generated from the following file: