02 Dec 2016

This commit is contained in:
g-cont 2016-12-02 00:00:00 +03:00 committed by Alibek Omarov
parent 39542ce469
commit 20e4094086
3 changed files with 7 additions and 2 deletions

View File

@ -106,8 +106,8 @@ BRUSH MODELS
#define LUMP_LIGHTVECS 0 // deluxemap data
#define LUMP_FACEINFO 1 // landscape and lightmap resolution info
#define LUMP_VERTNORMALS 2 // phong shaded vertex normals
#define LUMP_CUBEMAPS 3 // cubemap description
#define LUMP_CUBEMAPS 2 // cubemap description
#define LUMP_VERTNORMALS 3 // phong shaded vertex normals
#define LUMP_LEAF_LIGHTING 4 // contain compressed light cubes per empty leafs
#define LUMP_WORLDLIGHTS 5 // list of all the virtual and real lights (used to relight models in-game)
#define LUMP_COLLISION 6 // physics engine collision hull dump

View File

@ -1312,6 +1312,10 @@ void R_DrawWaterSurfaces( void )
if( cl.refdef.movevars->wateralpha >= 1.0f )
return;
// restore worldmodel
RI.currententity = clgame.entities;
RI.currentmodel = RI.currententity->model;
// go back to the world matrix
R_LoadIdentity();

View File

@ -161,6 +161,7 @@ void Mod_PrintBSPFileSizes_f( void )
Msg( "=== Total BSP file data space used: %s ===\n", Q_memprint( totalmemory ));
Msg( "World size ( %g %g %g ) units\n", world.size[0], world.size[1], world.size[2] );
Msg( "Supports transparency world water: %s\n", world.water_alpha ? "Yes" : "No" );
Msg( "original name: ^1%s\n", worldmodel->name );
Msg( "internal name: %s\n", (world.message[0]) ? va( "^2%s", world.message ) : "none" );
}