Skip to content

Commit

Permalink
Remove CHooker, hook pfnOnFreeEntPrivateData instead
Browse files Browse the repository at this point in the history
  • Loading branch information
rsKliPPy committed Feb 24, 2017
1 parent 4fd37e1 commit 06ab0f4
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 940 deletions.
1 change: 0 additions & 1 deletion AMBuildScript
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ if builder.target_platform == 'linux':
binary = cxx.Library(name)
binary.sources += [
'source/amxx_api.cpp',
'source/module.cpp',
'source/natives.cpp',

'public/amxxsdk/amxxmodule.cpp'
Expand Down
8 changes: 4 additions & 4 deletions public/amxxsdk/moduleconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* to add multiple entries.
*/
#define MODULE_NAME "Custom Entity Data"
#define MODULE_VERSION "1.0.1"
#define MODULE_VERSION "1.0.2"
#define MODULE_AUTHOR "KliPPy"
#define MODULE_URL "http://"
#define MODULE_LOGTAG "CED"
Expand Down Expand Up @@ -66,12 +66,12 @@
#define FN_AMXX_ATTACH OnAmxxAttach

/** AMXX Detach (unload) */
#define FN_AMXX_DETACH OnAmxxDetach
//#define FN_AMXX_DETACH OnAmxxDetach

/** All plugins loaded
* Do forward functions init here (MF_RegisterForward)
*/
//#define FN_AMXX_PLUGINSLOADED OnPluginsLoaded
#define FN_AMXX_PLUGINSLOADED OnPluginsLoaded

/** All plugins are about to be unloaded */
//#define FN_AMXX_PLUGINSUNLOADING OnPluginsUnloading
Expand Down Expand Up @@ -497,7 +497,7 @@
// #define FN_GameShutdown GameShutdown
// #define FN_ShouldCollide ShouldCollide

// #define FN_OnFreeEntPrivateData_Post OnFreeEntPrivateData_Post
#define FN_OnFreeEntPrivateData_Post OnFreeEntPrivateData_Post
// #define FN_GameShutdown_Post GameShutdown_Post
// #define FN_ShouldCollide_Post ShouldCollide_Post

Expand Down
Loading

0 comments on commit 06ab0f4

Please sign in to comment.