🚚 engine.h: Extract Point, Direction, clamp

`engine.h` is getting quite bloated. Moves this code to their own files.
This commit is contained in:
Gleb Mazovetskiy 2021-06-16 10:44:41 +01:00 committed by Anders Jenbo
commit f9f301b054
42 changed files with 278 additions and 215 deletions

View file

@ -5,8 +5,6 @@
*/
#include "automap.h"
#include <algorithm>
#include <fmt/format.h>
#include "control.h"
@ -17,6 +15,7 @@
#include "player.h"
#include "setmaps.h"
#include "utils/language.h"
#include "utils/stdcompat/algorithm.hpp"
#include "utils/ui_fwd.h"
namespace devilution {