1
0
forked from 0ad/0ad

add ps/Errors.h and/or lib/types.h headers (shouldn't rely on precompiled.h to pull those in).

also prepended ps/ to make location clear.

This was SVN commit r1652.
This commit is contained in:
janwas 2005-01-07 00:47:44 +00:00
parent 3c2b7aa24c
commit f7e82dbc16
13 changed files with 17 additions and 5 deletions

View File

@ -12,6 +12,8 @@
class CVector3D;
class CTerrain;
#include "lib/types.h"
///////////////////////////////////////////////////////////////////////////////
// CHFTracer: a class for determining ray intersections with a heightfield
class CHFTracer

View File

@ -17,6 +17,7 @@ gee@pyro.nu
#ifndef CGUI_H
#define CGUI_H
#include "ps/errors.h"
ERROR_GROUP(GUI);
ERROR_TYPE(GUI, JSOpenFailed);

View File

@ -5,7 +5,7 @@
#include <string>
#include "Errors.h"
#include "ps/Errors.h"
namespace I18n
{

View File

@ -3,6 +3,8 @@
#include "lib/res/handle.h"
#include "ps/CStr.h"
#include "ps/errors.h"
ERROR_GROUP(CVFSFile);
ERROR_TYPE(CVFSFile, LoadFailed);
ERROR_TYPE(CVFSFile, AlreadyLoaded);

View File

@ -2,7 +2,7 @@
#include "precompiled.h"
#include "Errors.h"
#include "ps/Errors.h"
class PSERROR_CVFSFile : public PSERROR {};
class PSERROR_Error : public PSERROR {};

View File

@ -3,7 +3,7 @@
// Kludge: Our included headers might want to subgroup the Game group, so do it
// here, before including the other guys
#include "Errors.h"
#include "ps/Errors.h"
ERROR_GROUP(Game);
#include "World.h"

View File

@ -1,6 +1,7 @@
#include "precompiled.h"
#include "StringConvert.h"
#include "lib/types.h"
#include <assert.h>

View File

@ -2,7 +2,7 @@
#include "CStr.h"
#include "CLogger.h"
#include "Errors.h"
#include "ps/Errors.h"
#include "World.h"
#include "MapReader.h"

View File

@ -11,6 +11,7 @@
#ifndef _XEROMYCES_H_
#define _XEROMYCES_H_
#include "ps/errors.h"
ERROR_GROUP(Xeromyces);
ERROR_TYPE(Xeromyces, XMLOpenFailed);
ERROR_TYPE(Xeromyces, XMLParseError);

View File

@ -7,6 +7,7 @@
///////////////////////////////////////////////////////////////////////////////
#include "precompiled.h"
#include "ps/errors.h"
#include "ogl.h"
#include "Renderer.h"
#include "VertexBuffer.h"

View File

@ -2,7 +2,7 @@
#ifndef _SCRIPTINGHOST_H_
#define _SCRIPTINGHOST_H_
#include "Errors.h"
#include "ps/Errors.h"
ERROR_GROUP(Scripting);
ERROR_TYPE(Scripting, RuntimeCreationFailed);

View File

@ -1,6 +1,8 @@
#ifndef _Simulation_H
#define _Simulation_H
#include "lib/types.h"
class CGame;
class CGameAttributes;
class CWorld;

View File

@ -5,6 +5,8 @@
//#include "Network/Network.h"
#include <vector>
#include "lib/types.h"
class CGameRecord;
class CNetMessage;
class IMessagePipeEnd;