Add detour library for hooking

https://github.com/8dcc/detour-lib
This commit is contained in:
8dcc
2023-07-25 20:36:00 +02:00
parent 4b7cdc86b9
commit a103a53fda
3 changed files with 159 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ INCLUDES=-Isrc/include/sdk/common -Isrc/include/sdk/public -Isrc/include/sdk/pm_
CFLAGS=-Wall -Wextra -Wno-write-strings -m32 -fPIC $(INCLUDES)
LDFLAGS=-lm
OBJS=obj/main.c.o obj/globals.c.o obj/cvars.c.o obj/hooks.c.o obj/util.c.o obj/features/movement.c.o obj/features/esp.c.o obj/features/chams.c.o
OBJS=obj/main.c.o obj/globals.c.o obj/cvars.c.o obj/hooks.c.o obj/detour.c.o obj/util.c.o obj/features/movement.c.o obj/features/esp.c.o obj/features/chams.c.o
BIN=libhlcheat.so
.PHONY: clean all inject