-
Notifications
You must be signed in to change notification settings - Fork 0
/
precompiled.h
101 lines (85 loc) · 1.94 KB
/
precompiled.h
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#pragma once
//#define WITHOUT_SQL
// C
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h> // for strncpy(), etc
#include <unistd.h>
#include <fcntl.h>
#include <wchar.h>
// C++
#include <vector> // std::vector
#include <list> // std::list
#include <filesystem>
#include <fstream>
#include <codecvt>
#include <cstdio>
#include <bits/stdc++.h>
#include <map>
#include <charconv>
// platform defs
#include "platform.h"
// cssdk
#include <extdll.h>
#include <interface.h>
#include <eiface.h>
// rewrite on own custom preprocessor definitions INDEXENT and ENTINDEX from cbase.h
#include "type_conversion.h"
#include <pm_defs.h>
#include <pm_movevars.h>
#include <com_progdefs.h>
// metamod SDK
#include <meta_api.h>
// regamedll API
#include <regamedll_api.h>
#include "regamedll_api.h"
#include "ex_regamedll_api.h"
#include <mapinfo.h>
#include <studio.h>
// rehlds API
#include <rehlds_api.h>
#include "rehlds_api.h"
#include <ex_rehlds_api.h>
// AmxModX API
//#include "amxmodx.h"
#include "CPlugin.h"
#include <amxxmodule.h>
#include "info.h"
#include "com_client.h"
// Other
#include <main.h>
#include "api_config.h"
#include "api_config.h"
//#include "hook_manager.h"
//#include "hook_callback.h"
//#include "entity_callback_dispatcher.h"
// MYSQL
#ifndef WITHOUT_SQL
#include <chrono>
#include <ctime>
#include <future>
#include <thread>
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <signal.h>
#include <poll.h>
#include <mariadb/mysql.h>
#endif
// Refs API
#include "sdk_util.h"
#include "refsapi.h"
#include "refsapi_misc.h"
#include "refsapi_cvar_mngr.h"
#include "refsapi_recoil_mngr.h"
#ifndef WITHOUT_SQL
#include "refsapi_mysql_mngr.h"
#endif
#include "natives_helper.h"
#include "natives_refsapi.h"
// ARENA FIX
//asm(".symver fcntl,fcntl@@GLIBC_2.0");
//#include "force_link_glibc_2.9.h"
//cmake ../ -DWITH_SSL=OFF -DCMAKE_TOOLCHAIN_FILE=../cmake/linux_x86_toolchain.cmake