You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
392 B
26 lines
392 B
|
4 years ago
|
#include <fmt/format.h>
|
||
|
|
#include <unordered_map>
|
||
|
|
|
||
|
|
#include "engine/load_file.hpp"
|
||
|
|
#include "engine/trn.hpp"
|
||
|
|
#include "lighting.h"
|
||
|
|
|
||
|
|
namespace devilution {
|
||
|
|
|
||
|
|
uint8_t *GetInfravisionTRN()
|
||
|
|
{
|
||
|
|
return &LightTables[16 * 256];
|
||
|
|
}
|
||
|
|
|
||
|
|
uint8_t *GetStoneTRN()
|
||
|
|
{
|
||
|
|
return &LightTables[17 * 256];
|
||
|
|
}
|
||
|
|
|
||
|
|
uint8_t *GetPauseTRN()
|
||
|
|
{
|
||
|
|
return &LightTables[18 * 256];
|
||
|
|
}
|
||
|
|
|
||
|
|
} // namespace devilution
|