From b70fb5b525cf68943f23ec2b807cafa7e2f0de33 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 14 Mar 2004 19:06:52 +0000 Subject: [PATCH] *** empty log message *** --- dlls/cstrike/Makefile | 4 ++-- dlls/cstrike/cstrike.h | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dlls/cstrike/Makefile b/dlls/cstrike/Makefile index 503e9fb6..dafc1cde 100755 --- a/dlls/cstrike/Makefile +++ b/dlls/cstrike/Makefile @@ -6,12 +6,12 @@ EXTRA_LIBS_WIN32 = EXTRA_LIBDIRS_LINUX = -Lextra/lib_linux EXTRA_LIBDIRS_WIN32 = -Lextra/lib_win32 -EXTRA_INCLUDEDIRS = -Iextra/include +EXTRA_INCLUDEDIRS = -Iextra/include -I../amxmodx EXTRA_FLAGS = -Dstrcmpi=strcasecmp SDKTOP=../hlsdk -METADIR=../metamod/metamod +METADIR=../metamodx SDKSRC=$(SDKTOP)/SourceCode diff --git a/dlls/cstrike/cstrike.h b/dlls/cstrike/cstrike.h index 6d0c4373..c2968c5f 100755 --- a/dlls/cstrike/cstrike.h +++ b/dlls/cstrike/cstrike.h @@ -1,4 +1,5 @@ -//#define __cswonbuild__ // comment when compiling for STEAM +#define __cswonbuild__ // comment when compiling for STEAM +#define CS_WON_BUILD /* AMX Mod X * Counter-Strike Module @@ -114,7 +115,9 @@ pfnmodule_engine_g* g_engModuleFunc; #define OFFSET_WEAPONTYPE 43 + EXTRAOFFSET // same as STEAM #define OFFSET_SILENCER_FIREMODE 70 + EXTRAOFFSET // differs -4 from STEAM // "hostage_entity" entities + #define OFFSET_HOSTAGEFOLLOW 86 + EXTRAOFFSET // NOT YET CHECKED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! find out before build #define OFFSET_HOSTAGEFOLLOW 86 + EXTRAOFFSET // same as STEAM +>>>>>>> 1.10 #define OFFSET_HOSTAGEID 487 + EXTRAOFFSET // same as STEAM #else // from here STEAM build looks for offsets // "player" entities