summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/hooks.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/internal_rewrite/hooks.hpp')
-rw-r--r--cheat/internal_rewrite/hooks.hpp8
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;