#ifndef LIGHT_H #define LIGHT_H namespace fallout { #define LIGHT_LEVEL_MIN (65536 / 4) #define LIGHT_LEVEL_MAX 65536 typedef void AdjustLightIntensityProc(int elevation, int tile, int intensity); int lightInit(); int lightGetLightLevel(); void lightSetLightLevel(int lightLevel, bool shouldUpdateScreen); int _light_get_tile(int elevation, int tile); int lightGetIntensity(int elevation, int tile); void lightSetIntensity(int elevation, int tile, int intensity); void lightIncreaseIntensity(int elevation, int tile, int intensity); void lightDecreaseIntensity(int elevation, int tile, int intensity); void lightResetIntensity(); } // namespace fallout #endif /* LIGHT_H */