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.
18 lines
404 B
18 lines
404 B
|
11 months ago
|
#pragma once
|
||
|
|
|
||
|
|
#include <cstdint>
|
||
|
|
|
||
|
|
#include <function_ref.hpp>
|
||
|
|
|
||
|
|
#include "engine/point.hpp"
|
||
|
|
|
||
|
|
namespace devilution {
|
||
|
|
|
||
|
|
void DoVision(Point position, uint8_t radius,
|
||
|
|
tl::function_ref<void(Point)> markVisibleFn,
|
||
|
|
tl::function_ref<void(Point)> markTransparentFn,
|
||
|
|
tl::function_ref<bool(Point)> passesLightFn,
|
||
|
|
tl::function_ref<bool(Point)> inBoundsFn);
|
||
|
|
|
||
|
|
} // namespace devilution
|