Reworked file inclusion (using relative path)

This commit is contained in:
OM 2023-06-17 01:24:20 +02:00
parent 2ac8f3e39d
commit c287638f99
67 changed files with 147 additions and 146 deletions

View file

@ -44,8 +44,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "g_phys.h"
#include "debuglines.h"
#include "scriptexception.h"
#include <parm.h>
#include <tiki.h>
#include "parm.h"
#include "../qcommon/tiki.h"
#include <cmath>

View file

@ -30,10 +30,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "actorenemy.h"
#include "level.h"
#include "game.h"
#include <gamescript.h>
#include <scriptmaster.h>
#include "gamescript.h"
#include "scriptmaster.h"
#include "grenadehint.h"
#include <parm.h>
#include "parm.h"
extern Event EV_Actor_Start;
extern Event EV_Actor_Dead;

View file

@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifndef __BODY_H__
#define __BODY_H__
#include <animate.h>
#include "animate.h"
//=============================================================
//class Body

View file

@ -947,7 +947,7 @@ inline int Entity::CurrentAnim
return 0;
}
#include <world.h>
#include "world.h"
#endif

View file

@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "player.h"
#include "playerbot.h"
#include "playerstart.h"
#include <scriptmaster.h>
#include "scriptmaster.h"
// g_client.c -- client functions that don't happen every frame

View file

@ -24,9 +24,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "glb_local.h"
#include "g_spawn.h"
#include <scriptvariable.h>
#include <object.h>
#include <tiki.h>
#include "../script/scriptvariable.h"
#include "object.h"
#include "../qcommon/tiki.h"
#ifdef GAME_DLL
#include "../fgame/entity.h"

View file

@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "entity.h"
#include "trigger.h"
#include "sentient.h"
#include <gamescript.h>
#include "gamescript.h"
extern Event EV_Item_Pickup;
extern Event EV_Item_DropToFloor;

View file

@ -27,8 +27,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define __MOVEGRID_H__
#include "g_local.h"
#include <class.h>
#include <archive.h>
#include "../qcommon/class.h"
#include "../fgame/archive.h"
typedef struct vehicleState_s {
float origin[ 3 ];

View file

@ -50,15 +50,15 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#elif defined ( GAME_DLL )
#include <hud.h>
#include "hud.h"
#include "../fgame/dm_team.h"
#include "../fgame/player.h"
#include "../fgame/entity.h"
#include "../fgame/huddraw.h"
#include "../fgame/weaputils.h"
#include "../fgame/camera.h"
#include "../fgame/consoleevent.h"
#include "dm_team.h"
#include "player.h"
#include "entity.h"
#include "huddraw.h"
#include "weaputils.h"
#include "camera.h"
#include "consoleevent.h"
#define SCRIPT_Printf gi.Printf
#define SCRIPT_DPrintf gi.DPrintf

View file

@ -21,7 +21,7 @@
#include "slre.h"
#include <md5.h>
#include "md5.h"
#ifdef WIN32
#include <direct.h>

View file

@ -33,7 +33,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "ammo.h"
#include "queue.h"
#include "sentient.h"
#include <scriptmaster.h>
#include "../fgame/scriptmaster.h"
extern Event EV_Weapon_GiveStartingAmmo;
extern Event EV_Weapon_SetAmmoInClip;

View file

@ -34,7 +34,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "simpleentity.h"
#endif
#include <gamescript.h>
#include "gamescript.h"
#define WORLD_CINEMATIC 1