mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Implement RE_MapVersion and RE_PrintBSPFileSizes
This commit is contained in:
parent
53565663d9
commit
25c2904d66
1 changed files with 27 additions and 3 deletions
|
@ -2434,11 +2434,35 @@ void RE_LoadWorldMap( const char *name ) {
|
||||||
|
|
||||||
int RE_MapVersion(void)
|
int RE_MapVersion(void)
|
||||||
{
|
{
|
||||||
// FIXME: unimplemented
|
return map_version;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RE_PrintBSPFileSizes(void)
|
void RE_PrintBSPFileSizes(void)
|
||||||
{
|
{
|
||||||
// FIXME: unimplemented
|
ri.Printf(PRINT_ALL, "%s: %i\n", s_worldData.name, map_length);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i models %7i\n", nummodels, 40 * nummodels);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i shaders %7i\n", numShaders, 140 * numShaders);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i brushes %7i\n", numbrushes, 12 * numbrushes);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i brushsides %7i\n", numbrushsides, 12 * numbrushsides);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i fogs %7i\n", numFogs, 72 * numFogs);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i planes %7i\n", numplanes, 16 * numplanes);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i nodes %7i\n", numnodes, 36 * numnodes);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i leafs %7i\n", numleafs, numleafs << 6);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i leafsurfaces %7i\n", numleafsurfaces, 4 * numleafsurfaces);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i drawverts %7i\n", numDrawVerts, 44 * numDrawVerts);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i drawindexes %7i\n", numDrawIndexes, 4 * numDrawIndexes);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i drawsurfaces %7i\n", numDrawSurfaces, 108 * numDrawSurfaces);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i lightdefs %7i\n", numLightDefs, 52 * numLightDefs);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i lightmaps %7i\n", numLightBytes / 49152, numLightBytes);
|
||||||
|
ri.Printf(PRINT_ALL, " visibility %7i\n", numVisBytes);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i entitylights %7i\n", numSLights, 56 * numSLights);
|
||||||
|
ri.Printf(PRINT_ALL, " entitylightvis %7i\n", entLightVisSize);
|
||||||
|
ri.Printf(PRINT_ALL, " light grid palette %7i\n", g_iGridPaletteBytes);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i light grid offsets %7i\n", g_iGridOffsets, 2 * g_iGridOffsets);
|
||||||
|
ri.Printf(PRINT_ALL, " light grid data %7i\n", g_iGridDataSize);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i terrain %7i\n", g_nTerraPatches, 388 * g_nTerraPatches);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i terrain indexes %7i\n", g_nTerPatchIndices, 2 * g_nTerPatchIndices);
|
||||||
|
ri.Printf(PRINT_ALL, " static model data %7i\n", g_nStaticModelData);
|
||||||
|
ri.Printf(PRINT_ALL, "%6i static models defs %7i\n", g_nStaticModels, 164 * g_nStaticModels);
|
||||||
|
ri.Printf(PRINT_ALL, " static model indexes %7i\n", g_nStaticModelIndices);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue