raze-gles/source/exhumed/src/lighting.h
nukeykt ff6820aa92 Rework green palette and torch effects to not modify palookup array
In other words make these effects polymost friendly
2019-11-21 23:22:41 +01:00

19 lines
No EOL
444 B
C

#ifndef __lighting_h__
#define __lighting_h__
extern short nFlashDepth;
void InitLights();
void AddFlash(short nSector, int x, int y, int z, int val);
void SetTorch(int nPlayer, int bTorchOnOff);
void UndoFlashes();
void DoLights();
void AddFlow(int nSprite, int a, int b);
void BuildFlash(short nPlayer, short nSector, int nVal);
void AddGlow(short nSector, int nVal);
void AddFlicker(short nSector, int nVal);
extern short bTorch;
#endif