Commit Graph

178 Commits

Author SHA1 Message Date
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
8dcc eb64855797 Add header for main.c 2023-07-20 01:37:16 +02:00
8dcc bd8c2521be Add self_unload to main, print symbol addresses
Echo from game console
2023-07-20 01:29:11 +02:00
8dcc 5c3899e093 Change compiler, add globals object file
Use g++ because of the sdk's headers
Add includes
Remove write-strings warning
2023-07-20 01:27:58 +02:00
8dcc dd6c31afc3 Add SDK 2023-07-20 00:00:57 +02:00
8dcc eeaca253f9 Remove gdb exit code as it's always 0 2023-07-19 20:31:02 +02:00
8dcc b241ce9604 README - Fix orgmode issues 2023-07-19 20:26:12 +02:00
8dcc 4549ddc570 Add constructor comment 2023-07-19 20:24:34 +02:00
8dcc 90ac0bbb99 README 2023-07-19 20:24:25 +02:00
8dcc 94156b8238 Add Makefile 2023-07-19 20:13:35 +02:00
8dcc 603baef039 Add injector script 2023-07-19 20:13:24 +02:00
8dcc ddbb36d191 Add main source 2023-07-19 19:39:50 +02:00
8dcc e5419df797 README 2023-07-18 22:05:07 +02:00
8dcc­ c3c7997f40
Initial commit 2023-07-18 22:03:59 +02:00