Devilution
Diablo devolved - magic behind the 1996 computer game
Macros | Enumerations | Functions | Variables
render.cpp File Reference
#include "all.h"

Go to the source code of this file.

Macros

#define NO_OVERDRAW
 

Enumerations

enum  {
  RT_SQUARE, RT_TRANSPARENT, RT_LTRIANGLE, RT_RTRIANGLE,
  RT_LTRAPEZOID, RT_RTRAPEZOID
}
 

Functions

static void RenderLine (BYTE **dst, BYTE **src, int n, BYTE *tbl, DWORD mask)
 
void RenderTile (BYTE *pBuff)
 Blit current world CEL to the given buffer. More...
 
void world_draw_black_tile (int sx, int sy)
 Render a black tile. More...
 
void trans_rect (int sx, int sy, int width, int height)
 Draws a half-transparent rectangle by blacking out odd pixels on odd lines, even pixels on even lines. More...
 

Variables

static DWORD RightMask [32]
 
static DWORD LeftMask [32]
 
static DWORD WallMask [32]
 
static DWORD SolidMask [32]
 
static DWORD RightFoliageMask [32]
 
static DWORD LeftFoliageMask [32]