This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
|
|
Definition at line 208 of file l_bsp_hl.h. |
|
|
Definition at line 206 of file l_bsp_hl.h. |
|
|
Definition at line 207 of file l_bsp_hl.h. |
|
|
Definition at line 205 of file l_bsp_hl.h. |
|
|
Definition at line 234 of file l_bsp_hl.h. |
|
|
Definition at line 233 of file l_bsp_hl.h. |
|
|
Definition at line 56 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 145 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 147 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 149 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 150 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 148 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 152 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 151 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 138 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 142 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 144 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 143 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 141 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 139 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 154 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 140 of file l_bsp_hl.h. Referenced by HL_CreateBrushes_r(), and HL_SolidTree_r(). |
|
|
Definition at line 81 of file l_bsp_hl.h. |
|
|
Definition at line 74 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 77 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 65 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 72 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 75 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 73 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 76 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 79 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 70 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 66 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 78 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 71 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 67 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 68 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 69 of file l_bsp_hl.h. Referenced by HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
|
Definition at line 27 of file l_bsp_hl.h. |
|
|
Definition at line 33 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 39 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 28 of file l_bsp_hl.h. |
|
|
Definition at line 29 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 36 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 24 of file l_bsp_hl.h. |
|
|
Definition at line 34 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 43 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 37 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 42 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 26 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 32 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 31 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 46 of file l_bsp_hl.h. |
|
|
Definition at line 40 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 38 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 41 of file l_bsp_hl.h. |
|
|
Definition at line 35 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 44 of file l_bsp_hl.h. Referenced by HL_AllocMaxBSP(), and HL_LoadBSPFile(). |
|
|
Definition at line 57 of file l_bsp_hl.h. |
|
|
Definition at line 50 of file l_bsp_hl.h. |
|
|
Definition at line 51 of file l_bsp_hl.h. |
|
|
Definition at line 189 of file l_bsp_hl.h. |
|
|
Definition at line 104 of file l_bsp_hl.h. |
|
|
Definition at line 210 of file l_bsp_hl.h. |
|
|
Definition at line 125 of file l_bsp_hl.h. |
|
|
Definition at line 126 of file l_bsp_hl.h. |
|
|
Definition at line 127 of file l_bsp_hl.h. |
|
|
Definition at line 120 of file l_bsp_hl.h. Referenced by PointInSolid_r(), and TraceLine_r(). |
|
|
Definition at line 121 of file l_bsp_hl.h. Referenced by PointInSolid_r(), and TraceLine_r(). |
|
|
Definition at line 122 of file l_bsp_hl.h. Referenced by PointInSolid_r(), and TraceLine_r(). |
|
|
Definition at line 180 of file l_bsp_hl.h. |
|
|
Referenced by HL_TextureBrushes(). |
|
|
Referenced by HL_AllocMaxBSP(), HL_LoadBSPFile(), and HL_WriteBSPFile(). |
|
||||||||||||
|
Definition at line 245 of file l_bsp_hl.c. Referenced by HL_LoadBSPFile(). 00246 {
00247 int checksum = 0;
00248
00249 while( bytes-- )
00250 checksum = (checksum << 4) ^ *((char *)buffer)++;
00251
00252 return checksum;
00253 }
|
|
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 260 of file l_bsp_hl.c. References byte, hl_numleafs, and j. 00261 {
00262 int j;
00263 int rep;
00264 int visrow;
00265 byte *dest_p;
00266
00267 dest_p = dest;
00268 visrow = (hl_numleafs + 7)>>3;
00269
00270 for (j=0 ; j<visrow ; j++)
00271 {
00272 *dest_p++ = vis[j];
00273 if (vis[j])
00274 continue;
00275
00276 rep = 1;
00277 for ( j++; j<visrow ; j++)
00278 if (vis[j] || rep == 255)
00279 break;
00280 else
00281 rep++;
00282 *dest_p++ = rep;
00283 j--;
00284 }
00285
00286 return dest_p - dest;
00287 }
|
|
||||||||||||
|
Definition at line 295 of file l_bsp_hl.c. References byte, c, hl_numleafs, and in. 00296 {
00297 int c;
00298 byte *out;
00299 int row;
00300
00301 row = (hl_numleafs+7)>>3;
00302 out = decompressed;
00303
00304 do
00305 {
00306 if (*in)
00307 {
00308 *out++ = *in++;
00309 continue;
00310 }
00311
00312 c = in[1];
00313 in += 2;
00314 while (c)
00315 {
00316 *out++ = 0;
00317 c--;
00318 }
00319 } while (out - decompressed < row);
00320 }
|
|
|
Definition at line 169 of file l_bsp_hl.c. References FreeMemory(), hl_allocatedbspmem, hl_dclipnodes, hl_dedges, hl_dentdata, hl_dfaces, hl_dleafs, hl_dlightdata, hl_dmarksurfaces, hl_dmodels, hl_dnodes, hl_dplanes, hl_dsurfedges, hl_dtexdata, hl_dvertexes, hl_dvisdata, hl_entdatasize, hl_lightdatasize, hl_numclipnodes, hl_numedges, hl_numfaces, hl_numleafs, hl_nummarksurfaces, hl_nummodels, hl_numnodes, hl_numplanes, hl_numsurfedges, hl_numtexinfo, hl_numvertexes, hl_texdatasize, hl_texinfo, hl_visdatasize, Log_Print(), and PrintMemorySize(). Referenced by LoadMapFromBSP(). 00170 {
00171 //models
00172 hl_nummodels = 0;
00173 FreeMemory(hl_dmodels);
00174 hl_dmodels = NULL;
00175 //visibility
00176 hl_visdatasize = 0;
00177 FreeMemory(hl_dvisdata);
00178 hl_dvisdata = NULL;
00179 //light data
00180 hl_lightdatasize = 0;
00181 FreeMemory(hl_dlightdata);
00182 hl_dlightdata = NULL;
00183 //texture data
00184 hl_texdatasize = 0;
00185 FreeMemory(hl_dtexdata);
00186 hl_dtexdata = NULL;
00187 //entities
00188 hl_entdatasize = 0;
00189 FreeMemory(hl_dentdata);
00190 hl_dentdata = NULL;
00191 //leaves
00192 hl_numleafs = 0;
00193 FreeMemory(hl_dleafs);
00194 hl_dleafs = NULL;
00195 //planes
00196 hl_numplanes = 0;
00197 FreeMemory(hl_dplanes);
00198 hl_dplanes = NULL;
00199 //vertexes
00200 hl_numvertexes = 0;
00201 FreeMemory(hl_dvertexes);
00202 hl_dvertexes = NULL;
00203 //nodes
00204 hl_numnodes = 0;
00205 FreeMemory(hl_dnodes);
00206 hl_dnodes = NULL;
00207 //texture info
00208 hl_numtexinfo = 0;
00209 FreeMemory(hl_texinfo);
00210 hl_texinfo = NULL;
00211 //faces
00212 hl_numfaces = 0;
00213 FreeMemory(hl_dfaces);
00214 hl_dfaces = NULL;
00215 //clip nodes
00216 hl_numclipnodes = 0;
00217 FreeMemory(hl_dclipnodes);
00218 hl_dclipnodes = NULL;
00219 //edges
00220 hl_numedges = 0;
00221 FreeMemory(hl_dedges);
00222 hl_dedges = NULL;
00223 //mark surfaces
00224 hl_nummarksurfaces = 0;
00225 FreeMemory(hl_dmarksurfaces);
00226 hl_dmarksurfaces = NULL;
00227 //surface edges
00228 hl_numsurfedges = 0;
00229 FreeMemory(hl_dsurfedges);
00230 hl_dsurfedges = NULL;
00231 //
00232 Log_Print("freed ");
00233 PrintMemorySize(hl_allocatedbspmem);
00234 Log_Print(" of BSP memory\n");
00235 hl_allocatedbspmem = 0;
00236 } //end of the function HL_FreeMaxBSP
|
Here is the call graph for this function:

|
||||||||||||||||