summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/HPMHooking/HPMHooking.HPMHooksCore.inc8
-rw-r--r--src/plugins/HPMHooking/HPMHooking.HookingPoints.inc2
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Hooks.inc50
3 files changed, 0 insertions, 60 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.HPMHooksCore.inc b/src/plugins/HPMHooking/HPMHooking.HPMHooksCore.inc
index 77dfef632..7f26bd208 100644
--- a/src/plugins/HPMHooking/HPMHooking.HPMHooksCore.inc
+++ b/src/plugins/HPMHooking/HPMHooking.HPMHooksCore.inc
@@ -2459,8 +2459,6 @@ struct {
struct HPMHookPoint *HP_itemdb_reload_post;
struct HPMHookPoint *HP_itemdb_name_constants_pre;
struct HPMHookPoint *HP_itemdb_name_constants_post;
- struct HPMHookPoint *HP_itemdb_force_name_constants_pre;
- struct HPMHookPoint *HP_itemdb_force_name_constants_post;
struct HPMHookPoint *HP_itemdb_read_groups_pre;
struct HPMHookPoint *HP_itemdb_read_groups_post;
struct HPMHookPoint *HP_itemdb_read_chains_pre;
@@ -4055,8 +4053,6 @@ struct {
struct HPMHookPoint *HP_script_set_constant_post;
struct HPMHookPoint *HP_script_set_constant2_pre;
struct HPMHookPoint *HP_script_set_constant2_post;
- struct HPMHookPoint *HP_script_set_constant_force_pre;
- struct HPMHookPoint *HP_script_set_constant_force_post;
struct HPMHookPoint *HP_script_get_constant_pre;
struct HPMHookPoint *HP_script_get_constant_post;
struct HPMHookPoint *HP_script_label_add_pre;
@@ -7486,8 +7482,6 @@ struct {
int HP_itemdb_reload_post;
int HP_itemdb_name_constants_pre;
int HP_itemdb_name_constants_post;
- int HP_itemdb_force_name_constants_pre;
- int HP_itemdb_force_name_constants_post;
int HP_itemdb_read_groups_pre;
int HP_itemdb_read_groups_post;
int HP_itemdb_read_chains_pre;
@@ -9082,8 +9076,6 @@ struct {
int HP_script_set_constant_post;
int HP_script_set_constant2_pre;
int HP_script_set_constant2_post;
- int HP_script_set_constant_force_pre;
- int HP_script_set_constant_force_post;
int HP_script_get_constant_pre;
int HP_script_get_constant_post;
int HP_script_label_add_pre;
diff --git a/src/plugins/HPMHooking/HPMHooking.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking.HookingPoints.inc
index c964054e1..e6f593187 100644
--- a/src/plugins/HPMHooking/HPMHooking.HookingPoints.inc
+++ b/src/plugins/HPMHooking/HPMHooking.HookingPoints.inc
@@ -1248,7 +1248,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(itemdb->final, HP_itemdb_final) },
{ HP_POP(itemdb->reload, HP_itemdb_reload) },
{ HP_POP(itemdb->name_constants, HP_itemdb_name_constants) },
- { HP_POP(itemdb->force_name_constants, HP_itemdb_force_name_constants) },
{ HP_POP(itemdb->read_groups, HP_itemdb_read_groups) },
{ HP_POP(itemdb->read_chains, HP_itemdb_read_chains) },
{ HP_POP(itemdb->read_packages, HP_itemdb_read_packages) },
@@ -2061,7 +2060,6 @@ struct HookingPointData HookingPoints[] = {
{ HP_POP(script->pop_stack, HP_script_pop_stack) },
{ HP_POP(script->set_constant, HP_script_set_constant) },
{ HP_POP(script->set_constant2, HP_script_set_constant2) },
- { HP_POP(script->set_constant_force, HP_script_set_constant_force) },
{ HP_POP(script->get_constant, HP_script_get_constant) },
{ HP_POP(script->label_add, HP_script_label_add) },
{ HP_POP(script->run, HP_script_run) },
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;