fallout2-ce/src/light.h

26 lines
766 B
C
Raw Normal View History

2022-05-19 01:51:26 -07:00
#ifndef LIGHT_H
#define LIGHT_H
2022-09-23 05:43:44 -07:00
namespace fallout {
2023-01-03 12:56:52 -08:00
#define LIGHT_INTENSITY_MIN (65536 / 4)
#define LIGHT_INTENSITY_MAX 65536
2022-05-19 01:51:26 -07:00
typedef void AdjustLightIntensityProc(int elevation, int tile, int intensity);
int lightInit();
2023-01-03 12:56:52 -08:00
void lightReset();
void lightExit();
int lightGetAmbientIntensity();
void lightSetAmbientIntensity(int intensity, bool shouldUpdateScreen);
int lightGetTileIntensity(int elevation, int tile);
int lightGetTrueTileIntensity(int elevation, int tile);
void lightSetTileIntensity(int elevation, int tile, int intensity);
void lightIncreaseTileIntensity(int elevation, int tile, int intensity);
void lightDecreaseTileIntensity(int elevation, int tile, int intensity);
void lightResetTileIntensity();
2022-05-19 01:51:26 -07:00
2022-09-23 05:43:44 -07:00
} // namespace fallout
2022-05-19 01:51:26 -07:00
#endif /* LIGHT_H */