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.

◆ 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.

◆ 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.

◆ 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.

◆ BoxTouchingVisibleLeafs

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

Definition at line 336 of file model_brush.h.

◆ 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

Definition at line 304 of file model_brush.h.

◆ data_brushsides

struct q3mbrushside_s* model_brush_t::data_brushsides

Definition at line 307 of file model_brush.h.

◆ data_collisionelement3i

int* model_brush_t::data_collisionelement3i

Definition at line 321 of file model_brush.h.

◆ data_collisionvertex3f

float* model_brush_t::data_collisionvertex3f

Definition at line 320 of file model_brush.h.

◆ data_leafbrushes

int* model_brush_t::data_leafbrushes

Definition at line 292 of file model_brush.h.

◆ data_leafs

mleaf_t* model_brush_t::data_leafs

◆ data_leafsurfaces

int* model_brush_t::data_leafsurfaces

Definition at line 295 of file model_brush.h.

◆ data_nodes

mnode_t* model_brush_t::data_nodes

◆ data_planes

mplane_t* model_brush_t::data_planes

Definition at line 280 of file model_brush.h.

◆ data_portalpoints

mvertex_t* model_brush_t::data_portalpoints

Definition at line 301 of file model_brush.h.

◆ data_portals

mportal_t* model_brush_t::data_portals

Definition at line 298 of file model_brush.h.

Referenced by R_Mod_GetLightInfo().

◆ data_pvsclusters

unsigned char* model_brush_t::data_pvsclusters

Definition at line 312 of file model_brush.h.

◆ entities

char* model_brush_t::entities

Definition at line 266 of file model_brush.h.

◆ 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.

◆ 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.

◆ 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.

◆ 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 R_Mod_GetLightInfo().

◆ isbsp2

qbool model_brush_t::isbsp2

Definition at line 258 of file model_brush.h.

◆ isbsp2rmqe

qbool model_brush_t::isbsp2rmqe

Definition at line 256 of file model_brush.h.

◆ ishlbsp

qbool model_brush_t::ishlbsp

Definition at line 254 of file model_brush.h.

Referenced by Mod_Q1BSP_RoundUpToHullSize(), and SV_SpawnServer().

◆ isq2bsp

qbool model_brush_t::isq2bsp

Definition at line 260 of file model_brush.h.

Referenced by CL_RelinkWorld(), and SV_SpawnServer().

◆ isq3bsp

qbool model_brush_t::isq3bsp

Definition at line 262 of file model_brush.h.

Referenced by 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)

Definition at line 338 of file model_brush.h.

◆ NativeContentsFromSuperContents

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

Definition at line 331 of file model_brush.h.

◆ num_brushes

int model_brush_t::num_brushes

Definition at line 303 of file model_brush.h.

◆ num_brushsides

int model_brush_t::num_brushsides

Definition at line 306 of file model_brush.h.

◆ 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

Definition at line 291 of file model_brush.h.

◆ num_leafs

int model_brush_t::num_leafs

Definition at line 288 of file model_brush.h.

Referenced by R_Mod_GetLightInfo(), and R_Q1BSP_CallRecursiveGetLightInfo().

◆ num_leafsurfaces

int model_brush_t::num_leafsurfaces

Definition at line 294 of file model_brush.h.

◆ num_nodes

int model_brush_t::num_nodes

Definition at line 282 of file model_brush.h.

◆ num_planes

int model_brush_t::num_planes

Definition at line 279 of file model_brush.h.

◆ num_portalpoints

int model_brush_t::num_portalpoints

Definition at line 300 of file model_brush.h.

◆ num_portals

int model_brush_t::num_portals

Definition at line 297 of file model_brush.h.

◆ num_pvsclusterbytes

int model_brush_t::num_pvsclusterbytes

Definition at line 311 of file model_brush.h.

◆ num_pvsclusters

int model_brush_t::num_pvsclusters

Definition at line 310 of file model_brush.h.

◆ num_visleafs

int model_brush_t::num_visleafs

Definition at line 286 of file model_brush.h.

◆ numsubmodels

int model_brush_t::numsubmodels

Definition at line 275 of file model_brush.h.

◆ 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)

Definition at line 340 of file model_brush.h.

◆ 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.

◆ 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.

◆ skymasking

qbool model_brush_t::skymasking

Definition at line 264 of file model_brush.h.

◆ solidskyskinframe

struct skinframe_s* model_brush_t::solidskyskinframe

Definition at line 349 of file model_brush.h.

◆ 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

Definition at line 277 of file model_brush.h.

◆ SuperContentsFromNativeContents

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

Definition at line 330 of file model_brush.h.

◆ supportwateralpha

qbool model_brush_t::supportwateralpha

Definition at line 352 of file model_brush.h.

◆ 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.


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