diff options
| author | boris <wzn@moneybot.cc> | 2018-11-28 22:02:33 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-11-28 22:02:33 +1300 |
| commit | 96de4961c447d7009ba52b6bf04d4b7bfe487ab1 (patch) | |
| tree | d2a2135529d8682ca75055a81bc5cee9e0aad00e /cheat/internal_rewrite/hooks.hpp | |
| parent | cf9a9d4fd2cf95a5c534302a3eb776f74d5dd6cf (diff) | |
fixed emitsound hook
Diffstat (limited to 'cheat/internal_rewrite/hooks.hpp')
| -rw-r--r-- | cheat/internal_rewrite/hooks.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cheat/internal_rewrite/hooks.hpp b/cheat/internal_rewrite/hooks.hpp index ab28545..dc23672 100644 --- a/cheat/internal_rewrite/hooks.hpp +++ b/cheat/internal_rewrite/hooks.hpp @@ -59,9 +59,11 @@ namespace hooks void __fastcall override_view( void* ecx_, void* edx_, CViewSetup* setup ); extern decltype( &override_view ) override_view_o; - //void __fastcall 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 ); + void __fastcall 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, void *unk01 ); + extern decltype(&emit_sound) emit_sound_o; + void __fastcall shut_down( void* ecx_, void* edx_ ); extern decltype( &shut_down ) shut_down_o; |
