From 8ae1d4ce276695a3df3dbc043fb16ac8b0cffe8a Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 9 Jul 2005 07:09:08 +0000 Subject: [PATCH] New offsets from karlos (at15812) --- dlls/ns/ns/ns_const.h | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/dlls/ns/ns/ns_const.h b/dlls/ns/ns/ns_const.h index bd4c90cc..1dc92b7a 100755 --- a/dlls/ns/ns/ns_const.h +++ b/dlls/ns/ns/ns_const.h @@ -2,67 +2,56 @@ #ifndef NS_CONST_H #define NS_CONST_H - - // Offsets (used in NPData.cpp) #define OFFSET_WIN_RESOURCES 1604 #define OFFSET_LIN_RESOURCES 1624 -#define OFFSET_WIN_WEAPDMG 200 +#define OFFSET_WIN_WEAPDMG 404 #define OFFSET_LIN_WEAPDMG 216 #define OFFSET_WIN_WEAPRANGE 196 #define OFFSET_LIN_WEAPRANGE 212 -#define OFFSET_WIN_WEAPCLIP 160 +#define OFFSET_WIN_WEAPCLIP 364 #define OFFSET_LIN_WEAPCLIP 176 #define OFFSET_WIN_HIVE_TRAIT 312 #define OFFSET_LIN_HIVE_TRAIT 296 -#define OFFSET_WIN_SCORE 6432 +#define OFFSET_WIN_SCORE 6636 #define OFFSET_LIN_SCORE 6308 #define OFFSET_WIN_EXP 6368 #define OFFSET_LIN_EXP 6256 -#define OFFSET_WIN_POINTS 6376 +#define OFFSET_WIN_POINTS 1808 #define OFFSET_LIN_POINTS 6264 -#define OFFSET_WIN_AMMO_LMG 912 +#define OFFSET_WIN_AMMO_LMG 1116 #define OFFSET_LIN_AMMO_LMG 932 -#define OFFSET_WIN_AMMO_PISTOL 916 +#define OFFSET_WIN_AMMO_PISTOL 1120 #define OFFSET_LIN_AMMO_PISTOL 936 -#define OFFSET_WIN_AMMO_SHOTGUN 920 +#define OFFSET_WIN_AMMO_SHOTGUN 1124 #define OFFSET_LIN_AMMO_SHOTGUN 940 - -#define OFFSET_WIN_AMMO_HMG 924 +#define OFFSET_WIN_AMMO_HMG 1128 #define OFFSET_LIN_AMMO_HMG 944 - -#define OFFSET_WIN_AMMO_GL 928 +#define OFFSET_WIN_AMMO_GL 1132 #define OFFSET_LIN_AMMO_GL 948 -#define OFFSET_WIN_AMMO_HG 932 // Couldn't find anything at this offset but other weapons haven't changed. -#define OFFSET_LIN_AMMO_HG 952 // Offset 880 is the only one to change when you get a grenade, but data in it makes no sense. +#define OFFSET_WIN_AMMO_HG 1136 // Couldn't find anything at this offset but other weapons haven't changed. +#define OFFSET_LIN_AMMO_HG 952 // Offset 880 is the only one to change when you get a grenade, but data in it makes no sense. -#define OFFSET_WIN_DEATHS 1176 +#define OFFSET_WIN_DEATHS 1380 #define OFFSET_LIN_DEATHS 1196 #define OFFSET_WIN_STRUCTOWNER 120 #define OFFSET_LIN_STRUCTOWNER 136 - - - - - - - enum { MASK_NONE = 0,