QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
floodfill.c File Reference

Macros

#define FLOODFILL_FIFO_MASK   (FLOODFILL_FIFO_SIZE - 1)
 
#define FLOODFILL_FIFO_SIZE   0x1000
 
#define FLOODFILL_STEP(off, dx, dy)
 

Functions

void Mod_FloodFillSkin (byte *skin, int skinwidth, int skinheight)
 

Macro Definition Documentation

#define FLOODFILL_FIFO_MASK   (FLOODFILL_FIFO_SIZE - 1)
#define FLOODFILL_FIFO_SIZE   0x1000
#define FLOODFILL_STEP (   off,
  dx,
  dy 
)
Value:
{ \
if (pos[off] == fillcolor) { \
pos[off] = 255; \
fifo[inpt].x = x + (dx), fifo[inpt].y = y + (dy); \
inpt = (inpt + 1) & FLOODFILL_FIFO_MASK; \
} else if (pos[off] != 255) \
fdc = pos[off]; \
}
vec_t * x
Definition: test-bary.c:27
if(!(yy_init))
Definition: qp-lex.c:893
#define FLOODFILL_FIFO_MASK
Definition: floodfill.c:48

Function Documentation

void Mod_FloodFillSkin ( byte skin,
int  skinwidth,
int  skinheight 
)