summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/extra.hpp
blob: f3ab83752423ab9cf3701e06c3334899d794d034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#pragma once
#include <vector>
#include <deque>

namespace features
{
	class c_extra {
		bool m_fire_next{ };

		// i'm gay
		struct netchan_record_t {
			float   m_curtime;
			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( );

		void update_netchannel( );
		void add_latency( INetChannel* channel );

		void float_ragdolls( );
		void rich_presence_flex( );
		void remove_rich_presence_flex( );

		void no_recoil( bool original );
		void no_recoil( user_cmd_t* cmd );

		void no_smoke( );
		void no_flash( );

		void disable_post_processing( );

		void auto_revolver( user_cmd_t* );

		void money_talk( IGameEvent *evt );

		void server_information( );

		void unlock_hidden_cvars( );

	private:
		using grenade_trace_t = std::vector< vec3_t >;
		
	};
}