summaryrefslogtreecommitdiff
path: root/cheat/tf2/movement.h
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/tf2/movement.h')
-rw-r--r--cheat/tf2/movement.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/cheat/tf2/movement.h b/cheat/tf2/movement.h
new file mode 100644
index 0000000..d32fb2b
--- /dev/null
+++ b/cheat/tf2/movement.h
@@ -0,0 +1,19 @@
+#pragma once
+#include "sdk.h"
+
+namespace features {
+ class c_movement {
+ public:
+ void update( user_cmd_t* cmd ) {
+ if ( !cmd ) return;
+ m_cmd = cmd;
+
+ bhop( );
+ }
+
+ private:
+ void bhop( );
+ void autostrafe( );
+ user_cmd_t* m_cmd;
+ };
+} \ No newline at end of file