XenevaOS
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
r_data.c File Reference
#include <stdio.h>
#include "deh_main.h"
#include "i_swap.h"
#include "i_system.h"
#include "z_zone.h"
#include "w_wad.h"
#include "doomdef.h"
#include "m_misc.h"
#include "r_local.h"
#include "p_local.h"
#include "doomstat.h"
#include "r_sky.h"
#include "r_data.h"
Include dependency graph for r_data.c:

Classes

struct  PACKEDATTR
 
struct  texpatch_t
 
struct  texture_s
 

Typedefs

typedef struct texture_s texture_t
 

Functions

void R_DrawColumnInCache (column_t *patch, byte *cache, int originy, int cacheheight)
 
void R_GenerateComposite (int texnum)
 
void R_GenerateLookup (int texnum)
 
byte * R_GetColumn (int tex, int col)
 
void R_InitTextures (void)
 
void R_InitFlats (void)
 
void R_InitSpriteLumps (void)
 
void R_InitColormaps (void)
 
void R_InitData (void)
 
int R_FlatNumForName (char *name)
 
int R_CheckTextureNumForName (char *name)
 
int R_TextureNumForName (char *name)
 
void R_PrecacheLevel (void)
 

Variables

int firstflat
 
int lastflat
 
int numflats
 
int firstpatch
 
int lastpatch
 
int numpatches
 
int firstspritelump
 
int lastspritelump
 
int numspritelumps
 
int numtextures
 
texture_t ** textures
 
texture_t ** textures_hashtable
 
int * texturewidthmask
 
fixed_t * textureheight
 
int * texturecompositesize
 
short ** texturecolumnlump
 
unsigned short ** texturecolumnofs
 
byte ** texturecomposite
 
int * flattranslation
 
int * texturetranslation
 
fixed_t * spritewidth
 
fixed_t * spriteoffset
 
fixed_t * spritetopoffset
 
lighttable_t * colormaps
 
int flatmemory
 
int texturememory
 
int spritememory
 

Typedef Documentation

◆ texture_t

typedef struct texture_s texture_t

Function Documentation

◆ R_CheckTextureNumForName()

int R_CheckTextureNumForName ( char *  name)

◆ R_DrawColumnInCache()

void R_DrawColumnInCache ( column_t *  patch,
byte *  cache,
int  originy,
int  cacheheight 
)

◆ R_FlatNumForName()

int R_FlatNumForName ( char *  name)

◆ R_GenerateComposite()

void R_GenerateComposite ( int  texnum)

◆ R_GenerateLookup()

void R_GenerateLookup ( int  texnum)

◆ R_GetColumn()

byte * R_GetColumn ( int  tex,
int  col 
)

◆ R_InitColormaps()

void R_InitColormaps ( void  )

◆ R_InitData()

void R_InitData ( void  )

◆ R_InitFlats()

void R_InitFlats ( void  )

◆ R_InitSpriteLumps()

void R_InitSpriteLumps ( void  )

◆ R_InitTextures()

void R_InitTextures ( void  )

◆ R_PrecacheLevel()

void R_PrecacheLevel ( void  )

◆ R_TextureNumForName()

int R_TextureNumForName ( char *  name)

Variable Documentation

◆ colormaps

lighttable_t* colormaps

◆ firstflat

int firstflat

◆ firstpatch

int firstpatch

◆ firstspritelump

int firstspritelump

◆ flatmemory

int flatmemory

◆ flattranslation

int* flattranslation

◆ lastflat

int lastflat

◆ lastpatch

int lastpatch

◆ lastspritelump

int lastspritelump

◆ numflats

int numflats

◆ numpatches

int numpatches

◆ numspritelumps

int numspritelumps

◆ numtextures

int numtextures

◆ spritememory

int spritememory

◆ spriteoffset

fixed_t* spriteoffset

◆ spritetopoffset

fixed_t* spritetopoffset

◆ spritewidth

fixed_t* spritewidth

◆ texturecolumnlump

short** texturecolumnlump

◆ texturecolumnofs

unsigned short** texturecolumnofs

◆ texturecomposite

byte** texturecomposite

◆ texturecompositesize

int* texturecompositesize

◆ textureheight

fixed_t* textureheight

◆ texturememory

int texturememory

◆ textures

texture_t** textures

◆ textures_hashtable

texture_t** textures_hashtable

◆ texturetranslation

int* texturetranslation

◆ texturewidthmask

int* texturewidthmask