changed config.rc to the more unique ngunix.rc

This commit is contained in:
eukos 2015-08-07 12:47:38 +02:00
parent 1bb3c4ae7f
commit 0f61ec3357
2 changed files with 58 additions and 4 deletions

View file

@ -408,10 +408,10 @@ void Host_WriteConfiguration (void)
fclose (f);
// 2001-09-18 New cvar system by Maddes start
f = fopen (va("%s/config.rc",com_gamedir), "w");
f = fopen (va("%s/ngunix.rc",com_gamedir), "w");
if (!f)
{
Con_Printf ("Couldn't write config.rc.\n");
Con_Printf ("Couldn't write ngunix.rc.\n");
return;
}
@ -1442,7 +1442,7 @@ void Host_Init (quakeparms_t *parms)
#endif
}
Cbuf_InsertText ("exec config.rc\n"); // 2001-09-18 New cvar system by Maddes
Cbuf_InsertText ("exec ngunix.rc\n"); // 2001-09-18 New cvar system by Maddes
// this creates all missing variables
// some of them will be updated by config.cfg executed in quake.rc
// this way you can use a non-set-compatible engine without loosing your new cvars
@ -1459,7 +1459,7 @@ void Host_Init (quakeparms_t *parms)
Sys_Printf ("========Quake Initialized=========\n");
Sys_Printf ("========Game Initialized=========\n");
}

54
tracker/tracker_null.c Normal file
View file

@ -0,0 +1,54 @@
/*
Copyright (C) 1996-1997 Id Software, Inc.
Copyright (C) 2015 Marco "eukara" Hladik
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "quakedef.h"
void Tracker_Play(byte track, qboolean looping)
{
}
void Tracker_Stop(void)
{
}
void Tracker_Pause(void)
{
}
void Tracker_Resume(void)
{
}
static void Tracker_f (void)
{
}
void Tracker_Update(void)
{
}
int Tracker_Init(void)
{
}
void Tracker_Shutdown(void)
{
}