diff --git a/extractfuncs/extractfuncs.c b/extractfuncs/extractfuncs.c index 9ea303c..234b53d 100644 --- a/extractfuncs/extractfuncs.c +++ b/extractfuncs/extractfuncs.c @@ -180,6 +180,8 @@ void DumpReplaceFunctions (char *typeName) Q_strncatz (path, sizeof(path), PATHSEPERATOR_STR); Q_strncatz (path, sizeof(path), TEMP_LIST_NAME); Log_Open( path ); + Log_Print( "// This file is generated by Extractfuncs, do not modify.\n" ); + Log_Print( "// Run extractfuncs.bat/.sh to update for function/data changes.\n" ); for ( rf = replacefuncs; rf; rf = rf->next ) { if (typeName) @@ -292,13 +294,15 @@ void DumpReplaceFunctions (char *typeName) // strncpy (path, TEMP_DECS_NAME); Q_strncpyz (path, sizeof(path), TEMP_DECS_NAME); Log_Open( path ); + Log_Print( "// This file is generated by Extractfuncs, do not modify.\n" ); + Log_Print( "// Run extractfuncs.bat/.sh to update for function/data changes.\n" ); for ( rf = replacefuncs; rf; rf = rf->next ) { if (typeName) Log_Print( "extern %s %s;\n", typeName, rf->dec ); else Log_Print( "extern %s;\n", rf->dec ); - } //end for + } // end for Log_Close(); // if it's different, rename the file over the real header diff --git a/game/g_func_decs.h b/game/g_func_decs.h index 3da9d1a..d701285 100644 --- a/game/g_func_decs.h +++ b/game/g_func_decs.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. extern void Info_SetValueForKey ( char * s , char * key , char * value ) ; extern qboolean Info_Validate ( char * s ) ; extern void Info_RemoveKey ( char * s , char * key ) ; diff --git a/game/g_func_list.h b/game/g_func_list.h index cf74c79..77b5efd 100644 --- a/game/g_func_list.h +++ b/game/g_func_list.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. {"Info_SetValueForKey", (byte *)Info_SetValueForKey}, {"Info_Validate", (byte *)Info_Validate}, {"Info_RemoveKey", (byte *)Info_RemoveKey}, diff --git a/game/g_mmove_decs.h b/game/g_mmove_decs.h index 4564154..edb1908 100644 --- a/game/g_mmove_decs.h +++ b/game/g_mmove_decs.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. extern mmove_t tank_move_death ; extern mmove_t tank_move_attack_chain ; extern mmove_t tank_move_attack_post_rocket ; diff --git a/game/g_mmove_list.h b/game/g_mmove_list.h index 94b12a2..b4f4188 100644 --- a/game/g_mmove_list.h +++ b/game/g_mmove_list.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. {"tank_move_death", &tank_move_death}, {"tank_move_attack_chain", &tank_move_attack_chain}, {"tank_move_attack_post_rocket", &tank_move_attack_post_rocket}, diff --git a/missionpack/extractfuncs/extractfuncs.exe b/missionpack/extractfuncs/extractfuncs.exe index 187a408..1f72a91 100644 Binary files a/missionpack/extractfuncs/extractfuncs.exe and b/missionpack/extractfuncs/extractfuncs.exe differ diff --git a/missionpack/extractfuncs/g_func_decs.h b/missionpack/extractfuncs/g_func_decs.h deleted file mode 100644 index e69de29..0000000 diff --git a/missionpack/extractfuncs/g_func_list.h b/missionpack/extractfuncs/g_func_list.h deleted file mode 100644 index dac087e..0000000 --- a/missionpack/extractfuncs/g_func_list.h +++ /dev/null @@ -1 +0,0 @@ -{0, 0} diff --git a/missionpack/g_func_decs.h b/missionpack/g_func_decs.h index a8ba9c2..60b8db7 100644 --- a/missionpack/g_func_decs.h +++ b/missionpack/g_func_decs.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. extern void Weapon_FlareGun ( edict_t * ent ) ; extern void Weapon_FlareLauncher_Fire ( edict_t * ent ) ; extern void fire_flare ( edict_t * self , vec3_t start , vec3_t dir , int damage , int speed , float damage_radius , int radius_damage ) ; diff --git a/missionpack/g_func_list.h b/missionpack/g_func_list.h index 0e370eb..a14e4ea 100644 --- a/missionpack/g_func_list.h +++ b/missionpack/g_func_list.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. {"Weapon_FlareGun", (byte *)Weapon_FlareGun}, {"Weapon_FlareLauncher_Fire", (byte *)Weapon_FlareLauncher_Fire}, {"fire_flare", (byte *)fire_flare}, diff --git a/missionpack/g_mmove_decs.h b/missionpack/g_mmove_decs.h index 6cd8027..dc7fc7e 100644 --- a/missionpack/g_mmove_decs.h +++ b/missionpack/g_mmove_decs.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. extern mmove_t sentien_move_death2 ; extern mmove_t sentien_move_death1 ; extern mmove_t sentien_move_pain3 ; diff --git a/missionpack/g_mmove_list.h b/missionpack/g_mmove_list.h index e48670e..bda5bd6 100644 --- a/missionpack/g_mmove_list.h +++ b/missionpack/g_mmove_list.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. {"sentien_move_death2", &sentien_move_death2}, {"sentien_move_death1", &sentien_move_death1}, {"sentien_move_pain3", &sentien_move_pain3}, diff --git a/tools_bin/extractfuncs.exe b/tools_bin/extractfuncs.exe index 187a408..5fe7dbd 100644 Binary files a/tools_bin/extractfuncs.exe and b/tools_bin/extractfuncs.exe differ diff --git a/zaero/extractfuncs/extractfuncs.exe b/zaero/extractfuncs/extractfuncs.exe index 187a408..1f72a91 100644 Binary files a/zaero/extractfuncs/extractfuncs.exe and b/zaero/extractfuncs/extractfuncs.exe differ diff --git a/zaero/g_func_decs.h b/zaero/g_func_decs.h index 2278146..98c5198 100644 --- a/zaero/g_func_decs.h +++ b/zaero/g_func_decs.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. extern void Action_Push ( edict_t * ent ) ; extern qboolean push_hit ( edict_t * self , vec3_t start , vec3_t aim , int damage , int kick ) ; extern void Weapon_A2k ( edict_t * ent ) ; diff --git a/zaero/g_func_list.h b/zaero/g_func_list.h index e5bd76e..268fe0c 100644 --- a/zaero/g_func_list.h +++ b/zaero/g_func_list.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. {"Action_Push", (byte *)Action_Push}, {"push_hit", (byte *)push_hit}, {"Weapon_A2k", (byte *)Weapon_A2k}, diff --git a/zaero/g_mmove_decs.h b/zaero/g_mmove_decs.h index b088925..f0f541d 100644 --- a/zaero/g_mmove_decs.h +++ b/zaero/g_mmove_decs.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. extern mmove_t sentien_move_death2 ; extern mmove_t sentien_move_death1 ; extern mmove_t sentien_move_pain3 ; diff --git a/zaero/g_mmove_list.h b/zaero/g_mmove_list.h index 76f416d..dbb4d7a 100644 --- a/zaero/g_mmove_list.h +++ b/zaero/g_mmove_list.h @@ -1,3 +1,5 @@ +// This file is generated by Extractfuncs, do not modify. +// Run extractfuncs.bat/.sh to update for function/data changes. {"sentien_move_death2", &sentien_move_death2}, {"sentien_move_death1", &sentien_move_death1}, {"sentien_move_pain3", &sentien_move_pain3},