Searched refs:NUM_BLOCK_SURFS (Results 1 – 9 of 9) sorted by relevance
31 #define NUM_BLOCK_SURFS 32 macro94 rgba_t light_block[NUM_BLOCK_SURFS][BLOCK_WIDTH * BLOCK_HEIGHT];95 bool block_changed[NUM_BLOCK_SURFS];96 surfcache_t* light_chain[NUM_BLOCK_SURFS];99 rgba_t add_block[NUM_BLOCK_SURFS][BLOCK_WIDTH * BLOCK_HEIGHT];100 bool add_changed[NUM_BLOCK_SURFS];101 surfcache_t* add_chain[NUM_BLOCK_SURFS];
72 glGenTextures(NUM_BLOCK_SURFS, lmap_id); in GenerateTextures()73 glGenTextures(NUM_BLOCK_SURFS, addmap_id); in GenerateTextures()121 glDeleteTextures(NUM_BLOCK_SURFS, lmap_id); in DeleteTextures()122 glDeleteTextures(NUM_BLOCK_SURFS, addmap_id); in DeleteTextures()
283 LPDIRECT3DTEXTURE9 light_surf[NUM_BLOCK_SURFS];286 LPDIRECT3DTEXTURE9 add_surf[NUM_BLOCK_SURFS];
1177 for (int i = 0; i < NUM_BLOCK_SURFS; i++) in FlushCaches()1201 for (i = 0; i < NUM_BLOCK_SURFS; i++) in FlushOldCaches()1239 for (i = 0; i < NUM_BLOCK_SURFS; i++) in AllocBlock()1285 for (i = 0; i < NUM_BLOCK_SURFS; i++) in AllocBlock()
151 for (lb = 0; lb < NUM_BLOCK_SURFS; lb++) in WorldDrawing()207 for (lb = 0; lb < NUM_BLOCK_SURFS; lb++) in WorldDrawing()261 for (lb = 0; lb < NUM_BLOCK_SURFS; lb++) in WorldDrawing()399 for (int lb = 0; lb < NUM_BLOCK_SURFS; lb++) in WorldDrawingShaders()
171 for (lb = 0; lb < NUM_BLOCK_SURFS; lb++) in WorldDrawing()224 for (lb = 0; lb < NUM_BLOCK_SURFS; lb++) in WorldDrawing()285 for (lb = 0; lb < NUM_BLOCK_SURFS; lb++) in WorldDrawing()
437 GLuint lmap_id[NUM_BLOCK_SURFS];439 GLuint addmap_id[NUM_BLOCK_SURFS];
125 for (int i = 0; i < NUM_BLOCK_SURFS; i++) in ReleaseTextures()
485 surfcache_t* cacheblocks[NUM_BLOCK_SURFS];