fix makefile, rm useless files

This commit is contained in:
nullifiedcat 2017-12-09 19:25:34 +03:00
parent 0c11b18ef1
commit 05918b9255
28 changed files with 2 additions and 77 deletions

View File

@ -8,13 +8,11 @@
#ifndef CDUMPER_HPP_ #ifndef CDUMPER_HPP_
#define CDUMPER_HPP_ #define CDUMPER_HPP_
#include <aftercheaders.hpp>
#include <beforecheaders.hpp>
#include <fstream> #include <fstream>
#include <string> #include <string>
#include <dt_common.h> #include <dt_common.h>
#include <client_class.h> #include <client_class.h>
#include <fixsdk.hpp>
#include <logging.hpp> #include <logging.hpp>
class CDumper class CDumper

View File

@ -1,6 +0,0 @@
#ifndef min
#define min(a, b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef max
#define max(a, b) (((a) > (b)) ? (a) : (b))
#endif

View File

@ -1,5 +0,0 @@
#undef min
#undef max
#undef private
#undef public

View File

@ -10,11 +10,9 @@
#define CHATSTACK_INTERVAL 0.8f #define CHATSTACK_INTERVAL 0.8f
#include <beforecheaders.hpp>
#include <string> #include <string>
#include <stack> #include <stack>
#include <functional> #include <functional>
#include <aftercheaders.hpp>
namespace chat_stack namespace chat_stack
{ {

View File

@ -14,7 +14,6 @@
#undef ENABLE_IPC #undef ENABLE_IPC
#endif #endif
#include <beforecheaders.hpp>
#include <emmintrin.h> #include <emmintrin.h>
#include <vector> #include <vector>
#include <bitset> #include <bitset>
@ -51,8 +50,6 @@
#include "timer.hpp" #include "timer.hpp"
#include "averager.hpp" #include "averager.hpp"
#include <aftercheaders.hpp>
#include "macros.hpp" #include "macros.hpp"
#include <visual/colors.hpp> #include <visual/colors.hpp>

View File

@ -38,9 +38,7 @@ void draw();
bool random_crits_enabled(); bool random_crits_enabled();
} }
#include <beforecheaders.hpp>
#include <unordered_map> #include <unordered_map>
#include <aftercheaders.hpp>
extern int *g_PredictionRandomSeed; extern int *g_PredictionRandomSeed;
extern std::unordered_map<int, int> command_number_mod; extern std::unordered_map<int, int> command_number_mod;

View File

@ -13,11 +13,9 @@ class ConVar;
#include <sdk.hpp> #include <sdk.hpp>
#include <interfaces.hpp> #include <interfaces.hpp>
#include <beforecheaders.hpp>
#include <string> #include <string>
#include <vector> #include <vector>
#include <functional> #include <functional>
#include <aftercheaders.hpp>
// Catvar types // Catvar types
enum CatVar_t enum CatVar_t

View File

@ -8,8 +8,6 @@
#ifndef ENTITYCACHE_HPP_ #ifndef ENTITYCACHE_HPP_
#define ENTITYCACHE_HPP_ #define ENTITYCACHE_HPP_
#include <aftercheaders.hpp>
#include <beforecheaders.hpp>
#include "entityhitboxcache.hpp" #include "entityhitboxcache.hpp"
#include "averager.hpp" #include "averager.hpp"
#include <mathlib/vector.h> #include <mathlib/vector.h>
@ -18,7 +16,6 @@
#include <icliententitylist.h> #include <icliententitylist.h>
#include <cdll_int.h> #include <cdll_int.h>
#include <enums.hpp> #include <enums.hpp>
#include <fixsdk.hpp>
#include <interfaces.hpp> #include <interfaces.hpp>
#include <itemtypes.hpp> #include <itemtypes.hpp>

View File

@ -1,18 +0,0 @@
/*
* stdheader.h
*
* Created on: Oct 3, 2016
* Author: nullifiedcat
*/
#ifndef FIXSDK_HPP_
#define FIXSDK_HPP_
/*#define LINUX 1
#define _LINUX 1
#define POSIX 1
#define GNUC 1
#define NO_MALLOC_OVERRIDE 1
#undef min*/
#endif /* FIXSDK_HPP_ */

