Devilution
Diablo devolved - magic behind the 1996 computer game
|
Go to the documentation of this file.
23 void RotateRadius(
int *x,
int *y,
int *dx,
int *dy,
int *lx,
int *ly,
int *bx,
int *by);
24 void DoLighting(
int nXPos,
int nYPos,
int nRadius,
int Lnum);
25 void DoUnLight(
int nXPos,
int nYPos,
int nRadius);
26 void DoUnVision(
int nXPos,
int nYPos,
int nRadius);
27 void DoVision(
int nXPos,
int nYPos,
int nRadius, BOOL doautomap, BOOL visible);
32 void ToggleLighting();
45 int AddVision(
int x,
int y,
int r, BOOL mine);
char CrawlTable[2749]
CrawlTable specifies X- and Y-coordinate deltas from a missile target coordinate.
void RotateRadius(int *x, int *y, int *dx, int *dy, int *lx, int *ly, int *bx, int *by)
void DoUnVision(int nXPos, int nYPos, int nRadius)
void DoLighting(int nXPos, int nYPos, int nRadius, int Lnum)
void ChangeVisionXY(int id, int x, int y)
int AddLight(int x, int y, int r)
void lighting_color_cycling()
void ChangeLightXY(int i, int x, int y)
BYTE lightradius[16][128]
char * pCrawlTable[19]
pCrawlTable maps from circle radius to the X- and Y-coordinate deltas from the center of a circle.
LightListStruct VisionList[MAXVISION]
BYTE RadiusAdj[23]
RadiusAdj maps from vCrawlTable index to lighting vision radius adjustment.
void ChangeVisionRadius(int id, int r)
void DoVision(int nXPos, int nYPos, int nRadius, BOOL doautomap, BOOL visible)
int AddVision(int x, int y, int r, BOOL mine)
BYTE lightactive[MAXLIGHTS]
BYTE byte_49463C[18][18]
unused
void ChangeLightRadius(int i, int r)
void ChangeLight(int i, int x, int y, int r)
BYTE lightblock[64][16][16]
BYTE vCrawlTable[23][30]
vCrawlTable specifies the X- Y-coordinate offsets of lighting visions.
void ChangeLightOff(int i, int x, int y)
LightListStruct LightList[MAXLIGHTS]
void DoUnLight(int nXPos, int nYPos, int nRadius)