added uniform #ifdef _xxx_H encapsulation and appropriate includes to avoid header dependencies and circular conflicts

(work in progress, need to clean .c files as well)
This commit is contained in:
Yan Sweitzer 2000-05-19 06:44:56 +00:00
parent 4a5ffaed66
commit 440b2aec18
41 changed files with 315 additions and 171 deletions

View file

@ -22,6 +22,22 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef _CLIENT_H
#define _CLIENT_H
// since all headers are circular-protected with #ifdef _xxx_H
// try to get them self-sufficient by including whatever other
// headers they might need
#include <stdio.h>
#include "common.h"
#include "mathlib.h"
#include "protocol.h"
#include "zone.h"
#include "net.h"
#include "model.h"
#include "sound.h"
#include "render.h"
#include "cvar.h"
typedef struct
{
char name[16];