Init some stuff in software renderer
This commit is contained in:
parent
ed26b6272b
commit
78c527675f
3 changed files with 11 additions and 11 deletions
|
|
@ -49,10 +49,10 @@
|
|||
size_t numspritelumps, max_spritelumps;
|
||||
|
||||
// needed for pre rendering
|
||||
sprcache_t *spritecachedinfo;
|
||||
sprcache_t *spritecachedinfo = NULL;
|
||||
|
||||
lighttable_t *colormaps;
|
||||
UINT8 *encoremap;
|
||||
lighttable_t *colormaps = NULL;
|
||||
UINT8 *encoremap = NULL;
|
||||
|
||||
// for debugging/info purposes
|
||||
size_t flatmemory, spritememory, texturememory;
|
||||
|
|
|
|||
|
|
@ -52,15 +52,15 @@ consvar_t cv_parallelsoftware = CVAR_INIT ("parallelsoftware", "On", CV_SAVE, CV
|
|||
|
||||
//SoM: 3/23/2000: Use Boom visplane hashing.
|
||||
|
||||
visplane_t *visplanes[MAXVISPLANES];
|
||||
visplane_t *visplanes[MAXVISPLANES] = {};
|
||||
static visplane_t *freetail;
|
||||
static visplane_t **freehead = &freetail;
|
||||
|
||||
visplane_t *floorplane;
|
||||
visplane_t *ceilingplane;
|
||||
|
||||
visffloor_t ffloor[MAXFFLOORS];
|
||||
INT32 numffloors;
|
||||
visffloor_t ffloor[MAXFFLOORS] ={};
|
||||
INT32 numffloors = 0;
|
||||
|
||||
//SoM: 3/23/2000: Boom visplane hashing routine.
|
||||
#define visplane_hash(picnum,lightlevel,height) \
|
||||
|
|
@ -92,7 +92,7 @@ static INT32 spanstart[MAXVIDHEIGHT];
|
|||
// (when mouselookin', yslope is moving into yslopetab)
|
||||
// Check R_SetupFrame, R_SetViewSize for more...
|
||||
fixed_t yslopetab[MAXSPLITSCREENPLAYERS][MAXVIDHEIGHT*16];
|
||||
fixed_t *yslope;
|
||||
fixed_t *yslope = NULL;
|
||||
|
||||
//
|
||||
// R_InitPlanes
|
||||
|
|
|
|||
|
|
@ -53,11 +53,11 @@ UINT32 **texturecolumnofs; // column offset lookup table for each texture
|
|||
UINT8 **texturecache; // graphics data for each generated full-size texture
|
||||
UINT8 **texturebrightmapcache; // graphics data for brightmap converted for use with a specific texture
|
||||
|
||||
INT32 *texturewidth;
|
||||
fixed_t *textureheight; // needed for texture pegging
|
||||
INT32 *texturewidth = NULL;
|
||||
fixed_t *textureheight = NULL; // needed for texture pegging
|
||||
|
||||
INT32 *texturetranslation;
|
||||
INT32 *texturebrightmaps;
|
||||
INT32 *texturetranslation = NULL;
|
||||
INT32 *texturebrightmaps = NULL;
|
||||
|
||||
INT32 g_texturenum_dbgline;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue