summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking.Hooks.inc
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2014-01-13 04:22:28 +0100
committerHerculesWSAPI <Hercules@efficiently.awesome>2014-01-13 04:22:28 +0100
commitb37691acc264ad6a897cbeb5441738bd9d1495eb (patch)
tree7b6ef14433b8b3952e935f28d079ef90969245cc /src/plugins/HPMHooking/HPMHooking.Hooks.inc
parent8eadb9fc241e1784084625e89b208d80bda9e6e2 (diff)
downloadhercules-b37691acc264ad6a897cbeb5441738bd9d1495eb.tar.gz
hercules-b37691acc264ad6a897cbeb5441738bd9d1495eb.tar.bz2
hercules-b37691acc264ad6a897cbeb5441738bd9d1495eb.tar.xz
hercules-b37691acc264ad6a897cbeb5441738bd9d1495eb.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Hooks.inc50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Hooks.inc b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
index 9bbb01ade..2e4b62835 100644
--- a/src/plugins/HPMHooking/HPMHooking.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Hooks.inc
@@ -31324,31 +31324,6 @@ void HP_itemdb_name_constants(void) {
}
return;
}
-void HP_itemdb_force_name_constants(void) {
- int hIndex = 0;
- if( HPMHooks.count.HP_itemdb_force_name_constants_pre ) {
- void (*preHookFunc) (void);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_force_name_constants_pre; hIndex++ ) {
- preHookFunc = HPMHooks.list.HP_itemdb_force_name_constants_pre[hIndex].func;
- preHookFunc();
- }
- if( *HPMforce_return ) {
- *HPMforce_return = false;
- return;
- }
- }
- {
- HPMHooks.source.itemdb.force_name_constants();
- }
- if( HPMHooks.count.HP_itemdb_force_name_constants_post ) {
- void (*postHookFunc) (void);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_itemdb_force_name_constants_post; hIndex++ ) {
- postHookFunc = HPMHooks.list.HP_itemdb_force_name_constants_post[hIndex].func;
- postHookFunc();
- }
- }
- return;
-}
void HP_itemdb_read_groups(void) {
int hIndex = 0;
if( HPMHooks.count.HP_itemdb_read_groups_pre ) {
@@ -52283,31 +52258,6 @@ void HP_script_set_constant2(const char *name, int value, bool isparameter) {
}
return;
}
-void HP_script_set_constant_force(const char *name, int value, bool isparameter) {
- int hIndex = 0;
- if( HPMHooks.count.HP_script_set_constant_force_pre ) {
- void (*preHookFunc) (const char *name, int *value, bool *isparameter);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_constant_force_pre; hIndex++ ) {
- preHookFunc = HPMHooks.list.HP_script_set_constant_force_pre[hIndex].func;
- preHookFunc(name, &value, &isparameter);
- }
- if( *HPMforce_return ) {
- *HPMforce_return = false;
- return;
- }
- }
- {
- HPMHooks.source.script.set_constant_force(name, value, isparameter);
- }
- if( HPMHooks.count.HP_script_set_constant_force_post ) {
- void (*postHookFunc) (const char *name, int *value, bool *isparameter);
- for(hIndex = 0; hIndex < HPMHooks.count.HP_script_set_constant_force_post; hIndex++ ) {
- postHookFunc = HPMHooks.list.HP_script_set_constant_force_post[hIndex].func;
- postHookFunc(name, &value, &isparameter);
- }
- }
- return;
-}
bool HP_script_get_constant(const char *name, int *value) {
int hIndex = 0;
bool retVal___ = false;