mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-19 02:00:46 +00:00
oops
This commit is contained in:
parent
93c098eb87
commit
bbbd94d707
2 changed files with 0 additions and 35 deletions
|
@ -30,33 +30,6 @@
|
|||
$Id$
|
||||
*/
|
||||
|
||||
#include <cvar.h>
|
||||
#include <quakefs.h>
|
||||
#include <quakedef.h>
|
||||
|
||||
cvar_t *registered;
|
||||
|
||||
/*
|
||||
register_check
|
||||
|
||||
Look for gfx/pop.lmp (only found in ID's registered quake pak files),
|
||||
and set the "registered" cvar to 1 if found.
|
||||
*/
|
||||
void
|
||||
register_check ( void )
|
||||
{
|
||||
QFile *h;
|
||||
|
||||
registered = Cvar_Get ("registered","0",0,"None");
|
||||
|
||||
COM_FOpenFile("gfx/pop.lmp", &h);
|
||||
|
||||
if (h) {
|
||||
Cvar_Set (registered, "1");
|
||||
Qclose (h);
|
||||
}
|
||||
}
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cl_slist.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -30,14 +30,6 @@
|
|||
$Id$
|
||||
*/
|
||||
|
||||
#ifndef _REGISTER_CHECK_H
|
||||
#define _REGISTER_CHECK_H
|
||||
|
||||
extern struct cvar_s *registered;
|
||||
void register_check ();
|
||||
|
||||
#endif // _REGISTER_CHECK_H
|
||||
|
||||
#include <quakeio.h>
|
||||
#define MAX_SERVER_LIST 256
|
||||
|
||||
|
|
Loading…
Reference in a new issue