mirror of
https://github.com/blendogames/thirtyflightsofloving.git
synced 2025-01-17 22:21:07 +00:00
Added "This file is generated by Extractfuncs, do not modify" comment to header ouput for extractfuncs.
This commit is contained in:
parent
304e3e30c4
commit
f4d66df31b
18 changed files with 29 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 ) ;
|
||||
|
|
|
@ -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},
|
||||
|
|
|
@ -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 ;
|
||||
|
|
|
@ -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},
|
||||
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
{0, 0}
|
|
@ -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 ) ;
|
||||
|
|
|
@ -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},
|
||||
|
|
|
@ -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 ;
|
||||
|
|
|
@ -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},
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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 ) ;
|
||||
|
|
|
@ -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},
|
||||
|
|
|
@ -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 ;
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Reference in a new issue