diff options
Diffstat (limited to 'gmod/prediction.hpp')
| -rw-r--r-- | gmod/prediction.hpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gmod/prediction.hpp b/gmod/prediction.hpp deleted file mode 100644 index ca0fb93..0000000 --- a/gmod/prediction.hpp +++ /dev/null @@ -1,27 +0,0 @@ -#pragma once
-#include "util.hpp"
-
-class user_cmd_t;
-class c_base_player;
-
-NAMESPACE_REGION( features )
-
-class c_prediction {
- user_cmd_t* m_ucmd{ };
- int m_predicted_flags{ };
-
- void run( user_cmd_t* ucmd );
-public:
- void operator()( user_cmd_t* ucmd ) {
- m_ucmd = ucmd;
- run( m_ucmd );
- }
-
- int get_predicted_flags( ) const {
- return m_predicted_flags;
- }
-
- void predict_player( c_base_player* player );
-};
-
-END_REGION
\ No newline at end of file |