View File

@ -15,11 +15,9 @@ class bf_read;
class ConCommand; class ConCommand;
class CCommand; class CCommand;
#include <beforecheaders.hpp>
#include <stack> #include <stack>
#include <string> #include <string>
#include <mutex> #include <mutex>
#include <aftercheaders.hpp>
namespace hack namespace hack
{ {

View File

@ -29,12 +29,10 @@ void SetCVarInterface(ICvar *iface);
#include <entitycache.hpp> #include <entitycache.hpp>
#include <logging.hpp> #include <logging.hpp>
#include <beforecheaders.hpp>
#include <string> #include <string>
#include <sstream> #include <sstream>
#include <vector> #include <vector>
#include <mutex> #include <mutex>
#include <aftercheaders.hpp>
#include <sdk.hpp> #include <sdk.hpp>

View File

@ -7,8 +7,6 @@
#pragma once #pragma once
#include <aftercheaders.hpp>
#include <beforecheaders.hpp>
#include <openssl/ssl.h> #include <openssl/ssl.h>
#include <netinet/in.h> #include <netinet/in.h>

View File

@ -7,8 +7,6 @@
#pragma once #pragma once
#include <aftercheaders.hpp>
#include <beforecheaders.hpp>
#include <stack> #include <stack>
std::stack<void (*)()> &init_stack(); std::stack<void (*)()> &init_stack();

View File

@ -8,8 +8,6 @@
#ifndef INTERFACES_HPP_ #ifndef INTERFACES_HPP_
#define INTERFACES_HPP_ #define INTERFACES_HPP_
#include <aftercheaders.hpp>
#include <beforecheaders.hpp>
#include <sharedobj.hpp> #include <sharedobj.hpp>
#include <string> #include <string>

View File

@ -10,11 +10,9 @@
#ifndef IPC_H_ #ifndef IPC_H_
#define IPC_H_ #define IPC_H_
#include <beforecheaders.hpp>
#include "ipcb.hpp" #include "ipcb.hpp"
#include "pthread.h" #include "pthread.h"
#include <time.h> #include <time.h>
#include <aftercheaders.hpp>
class CatCommand; class CatCommand;
class CatVar; class CatVar;

View File

@ -8,8 +8,6 @@
#ifndef ITEMTYPES_HPP_ #ifndef ITEMTYPES_HPP_
#define ITEMTYPES_HPP_ #define ITEMTYPES_HPP_
#include <aftercheaders.hpp>
#include <beforecheaders.hpp>
#include <map> #include <map>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -8,7 +8,6 @@
#ifndef LOCALPLAYER_HPP_ #ifndef LOCALPLAYER_HPP_
#define LOCALPLAYER_HPP_ #define LOCALPLAYER_HPP_
#include <fixsdk.hpp>
#include <mathlib/vector.h> #include <mathlib/vector.h>
class CachedEntity; class CachedEntity;

View File

@ -9,7 +9,6 @@
#define NETMESSAGE_HPP_ #define NETMESSAGE_HPP_
#include <bitbuf.h> #include <bitbuf.h>
#include <fixsdk.hpp>
#include <utlvector.h> #include <utlvector.h>
#include <inetchannel.h> #include <inetchannel.h>
#include <inetmessage.h> #include <inetmessage.h>

View File

@ -8,8 +8,6 @@
#ifndef PROFILER_H_ #ifndef PROFILER_H_
#define PROFILER_H_ #define PROFILER_H_
#include <aftercheaders.hpp>
#include <beforecheaders.hpp>
#include <chrono> #include <chrono>
#include <string> #include <string>

View File

@ -8,8 +8,6 @@
#ifndef SDK_HPP_ #ifndef SDK_HPP_
#define SDK_HPP_ #define SDK_HPP_
#include <fixsdk.hpp>
#define private public #define private public
#define protected public #define protected public

View File

@ -8,10 +8,8 @@
#ifndef SHAREDOBJ_HPP_ #ifndef SHAREDOBJ_HPP_
#define SHAREDOBJ_HPP_ #define SHAREDOBJ_HPP_
#include <beforecheaders.hpp>
#include <string> #include <string>
#include <vector> #include <vector>
#include <aftercheaders.hpp>
struct link_map; struct link_map;
typedef void *(*fn_CreateInterface_t)(const char *, int *); typedef void *(*fn_CreateInterface_t)(const char *, int *);

View File

@ -8,8 +8,6 @@
#ifndef TEXTFILE_HPP_ #ifndef TEXTFILE_HPP_
#define TEXTFILE_HPP_ #define TEXTFILE_HPP_
#include <aftercheaders.hpp>
#include <beforecheaders.hpp>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -9,7 +9,6 @@
#define TRACE_HPP_ #define TRACE_HPP_
#include <engine/IEngineTrace.h> #include <engine/IEngineTrace.h>
#include <fixsdk.hpp>
// This file is a mess. I need to fix it. TODO // This file is a mess. I need to fix it. TODO

View File

@ -8,7 +8,6 @@
#ifndef USERCMD_HPP_ #ifndef USERCMD_HPP_
#define USERCMD_HPP_ #define USERCMD_HPP_
#include <fixsdk.hpp>
#include <stdint.h> #include <stdint.h>
#include <mathlib/vector.h> #include <mathlib/vector.h>

View File

@ -8,9 +8,7 @@
#ifndef DRAWMGR_HPP_ #ifndef DRAWMGR_HPP_
#define DRAWMGR_HPP_ #define DRAWMGR_HPP_
#include "beforecheaders.hpp"
#include <mutex> #include <mutex>
#include "aftercheaders.hpp"
extern std::mutex drawing_mutex; extern std::mutex drawing_mutex;

View File

@ -107,7 +107,7 @@ LDLIBS+=-lssl -l:libSDL2-2.0.so.0 -l:libGLEW.so -lglez -lxoverlay
CXXFLAGS+=$(shell sdl2-config --cflags) CXXFLAGS+=$(shell sdl2-config --cflags)
CFLAGS+=$(shell sdl2-config --cflags) CFLAGS+=$(shell sdl2-config --cflags)
else else
EXCL_SOURCES:=drawex.cpp hacks/ESP.cpp hacks/SkinChanger.cpp hacks/SpyAlert.cpp hacks/Radar.cpp fidgetspinner.cpp hooks/sdl.cpp drawing.cpp drawmgr.cpp drawgl.cpp hooks/PaintTraverse.cpp EffectChams.cpp EffectGlow.cpp atlas.cpp EXCL_SOURCES:=visual/atlas.cpp visual/colors.cpp visual/drawex.cpp visual/drawing.cpp visual/drawmgr.cpp visual/EffectChams.cpp visual/EffectGlow.cpp hacks/ESP.cpp hacks/SkinChanger.cpp hacks/SpyAlert.cpp hacks/Radar.cpp fidgetspinner.cpp hooks/sdl.cpp drawing.cpp hooks/PaintTraverse.cpp
EXCL_SOURCES:=$(addprefix $(SRC_DIR)/,$(EXCL_SOURCES)) EXCL_SOURCES:=$(addprefix $(SRC_DIR)/,$(EXCL_SOURCES))
SOURCES:=$(filter-out $(shell find $(SRC_DIR)/gui -name "*.cpp" -print),$(SOURCES)) SOURCES:=$(filter-out $(shell find $(SRC_DIR)/gui -name "*.cpp" -print),$(SOURCES))

View File

@ -10,10 +10,8 @@
#include <unistd.h> #include <unistd.h>
#include "beforecheaders.hpp"
#include <string> #include <string>
#include <sstream> #include <sstream>
#include "aftercheaders.hpp"
#include <steam/isteamclient.h> #include <steam/isteamclient.h>

View File

@ -6,8 +6,6 @@
// //
//===========================================================================// //===========================================================================//
#include "fixsdk.hpp"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>