summaryrefslogtreecommitdiff
path: root/include/engine/fov.h
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2024-02-05 17:57:05 +0000
committer0scar <qgt268@alumni.ku.dk>2024-02-05 17:57:05 +0000
commitd52bd1c709456164b167cc7389b641b690c97ee5 (patch)
tree7cc8ccb610bfaa72b83fdf878b23e6efd892d73e /include/engine/fov.h
parent4813a8dde26422657c07ae03fe2b47a6b92f0935 (diff)
Organize the header files
Diffstat (limited to 'include/engine/fov.h')
-rw-r--r--include/engine/fov.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/engine/fov.h b/include/engine/fov.h
deleted file mode 100644
index 15ef38b..0000000
--- a/include/engine/fov.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef ENGINE_FOV_H
-#define ENGINE_FOV_H
-
-#include "types.h"
-#include "vector.h"
-#include <stdbool.h>
-
-/* `fov_shadowcast`: */
-/* map: your 2D enum tile grid
- * mapsize: x: width, y: height of the map
- * visblocking: pointer to a function that returns `true` when receiving a
- * pointer to a LOS blocking tile
- * lightmap: [out] 2D lightmap, this is simply overwritten with the
- * distance to the source. range: visibility range/radius. src: 2D
- * point to calculate FOV from
- * */
-void fov_shadowcast(const void* map, const v2_i32 mapsize,
- bool (*visblocking)(const void*), i32* lightmap,
- const i32 range, v2_i32 src);
-
-#endif