mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-25 11:19:59 +01:00
engine: add generated by version line to the config and help.txt files
Remove an attempt to copyright generated files came from the original Xash3D.
This commit is contained in:
parent
2ea0b0d60c
commit
7b02c37fa7
@ -266,7 +266,7 @@ static qboolean Touch_DumpConfig( const char *name, const char *profilename )
|
|||||||
}
|
}
|
||||||
|
|
||||||
FS_Printf( f, "//=======================================================================\n");
|
FS_Printf( f, "//=======================================================================\n");
|
||||||
FS_Printf( f, "//\tCopyright FWGS & XashXT group %s (c)\n", Q_timestamp( TIME_YEAR_ONLY ));
|
FS_Printf( f, "//\tGenerated by "XASH_ENGINE_NAME" (%i, %s, %s, %s-%s)\n", Q_buildnum(), Q_buildcommit(), Q_buildbranch(), Q_buildos(), Q_buildarch());
|
||||||
FS_Printf( f, "//\t\t\ttouchscreen config\n" );
|
FS_Printf( f, "//\t\t\ttouchscreen config\n" );
|
||||||
FS_Printf( f, "//=======================================================================\n" );
|
FS_Printf( f, "//=======================================================================\n" );
|
||||||
FS_Printf( f, "\ntouch_config_file \"%s\"\n", profilename );
|
FS_Printf( f, "\ntouch_config_file \"%s\"\n", profilename );
|
||||||
|
@ -1396,8 +1396,8 @@ void Host_WriteConfig( void )
|
|||||||
{
|
{
|
||||||
Con_Reportf( "%s()\n", __func__ );
|
Con_Reportf( "%s()\n", __func__ );
|
||||||
FS_Printf( f, "//=======================================================================\n");
|
FS_Printf( f, "//=======================================================================\n");
|
||||||
FS_Printf( f, "//\t\t\tCopyright XashXT Group & Flying With Gauss %s (C)\n", Q_timestamp( TIME_YEAR_ONLY ));
|
FS_Printf( f, "//\tGenerated by "XASH_ENGINE_NAME" (%i, %s, %s, %s-%s)\n", Q_buildnum(), Q_buildcommit(), Q_buildbranch(), Q_buildos(), Q_buildarch());
|
||||||
FS_Printf( f, "//\t\t\tconfig.cfg - archive of cvars\n" );
|
FS_Printf( f, "//\t\tconfig.cfg - archive of cvars\n" );
|
||||||
FS_Printf( f, "//=======================================================================\n" );
|
FS_Printf( f, "//=======================================================================\n" );
|
||||||
Key_WriteBindings( f );
|
Key_WriteBindings( f );
|
||||||
Cvar_WriteVariables( f, FCVAR_ARCHIVE );
|
Cvar_WriteVariables( f, FCVAR_ARCHIVE );
|
||||||
@ -1444,7 +1444,7 @@ void GAME_EXPORT Host_WriteServerConfig( const char *name )
|
|||||||
if(( f = FS_Open( newconfigfile, "w", false )) != NULL )
|
if(( f = FS_Open( newconfigfile, "w", false )) != NULL )
|
||||||
{
|
{
|
||||||
FS_Printf( f, "//=======================================================================\n" );
|
FS_Printf( f, "//=======================================================================\n" );
|
||||||
FS_Printf( f, "//\t\t\tCopyright XashXT Group & Flying With Gauss %s (C)\n", Q_timestamp( TIME_YEAR_ONLY ));
|
FS_Printf( f, "//\tGenerated by "XASH_ENGINE_NAME" (%i, %s, %s, %s-%s)\n", Q_buildnum(), Q_buildcommit(), Q_buildbranch(), Q_buildos(), Q_buildarch());
|
||||||
FS_Printf( f, "//\t\tgame.cfg - multiplayer server temporare config\n" );
|
FS_Printf( f, "//\t\tgame.cfg - multiplayer server temporare config\n" );
|
||||||
FS_Printf( f, "//=======================================================================\n" );
|
FS_Printf( f, "//=======================================================================\n" );
|
||||||
|
|
||||||
@ -1479,8 +1479,8 @@ void Host_WriteOpenGLConfig( void )
|
|||||||
{
|
{
|
||||||
Con_Reportf( "%s()\n", __func__ );
|
Con_Reportf( "%s()\n", __func__ );
|
||||||
FS_Printf( f, "//=======================================================================\n" );
|
FS_Printf( f, "//=======================================================================\n" );
|
||||||
FS_Printf( f, "//\t\t\tCopyright XashXT Group & Flying With Gauss %s (C)\n", Q_timestamp( TIME_YEAR_ONLY ));
|
FS_Printf( f, "//\tGenerated by "XASH_ENGINE_NAME" (%i, %s, %s, %s-%s)\n", Q_buildnum(), Q_buildcommit(), Q_buildbranch(), Q_buildos(), Q_buildarch());
|
||||||
FS_Printf( f, "//\t\t %s - archive of renderer implementation cvars\n", name );
|
FS_Printf( f, "//\t\t%s - archive of renderer implementation cvars\n", name );
|
||||||
FS_Printf( f, "//=======================================================================\n" );
|
FS_Printf( f, "//=======================================================================\n" );
|
||||||
FS_Printf( f, "\n" );
|
FS_Printf( f, "\n" );
|
||||||
Cmd_WriteOpenGLVariables( f );
|
Cmd_WriteOpenGLVariables( f );
|
||||||
@ -1509,7 +1509,7 @@ void Host_WriteVideoConfig( void )
|
|||||||
{
|
{
|
||||||
Con_Reportf( "%s()\n", __func__ );
|
Con_Reportf( "%s()\n", __func__ );
|
||||||
FS_Printf( f, "//=======================================================================\n" );
|
FS_Printf( f, "//=======================================================================\n" );
|
||||||
FS_Printf( f, "//\t\t\tCopyright XashXT Group & Flying With Gauss %s (C)\n", Q_timestamp( TIME_YEAR_ONLY ));
|
FS_Printf( f, "//\tGenerated by "XASH_ENGINE_NAME" (%i, %s, %s, %s-%s)\n", Q_buildnum(), Q_buildcommit(), Q_buildbranch(), Q_buildos(), Q_buildarch());
|
||||||
FS_Printf( f, "//\t\tvideo.cfg - archive of renderer variables\n");
|
FS_Printf( f, "//\t\tvideo.cfg - archive of renderer variables\n");
|
||||||
FS_Printf( f, "//=======================================================================\n" );
|
FS_Printf( f, "//=======================================================================\n" );
|
||||||
Cvar_WriteVariables( f, FCVAR_RENDERINFO );
|
Cvar_WriteVariables( f, FCVAR_RENDERINFO );
|
||||||
@ -1535,7 +1535,7 @@ void Key_EnumCmds_f( void )
|
|||||||
if( f )
|
if( f )
|
||||||
{
|
{
|
||||||
FS_Printf( f, "//=======================================================================\n");
|
FS_Printf( f, "//=======================================================================\n");
|
||||||
FS_Printf( f, "//\t\t\tCopyright XashXT Group & Flying With Gauss %s (C)\n", Q_timestamp( TIME_YEAR_ONLY ));
|
FS_Printf( f, "//\tGenerated by "XASH_ENGINE_NAME" (%i, %s, %s, %s-%s)\n", Q_buildnum(), Q_buildcommit(), Q_buildbranch(), Q_buildos(), Q_buildarch());
|
||||||
FS_Printf( f, "//\t\thelp.txt - xash commands and console variables\n");
|
FS_Printf( f, "//\t\thelp.txt - xash commands and console variables\n");
|
||||||
FS_Printf( f, "//=======================================================================\n");
|
FS_Printf( f, "//=======================================================================\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user