fix makefile, rm useless files
This commit is contained in:
parent
0c11b18ef1
commit
05918b9255
@ -8,13 +8,11 @@
|
||||
#ifndef CDUMPER_HPP_
|
||||
#define CDUMPER_HPP_
|
||||
|
||||
#include <aftercheaders.hpp>
|
||||
#include <beforecheaders.hpp>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <dt_common.h>
|
||||
#include <client_class.h>
|
||||
#include <fixsdk.hpp>
|
||||
|
||||
#include <logging.hpp>
|
||||
|
||||
class CDumper
|
||||
|
@ -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
|
@ -1,5 +0,0 @@
|
||||
#undef min
|
||||
#undef max
|
||||
|
||||
#undef private
|
||||
#undef public
|
@ -10,11 +10,9 @@
|
||||
|
||||
#define CHATSTACK_INTERVAL 0.8f
|
||||
|
||||
#include <beforecheaders.hpp>
|
||||
#include <string>
|
||||
#include <stack>
|
||||
#include <functional>
|
||||
#include <aftercheaders.hpp>
|
||||
|
||||
namespace chat_stack
|
||||
{
|
||||
|
@ -14,7 +14,6 @@
|
||||
#undef ENABLE_IPC
|
||||
#endif
|
||||
|
||||
#include <beforecheaders.hpp>
|
||||
#include <emmintrin.h>
|
||||
#include <vector>
|
||||
#include <bitset>
|
||||
@ -51,8 +50,6 @@
|
||||
#include "timer.hpp"
|
||||
#include "averager.hpp"
|
||||
|
||||
#include <aftercheaders.hpp>
|
||||
|
||||
#include "macros.hpp"
|
||||
#include <visual/colors.hpp>
|
||||
|
||||
|
@ -38,9 +38,7 @@ void draw();
|
||||
bool random_crits_enabled();
|
||||
}
|
||||
|
||||
#include <beforecheaders.hpp>
|
||||
#include <unordered_map>
|
||||
#include <aftercheaders.hpp>
|
||||
|
||||
extern int *g_PredictionRandomSeed;
|
||||
extern std::unordered_map<int, int> command_number_mod;
|
||||
|
@ -13,11 +13,9 @@ class ConVar;
|
||||
#include <sdk.hpp>
|
||||
#include <interfaces.hpp>
|
||||
|
||||
#include <beforecheaders.hpp>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <functional>
|
||||
#include <aftercheaders.hpp>
|
||||
|
||||
// Catvar types
|
||||
enum CatVar_t
|
||||
|
@ -8,8 +8,6 @@
|
||||
#ifndef ENTITYCACHE_HPP_
|
||||
#define ENTITYCACHE_HPP_
|
||||
|
||||
#include <aftercheaders.hpp>
|
||||
#include <beforecheaders.hpp>
|
||||
#include "entityhitboxcache.hpp"
|
||||
#include "averager.hpp"
|
||||
#include <mathlib/vector.h>
|
||||
@ -18,7 +16,6 @@
|
||||
#include <icliententitylist.h>
|
||||
#include <cdll_int.h>
|
||||
#include <enums.hpp>
|
||||
#include <fixsdk.hpp>
|
||||
#include <interfaces.hpp>
|
||||
#include <itemtypes.hpp>
|
||||
|
||||
|
@ -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_ */
|
@ -15,11 +15,9 @@ class bf_read;
|
||||
class ConCommand;
|
||||
class CCommand;
|
||||
|
||||
#include <beforecheaders.hpp>
|
||||
#include <stack>
|
||||
#include <string>
|
||||
#include <mutex>
|
||||
#include <aftercheaders.hpp>
|
||||
|
||||
namespace hack
|
||||
{
|
||||
|
@ -29,12 +29,10 @@ void SetCVarInterface(ICvar *iface);
|
||||
#include <entitycache.hpp>
|
||||
#include <logging.hpp>
|
||||
|
||||
#include <beforecheaders.hpp>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
#include <mutex>
|
||||
#include <aftercheaders.hpp>
|
||||
|
||||
#include <sdk.hpp>
|
||||
|
||||
|
@ -7,8 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <aftercheaders.hpp>
|
||||
#include <beforecheaders.hpp>
|
||||
#include <openssl/ssl.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
|
@ -7,8 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <aftercheaders.hpp>
|
||||
#include <beforecheaders.hpp>
|
||||
#include <stack>
|
||||
|
||||
std::stack<void (*)()> &init_stack();
|
||||
|
@ -8,8 +8,6 @@
|
||||
#ifndef INTERFACES_HPP_
|
||||
#define INTERFACES_HPP_
|
||||
|
||||
#include <aftercheaders.hpp>
|
||||
#include <beforecheaders.hpp>
|
||||
#include <sharedobj.hpp>
|
||||
#include <string>
|
||||
|
||||
|
@ -10,11 +10,9 @@
|
||||
#ifndef IPC_H_
|
||||
#define IPC_H_
|
||||
|
||||
#include <beforecheaders.hpp>
|
||||
#include "ipcb.hpp"
|
||||
#include "pthread.h"
|
||||
#include <time.h>
|
||||
#include <aftercheaders.hpp>
|
||||
|
||||
class CatCommand;
|
||||
class CatVar;
|
||||
|
@ -8,8 +8,6 @@
|
||||
#ifndef ITEMTYPES_HPP_
|
||||
#define ITEMTYPES_HPP_
|
||||
|
||||
#include <aftercheaders.hpp>
|
||||
#include <beforecheaders.hpp>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -8,7 +8,6 @@
|
||||
#ifndef LOCALPLAYER_HPP_
|
||||
#define LOCALPLAYER_HPP_
|
||||
|
||||
#include <fixsdk.hpp>
|
||||
#include <mathlib/vector.h>
|
||||
|
||||
class CachedEntity;
|
||||
|
@ -9,7 +9,6 @@
|
||||
#define NETMESSAGE_HPP_
|
||||
|
||||
#include <bitbuf.h>
|
||||
#include <fixsdk.hpp>
|
||||
#include <utlvector.h>
|
||||
#include <inetchannel.h>
|
||||
#include <inetmessage.h>
|
||||
|
@ -8,8 +8,6 @@
|
||||
#ifndef PROFILER_H_
|
||||
#define PROFILER_H_
|
||||
|
||||
#include <aftercheaders.hpp>
|
||||
#include <beforecheaders.hpp>
|
||||
#include <chrono>
|
||||
#include <string>
|
||||
|
||||
|
@ -8,8 +8,6 @@
|
||||
#ifndef SDK_HPP_
|
||||
#define SDK_HPP_
|
||||
|
||||
#include <fixsdk.hpp>
|
||||
|
||||
#define private public
|
||||
#define protected public
|
||||
|
||||
|
@ -8,10 +8,8 @@
|
||||
#ifndef SHAREDOBJ_HPP_
|
||||
#define SHAREDOBJ_HPP_
|
||||
|
||||
#include <beforecheaders.hpp>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <aftercheaders.hpp>
|
||||
|
||||
struct link_map;
|
||||
typedef void *(*fn_CreateInterface_t)(const char *, int *);
|
||||
|
@ -8,8 +8,6 @@
|
||||
#ifndef TEXTFILE_HPP_
|
||||
#define TEXTFILE_HPP_
|
||||
|
||||
#include <aftercheaders.hpp>
|
||||
#include <beforecheaders.hpp>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
#define TRACE_HPP_
|
||||
|
||||
#include <engine/IEngineTrace.h>
|
||||
#include <fixsdk.hpp>
|
||||
|
||||
// This file is a mess. I need to fix it. TODO
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
#ifndef USERCMD_HPP_
|
||||
#define USERCMD_HPP_
|
||||
|
||||
#include <fixsdk.hpp>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <mathlib/vector.h>
|
||||
|
@ -8,9 +8,7 @@
|
||||
#ifndef DRAWMGR_HPP_
|
||||
#define DRAWMGR_HPP_
|
||||
|
||||
#include "beforecheaders.hpp"
|
||||
#include <mutex>
|
||||
#include "aftercheaders.hpp"
|
||||
|
||||
extern std::mutex drawing_mutex;
|
||||
|
||||
|
2
makefile
2
makefile
@ -107,7 +107,7 @@ LDLIBS+=-lssl -l:libSDL2-2.0.so.0 -l:libGLEW.so -lglez -lxoverlay
|
||||
CXXFLAGS+=$(shell sdl2-config --cflags)
|
||||
CFLAGS+=$(shell sdl2-config --cflags)
|
||||
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))
|
||||
|
||||
SOURCES:=$(filter-out $(shell find $(SRC_DIR)/gui -name "*.cpp" -print),$(SOURCES))
|
||||
|
@ -10,10 +10,8 @@
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "beforecheaders.hpp"
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include "aftercheaders.hpp"
|
||||
|
||||
#include <steam/isteamclient.h>
|
||||
|
||||
|
@ -6,8 +6,6 @@
|
||||
//
|
||||
//===========================================================================//
|
||||
|
||||
#include "fixsdk.hpp"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
Reference in New Issue
Block a user