Commit Graph

63 Commits

Author SHA1 Message Date
8dcc 195f9831af Change features.h includes 2023-07-22 16:23:15 +02:00
8dcc db9068d86f Move features/include/*.h to features/features.h 2023-07-22 16:22:34 +02:00
8dcc a92d833e6e Add util.c to makefile 2023-07-22 16:16:18 +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 0f473bba4e Call esp() from HUD_Redraw hook
Draw localplayer pos bellow watermark
2023-07-22 16:06:18 +02:00
8dcc 19a21567e6 Add esp.c to makefile 2023-07-22 16:06:10 +02:00
8dcc f11378b38b Add esp source and header, with "utils" functions 2023-07-22 16:05:47 +02:00
8dcc 082a03878e Add triangleapi inlcude to sdk 2023-07-22 15:48:19 +02:00
8dcc 4913d4802c Fix globals_store and globals_restore 2023-07-22 15:48:01 +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 01312cb4b6 Add inline comments to constructor and destructor attributes 2023-07-21 13:59:38 +02:00
8dcc 4c5fbcd677 Add todo comment to unload() 2023-07-21 13:58:47 +02:00
8dcc 90ef1e4105 Update CVAR_HACK_ID 2023-07-21 13:49:12 +02:00
8dcc b25226b406 Add cv_bhop check to bhop() 2023-07-21 13:45:21 +02:00
8dcc 083778fad0 Add cvars_init() call to main 2023-07-21 13:44:53 +02:00
8dcc ad7b8b7615 Add cvars.c to the makefile 2023-07-21 13:44:41 +02:00
8dcc 2578db9486 Add cvars.c source with cv_bhop cvar 2023-07-21 13:44:18 +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
8dcc 6d9f73feb3 Add comment 2023-07-21 13:16:38 +02:00
8dcc 790de69b5c Add destructor for restoring globals 2023-07-21 07:02:38 +02:00
8dcc e86f10ec9f Add functions for storing and restoring globals 2023-07-21 07:02:26 +02:00
8dcc 80242d0a3f Add unload to injector script
Usage: ./inject unload
2023-07-21 06:29:41 +02:00
8dcc b76e33d526 Add reload option to loader
Automatically if loaded
2023-07-21 06:25:11 +02:00
8dcc 8216613d11 Add localplayer entity 2023-07-20 23:30:44 +02:00
8dcc e3af8bd39a Call bhop after original in CL_CreateMove 2023-07-20 23:21:01 +02:00
8dcc 1f1df22414 Add features folder and bhop 2023-07-20 23:20:39 +02:00
8dcc 5849eb2ed3 Add interface checks to globals_init 2023-07-20 23:19:50 +02:00
8dcc 0bab33a08e Add pmove interface 2023-07-20 20:40:34 +02:00
8dcc 8cbb80196f Add include to sdk.h 2023-07-20 20:39:53 +02:00
8dcc 4db305daa2 Change prefix for interfaces
gp_* -> i_*
go_* -> o_*
2023-07-20 20:25:49 +02:00
8dcc 6640f52047 README - Add submodules note 2023-07-20 18:10:45 +02:00
8dcc 97470382bb Remove .gitattributes 2023-07-20 18:06:12 +02:00
8dcc f1953cc433 Update sdk location 2023-07-20 18:05:40 +02:00
8dcc 923be5eb11 Remove sdk folder, add as submodule in include 2023-07-20 17:59:26 +02:00
8dcc 4a7bfcf6dd Call hooks_init from main
Fix typos
Change include order
2023-07-20 17:44:35 +02:00
8dcc 3f46b54139 Add hooks object to makefile 2023-07-20 17:44:26 +02:00
8dcc b7711d2503 Add hooks source
With hooks_init for hooking everything and CL_CreateMove hook
2023-07-20 17:44:04 +02:00
8dcc ef8504cdc9 Add hooks header
With macros for declaring hooks in header, in code, actually hooking and
calling the originals
Also with CL_CreateMove hooked
2023-07-20 17:42:06 +02:00
8dcc 9b20d7e71f Add usercmd_t include to sdk.h 2023-07-20 17:41:50 +02:00
8dcc b08e19d8fa Typo 2023-07-20 17:31:16 +02:00
8dcc ebb3f513d3 Change globals.h comment 2023-07-20 17:26:30 +02:00
8dcc 68c30891a8 Rename globals' macros
DECLARE -> DECL
SYMBOLS -> INTF
EXTERNS -> EXTERN
2023-07-20 16:38:02 +02:00
8dcc f395bb1efd README - Update description
Mention ahc by @deboogerxyz
2023-07-20 16:03:57 +02:00
8dcc ca5c060324 Fix .gitattributes 2023-07-20 15:57:57 +02:00
8dcc 340c5222b7 Comment unused sdk includes for now 2023-07-20 01:47:03 +02:00
8dcc 55fbf57d92 Add sdk header
With cl_clientfunc_t and sdk's includes
2023-07-20 01:45:45 +02:00
8dcc 6103ae8019 Add globals.c file
Declarations of the externs in the header
globals_init() function for getting the hw.so handler and the
gp_engine and gp_client symbol pointers
2023-07-20 01:44:20 +02:00
8dcc 12b3af41c1 Add header for globals.c
With DECLARE_SYMBOLS and DECLARE_EXTERNS macros
hw extern for hw.so handler
Externs engine and client symbol pointers (and originals)
globals_init function
2023-07-20 01:37:28 +02:00