Initial commit

This commit is contained in:
drof
2026-11-05 02:19:09 +01:00
commit 13f8503697
125 changed files with 17029 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#pragma once
namespace respawn
{
struct player_info_t
{
char pad[512];
};
class c_engine_client
{
public:
VIRTUAL_FUNC(get_local_player, int, 40, (), this);
VIRTUAL_FUNC(is_in_game, bool, 48, (), this);
VIRTUAL_FUNC(get_screen_size, void, 19, (int& w, int& h), this, &w, &h);
VIRTUAL_FUNC(get_player_info, bool, 24, (int idx, player_info_t* buf), this, idx, buf);
VIRTUAL_FUNC(get_view_angles, void, 61, (math::Angle3& out), this, &out);
VIRTUAL_FUNC(set_view_angles, void, 62, (math::Angle3& in), this, &in);
VIRTUAL_FUNC(client_command, int64_t, 22, (const char* cmd), this, cmd);
private:
};
}