diff options
| author | boris <wzn@moneybot.cc> | 2018-11-28 16:00:02 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-11-28 16:00:02 +1300 |
| commit | 3d412a4b30a9f7c7f51ea6562e694315948bd3da (patch) | |
| tree | 26d67dfd1f3e5fd12903ad13e85d0cb8bcf8f21c /internal_rewrite/emit_sound.cpp | |
| parent | e4729e4393d90271a3814c7a79950a660c48325a (diff) | |
cleaned up
in short, the cheat and loader are now separate solutions. unused stuff was moved into the legacy solution in case anyone wants to compile it or whatever.
i can change this back if you want to. also, i configured the loader to compile in x64, and have separate build types for linux and win64
Diffstat (limited to 'internal_rewrite/emit_sound.cpp')
| -rw-r--r-- | internal_rewrite/emit_sound.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/internal_rewrite/emit_sound.cpp b/internal_rewrite/emit_sound.cpp deleted file mode 100644 index 13ae28a..0000000 --- a/internal_rewrite/emit_sound.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "base_cheat.hpp" -#include "hooks.hpp" -#include "settings.hpp" - -/*void __fastcall hooks::emit_sound( void* ecx_, void* edx_, void* filter, int ent, int channel, const char* sound, uint32_t hash, - const char* sample, float volume, float attenuation, int seed, int flags, int pitch, const vec3_t* origin, - const vec3_t* direction, vec3_t* origins, bool update_pos, float sound_time, int speaker_entry ) { - static auto emit_sound_o = g_csgo.m_engine_sound->get_old_function< decltype( &hooks::emit_sound ) >( 5 ); - - if( !g_csgo.m_panic && origin ) { - auto entity = g_csgo.m_entlist( )->GetClientEntity< >( ent ); - if( entity && entity->is_player( ) && entity->ce( )->IsDormant( ) && - ent >= 0 && ent <= 64 ) - g_cheat.m_visuals.update_position( ent, *origin ); - } - - if( strstr( sample, xors( "weapon" ) ) && g_settings.misc.no_sound ) - volume = 0.f; - - if( ( strstr( sample, xors( "player/footsteps" ) ) || strstr( sample, xors( "player/land" ) ) ) && origin && g_settings.visuals.sound ) { - g_cheat.m_visuals.store_sound( ent, *origin ); - } - - emit_sound_o( ecx_, 0, filter, ent, channel, sound, hash, sample, - volume, attenuation, seed, flags, pitch, origin, direction, - origins, update_pos, sound_time, speaker_entry ); -}*/
\ No newline at end of file |
