8dcc
8d735ece89
Add vec_copy and matrix_3x4_origin to util.c
2023-07-28 23:10:54 +02:00
8dcc
2a57c69444
Replace vector indexing with members
...
Use .x instead of [0]
Also add vec_add() to util.c
2023-07-28 22:15:25 +02:00
8dcc
2c41a2b06b
Add extra_player_info_dod_t struct to sdk.h
2023-07-28 17:42:39 +02:00
8dcc
3080b4dc2d
Store player_extra_info as void*
2023-07-28 16:31:21 +02:00
8dcc
b0b54faf14
Add extra_player_info_cs_t struct
...
Same as extra_player_info_t but for cstrike
Change members of old one with stdint types
2023-07-28 16:30:24 +02:00
8dcc
91944e7f64
Typo
2023-07-28 15:49:01 +02:00
8dcc
418f1afaca
Add get_cur_game to util.c
...
Reverse is_alive method to avoid esp on some dead people
Add game check to is_friend, since the team method only works on certain games
2023-07-28 15:43:51 +02:00
8dcc
de578033f2
Add this_game_id global
...
For storing the current game we are playing
2023-07-28 15:43:35 +02:00
8dcc
f924628fd9
Add hook comments
2023-07-28 15:33:18 +02:00
8dcc
66695a6dc3
Merge branch 'main' into player_extra_info
2023-07-27 22:15:26 +02:00
8dcc
fd0aea976f
Get player_extra_info symbol
2023-07-27 22:13:34 +02:00
8dcc
330c017600
Add extra_player_t struct to sdk.h
2023-07-27 22:13:06 +02:00
8dcc
9743b58ae4
Add is_friend template to util.c
2023-07-27 21:27:21 +02:00
8dcc
4e3d1ce996
Add h_* prefix to globals.h comment
2023-07-27 15:42:14 +02:00
8dcc
e1a56c7fb6
Get game_info global
2023-07-27 14:18:47 +02:00
8dcc
85233ce6e3
Add game_t struct to sdk.h
...
Thanks to @oixKKK for his time and for helping me
2023-07-27 14:17:57 +02:00
8dcc
ebe30c091a
Add cv_crosshair cvar
2023-07-26 22:03:32 +02:00
8dcc
b5981b1da3
Change default value of cv_chams
2023-07-26 16:33:53 +02:00
8dcc
dbc12b6fb5
Sync detour.h with upstream
...
Add GET_ORIGINAL()
2023-07-26 13:35:11 +02:00
8dcc
6e640f483e
Add engine_draw_text to util
2023-07-25 22:50:29 +02:00
8dcc
56217cc7f3
Add cv_clmove cvar
2023-07-25 22:10:26 +02:00
8dcc
74f222c1db
Hook CL_Move
...
Cheers, @Lak3!
Also add hooks_restore()
2023-07-25 20:37:45 +02:00
8dcc
a103a53fda
Add detour library for hooking
...
https://github.com/8dcc/detour-lib
2023-07-25 20:36:00 +02:00
8dcc
4b7cdc86b9
Add new_flags parameter to protect_addr
2023-07-25 20:35:50 +02:00
8dcc
b6cdb9a55d
Add glColor4f hook
...
Add GL_HOOK and GL_UNHOOK macros
2023-07-25 14:20:38 +02:00
8dcc
f3046d6ac8
Rename player functions from util
...
valid_client -> valid_player
get_entity -> get_player
2023-07-24 17:09:55 +02:00
8dcc
5858a2e4ec
Add cv_chams cvar
2023-07-24 17:03:06 +02:00
8dcc
4183a0c2f0
Add enginestudio interface
...
Not really an interface but whatever
2023-07-24 16:29:46 +02:00
8dcc
d5b8ce5b84
Add include to sdk
2023-07-24 16:28:35 +02:00
8dcc
78f0527317
Hook StudioRenderModel
2023-07-24 16:17:57 +02:00
8dcc
c48c4164f2
Add hClientDLL handler and i_studiomodelrenderer
...
Fix error string
2023-07-24 15:57:48 +02:00
8dcc
fee20bb1ec
Add unprotect_addr to util.c
2023-07-24 15:57:25 +02:00
8dcc
44f00ace13
Add StudioModelRenderer_t to sdk.h
2023-07-24 15:57:08 +02:00
8dcc
930ee5cef5
Add CLAMP macro and vec_clamp to util.c
2023-07-24 10:14:50 +02:00
8dcc
a257317f58
Add get_entity to util.c
...
With checks to make sure entity is correct
Remove is_alive check from valid_client
Fixes 41e6b012d9
2023-07-23 22:22:36 +02:00
8dcc
60847df031
Add vec_len2d and angle_delta_rad to util.c
2023-07-23 16:21:53 +02:00
8dcc
ee2b9803e4
Add DEG2RAD macro
2023-07-23 15:49:34 +02:00
8dcc
2141daae27
Add autostrafe cvar
2023-07-23 15:38:43 +02:00
8dcc
797c2183e2
Add gl_drawline_points to util.c
2023-07-23 14:35:52 +02:00
8dcc
fba031944e
Add gl_drawbox to util.c
2023-07-23 01:47:52 +02:00
8dcc
5aa85bc274
Add gl_drawline to util.c
2023-07-23 01:46:53 +02:00
8dcc
9ec237509d
Add vec3() function for creating 3d vecs
2023-07-23 00:34:10 +02:00
8dcc
25a9a474cf
Fix *_H_ defines
...
_NAME_H -> NAME_H_
Remove comments from sdk.h
Add credits for cl_clientfuncs_s
2023-07-22 16:31:48 +02:00
8dcc
33494b415f
Move util functions to util.c
...
Move vec2_t to util.h
2023-07-22 16:16:09 +02:00
8dcc
082a03878e
Add triangleapi inlcude to sdk
2023-07-22 15:48:19 +02:00
8dcc
24c1d796d9
Add esp cvar
2023-07-21 15:49:01 +02:00
8dcc
77a8a97a0f
Add HUD_Redraw hook
2023-07-21 15:42:01 +02:00
8dcc
90ef1e4105
Update CVAR_HACK_ID
2023-07-21 13:49:12 +02:00
8dcc
9d9398e764
Add cvars.h header
...
With macros for declaring cvar_t ptrs in source and header, registering
new cvars and checking if the value is positive.
Also cvars_init function and cv_bhop declaration
2023-07-21 13:43:23 +02:00
8dcc
02517bf975
Add cvardef include to sdk.h
2023-07-21 13:43:00 +02:00