Go to the source code of this file.
Classes | |
| struct | mvertex_t |
| struct | mmodel_t |
| struct | medge_t |
| struct | mtexinfo_s |
| struct | vkpoly_s |
| struct | msurface_s |
| struct | mnode_s |
| struct | mleaf_s |
| struct | model_s |
Macros | |
| #define | SIDE_FRONT 0 |
| #define | SIDE_BACK 1 |
| #define | SIDE_ON 2 |
| #define | SURF_PLANEBACK 2 |
| #define | SURF_DRAWSKY 4 |
| #define | SURF_DRAWTURB 0x10 |
| #define | SURF_DRAWBACKGROUND 0x40 |
| #define | SURF_UNDERWATER 0x80 |
| #define | VERTEXSIZE 7 |
Typedefs | |
| typedef struct mtexinfo_s | mtexinfo_t |
| typedef struct vkpoly_s | vkpoly_t |
| typedef struct msurface_s | msurface_t |
| typedef struct mnode_s | mnode_t |
| typedef struct mleaf_s | mleaf_t |
| typedef struct model_s | model_t |
Enumerations | |
| enum | modtype_t { mod_bad, mod_brush, mod_sprite, mod_alias, mod_bad, mod_brush, mod_sprite, mod_alias, mod_bad, mod_brush, mod_sprite, mod_alias } |
Functions | |
| void | Mod_Init (void) |
| model_t * | Mod_ForName (char *name, qboolean crash) |
| mleaf_t * | Mod_PointInLeaf (float *p, model_t *model) |
| byte * | Mod_ClusterPVS (int cluster, model_t *model) |
| void | Mod_Modellist_f (void) |
| void * | Hunk_Begin (int maxsize) |
| void * | Hunk_Alloc (int size) |
| int | Hunk_End (void) |
| void | Hunk_Free (void *base) |
| void | Mod_FreeAll (void) |
| void | Mod_Free (model_t *mod) |
| #define SIDE_BACK 1 |
Definition at line 59 of file vk_model.h.
| #define SIDE_FRONT 0 |
Definition at line 58 of file vk_model.h.
| #define SIDE_ON 2 |
Definition at line 60 of file vk_model.h.
| #define SURF_DRAWBACKGROUND 0x40 |
Definition at line 66 of file vk_model.h.
| #define SURF_DRAWSKY 4 |
Definition at line 64 of file vk_model.h.
| #define SURF_DRAWTURB 0x10 |
Definition at line 65 of file vk_model.h.
| #define SURF_PLANEBACK 2 |
Definition at line 63 of file vk_model.h.
| #define SURF_UNDERWATER 0x80 |
Definition at line 67 of file vk_model.h.
| #define VERTEXSIZE 7 |
Definition at line 85 of file vk_model.h.
| typedef struct msurface_s msurface_t |
| typedef struct mtexinfo_s mtexinfo_t |
| enum modtype_t |
| Enumerator | |
|---|---|
| mod_bad | |
| mod_brush | |
| mod_sprite | |
| mod_alias | |
| mod_bad | |
| mod_brush | |
| mod_sprite | |
| mod_alias | |
| mod_bad | |
| mod_brush | |
| mod_sprite | |
| mod_alias | |
Definition at line 173 of file vk_model.h.
Definition at line 57 of file q_shwin.c.
Referenced by GL_BuildPolygonFromSurface(), Mod_LoadAliasModel(), Mod_LoadEdges(), Mod_LoadFaces(), Mod_LoadLeafs(), Mod_LoadLighting(), Mod_LoadMarksurfaces(), Mod_LoadNodes(), Mod_LoadPlanes(), Mod_LoadRighting(), Mod_LoadSpriteModel(), Mod_LoadSubmodels(), Mod_LoadSurfedges(), Mod_LoadTexinfo(), Mod_LoadVertexes(), Mod_LoadVisibility(), SubdividePolygon(), and Vk_BuildPolygonFromSurface().
Definition at line 90 of file r_model.c.
Referenced by R_BeginRegistration(), and R_RegisterModel().
Definition at line 1313 of file r_model.c.
Referenced by Mod_FreeAll(), R_BeginRegistration(), and R_EndRegistration().