Merge pull request #440 from BenCat07/master

Textmode fix
This commit is contained in:
LightCat 2018-05-15 21:33:29 +02:00 committed by GitHub
commit 19fc5f8df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,7 @@
*/
#pragma once
#if ENABLE_VISUALS
#include "visual/atlas.hpp"
#include "common.hpp"
@ -21,3 +21,4 @@ void Draw();
}
}
}
#endif

View File

@ -29,7 +29,9 @@
#include "AutoDeadringer.hpp"
#include "Bunnyhop.hpp"
#include "LagExploit.hpp"
#if ENABLE_VISUALS
#include "Radar.hpp"
#endif
#include "Walkbot.hpp"
#include "AutoJoin.hpp"
#include "AntiBackstab.hpp"

View File

@ -64,12 +64,11 @@ DECLARE_HOOKED_METHOD(FireEvent, bool, IGameEventManager2 *, IGameEvent *,
bool);
DECLARE_HOOKED_METHOD(FireEventClientSide, bool, IGameEventManager2 *,
IGameEvent *);
DECLARE_HOOKED_METHOD(IsPlayingTimeDemo, bool);
#if ENABLE_VISUALS
// ClientMode
DECLARE_HOOKED_METHOD(OverrideView, void, void *, CViewSetup *);
// g_IEngine
DECLARE_HOOKED_METHOD(IsPlayingTimeDemo, bool);
// IVModelRender
DECLARE_HOOKED_METHOD(DrawModelExecute, void, IVModelRender *,
const DrawModelState_t &, const ModelRenderInfo_t &,