-
Notifications
You must be signed in to change notification settings - Fork 0
/
precompiled.hpp
41 lines (38 loc) · 1.24 KB
/
precompiled.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once
#include <ctime>
#include <iostream>
#include <string>
#include <vector>
#include <unordered_map>
#include <unordered_set>
#include <chrono>
#include <boost/bind.hpp>
#include <boost/asio.hpp>
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point.hpp>
#include <boost/geometry/geometries/box.hpp>
#include <boost/geometry/index/rtree.hpp>
#include <boost/format.hpp>
#include <boost/random.hpp>
#include <boost/range.hpp>
#include <boost/interprocess/managed_mapped_file.hpp>
#include <boost/interprocess/file_mapping.hpp>
#include <boost/interprocess/mapped_region.hpp>
#include <boost/filesystem.hpp>
#include <boost/algorithm/clamp.hpp>
#include <boost/crc.hpp>
#include <boost/math/special_functions/round.hpp>
#include <boost/atomic.hpp>
#include "sealog.hpp"
#include "spinlock.hpp"
#include "lwlnglat.h"
#define WORLD_MAP_PIXEL_RESOLUTION_WIDTH (172824)
#define WORLD_MAP_PIXEL_RESOLUTION_HEIGHT (86412)
#define WORLD_CIRCUMFERENCE_IN_KM (40075.0f)
static std::chrono::steady_clock::duration get_monotonic_uptime_duration() {
return std::chrono::steady_clock::now().time_since_epoch();
}
static long long get_monotonic_uptime() {
return get_monotonic_uptime_duration().count();
}
const static int MAX_CARGO = 1000000;