1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Extract math-related functions from common.h to Math.hpp

Saves wide inclusion of <stdexcept> header, which pulls in <string>
This commit is contained in:
Michał Janiszewski
2021-10-09 21:43:06 +02:00
parent b8c751e300
commit 1b4875e528
15 changed files with 51 additions and 29 deletions

View File

@@ -11,6 +11,8 @@
#include "../common.h"
#include <string>
enum class CursorID : uint8_t
{
Arrow,

View File

@@ -25,6 +25,7 @@
#include "../ride/Vehicle.h"
#include "../ui/UiContext.h"
#include "../ui/WindowManager.h"
#include "../util/Math.hpp"
#include "../world/Climate.h"
#include "../world/EntityList.h"
#include "../world/Map.h"