summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/extra.hpp
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2018-12-05 18:11:08 +1300
committerboris <wzn@moneybot.cc>2018-12-05 18:11:08 +1300
commit65ce24409cbb7a4da18751e5043978ded5090fac (patch)
tree0b65806aa03c2cdf9fc95b519d0b09582279381e /cheat/internal_rewrite/extra.hpp
parent793965d3c2816fc1b672c9173b3b831d82cdec33 (diff)
im a retard
double events still happen :|
Diffstat (limited to 'cheat/internal_rewrite/extra.hpp')
-rw-r--r--cheat/internal_rewrite/extra.hpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/cheat/internal_rewrite/extra.hpp b/cheat/internal_rewrite/extra.hpp
index 7f0ac98..5c7d5f4 100644
--- a/cheat/internal_rewrite/extra.hpp
+++ b/cheat/internal_rewrite/extra.hpp
@@ -7,6 +7,17 @@ namespace features
class c_extra {
bool m_fire_next{ };
+ // i'm gay
+ struct netchan_record_t {
+ float m_realtime;
+ int32_t m_reliable;
+ int32_t m_sequence;
+ };
+
+ std::vector< netchan_record_t > m_net_records;
+
+ int32_t m_last_sequence;
+
public:
void rank_reveal( user_cmd_t* ucmd );
void thirdperson( );
@@ -36,6 +47,6 @@ namespace features
private:
using grenade_trace_t = std::vector< vec3_t >;
-
+
};
} \ No newline at end of file