Reorder game files

This commit is contained in:
Yamagi Burmeister 2011-10-06 07:54:45 +00:00
parent 4063056f75
commit 91ffbf0ba5
73 changed files with 106 additions and 108 deletions

View File

@ -11,7 +11,6 @@
# #
# Dependencies: #
# - SDL 1.2 #
# - libX11 #
# - libGL #
# - libvorbis #
# - libogg #
@ -69,11 +68,6 @@ else ifeq ($(OSTYPE),FreeBSD)
LDFLAGS := -L/usr/local/lib -lm
endif
# ----------
# Converter rule
# ----------
# Builds everything
@ -188,36 +182,36 @@ BASEQ2_OBJS_ = \
src/game/baseq2/g_turret.o \
src/game/baseq2/g_utils.o \
src/game/baseq2/g_weapon.o \
src/game/baseq2/m_actor.o \
src/game/baseq2/m_berserk.o \
src/game/baseq2/m_boss2.o \
src/game/baseq2/m_boss3.o \
src/game/baseq2/m_boss31.o \
src/game/baseq2/m_boss32.o \
src/game/baseq2/m_brain.o \
src/game/baseq2/m_chick.o \
src/game/baseq2/m_flash.o \
src/game/baseq2/m_flipper.o \
src/game/baseq2/m_float.o \
src/game/baseq2/m_flyer.o \
src/game/baseq2/m_gladiator.o \
src/game/baseq2/m_gunner.o \
src/game/baseq2/m_hover.o \
src/game/baseq2/m_infantry.o \
src/game/baseq2/m_insane.o \
src/game/baseq2/m_medic.o \
src/game/baseq2/m_move.o \
src/game/baseq2/m_mutant.o \
src/game/baseq2/m_parasite.o \
src/game/baseq2/m_soldier.o \
src/game/baseq2/m_supertank.o \
src/game/baseq2/m_tank.o \
src/game/baseq2/p_client.o \
src/game/baseq2/p_hud.o \
src/game/baseq2/p_trail.o \
src/game/baseq2/p_view.o \
src/game/baseq2/p_weapon.o \
src/game/baseq2/q_shared.o \
src/game/baseq2/monster/actor/actor.o \
src/game/baseq2/monster/berserker/berserker.o \
src/game/baseq2/monster/boss2/boss2.o \
src/game/baseq2/monster/boss3/boss3.o \
src/game/baseq2/monster/boss3/boss31.o \
src/game/baseq2/monster/boss3/boss32.o \
src/game/baseq2/monster/brain/brain.o \
src/game/baseq2/monster/chick/chick.o \
src/game/baseq2/monster/flipper/flipper.o \
src/game/baseq2/monster/float/float.o \
src/game/baseq2/monster/flyer/flyer.o \
src/game/baseq2/monster/gladiator/gladiator.o \
src/game/baseq2/monster/gunner/gunner.o \
src/game/baseq2/monster/hover/hover.o \
src/game/baseq2/monster/infantry/infantry.o \
src/game/baseq2/monster/insane/insane.o \
src/game/baseq2/monster/medic/medic.o \
src/game/baseq2/monster/misc/move.o \
src/game/baseq2/monster/mutant/mutant.o \
src/game/baseq2/monster/parasite/parasite.o \
src/game/baseq2/monster/soldier/soldier.o \
src/game/baseq2/monster/supertank/supertank.o \
src/game/baseq2/monster/tank/tank.o \
src/game/baseq2/player/client.o \
src/game/baseq2/player/hud.o \
src/game/baseq2/player/trail.o \
src/game/baseq2/player/view.o \
src/game/baseq2/player/weapon.o \
src/game/baseq2/savegame/savegame.o
# Used by the client

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
extern cvar_t *maxclients;

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
void
UpdateChaseCam(edict_t *ent)

View File

@ -24,8 +24,8 @@
* =======================================================================
*/
#include "g_local.h"
#include "m_player.h"
#include "header/local.h"
#include "monster/header/player.h"
char *
ClientTeam(edict_t *ent)

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
/*
* Returns true if the inflictor can

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
/*
* =========================================================

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
#define HEALTH_IGNORE_MAX 1
#define HEALTH_TIMED 2

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
game_locals_t game;
level_locals_t level;

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
int gibsthisframe = 0;
int lastgibframe = 0;

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
void monster_start_go(edict_t *self);

View File

@ -25,7 +25,7 @@
*/
#include "g_local.h"
#include "header/local.h"
#define STOP_EPSILON 0.1
#define MAX_CLIP_PLANES 5

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
typedef struct
{

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
#define MAX_IPFILTERS 1024

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
/*
* QUAKED target_temp_entity (1 0 0) (-8 -8 -8) (8 8 8)

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
#define PUSH_ONCE 1

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
void infantry_die(edict_t *self, edict_t *inflictor, edict_t *attacker,
int damage);

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
#define MAXCHOICES 8

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "header/local.h"
/*
* This is a support routine used when a client is firing

View File

@ -24,7 +24,10 @@
* =======================================================================
*/
#include "q_shared.h"
#ifndef GAME_LOCAL_H
#define GAME_LOCAL_H
#include "../q_shared.h"
/* define GAME_INCLUDE so that game.h does not define the
short, server-visible gclient_t and edict_t structures,
@ -1124,3 +1127,4 @@ struct edict_s
#include "g_ctf.h"
#endif
#endif /* GAME_LOCAL_H */

View File

@ -19,8 +19,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// g_actor.c
#include "g_local.h"
#include "m_actor.h"
#include "../../header/local.h"
#include "actor.h"
#define MAX_ACTOR_NAMES 8
char *actor_names[MAX_ACTOR_NAMES] =

View File

@ -25,8 +25,8 @@ BERSERK
==============================================================================
*/
#include "g_local.h"
#include "m_berserk.h"
#include "../../header/local.h"
#include "berserker.h"
static int sound_pain;

View File

@ -25,8 +25,8 @@ boss2
==============================================================================
*/
#include "g_local.h"
#include "m_boss2.h"
#include "../../header/local.h"
#include "boss2.h"
void BossExplode (edict_t *self);

View File

@ -25,8 +25,8 @@ boss3
==============================================================================
*/
#include "g_local.h"
#include "m_boss32.h"
#include "../../header/local.h"
#include "boss32.h"
void Use_Boss3 (edict_t *ent, edict_t *other, edict_t *activator)
{

View File

@ -25,8 +25,8 @@ jorg
==============================================================================
*/
#include "g_local.h"
#include "m_boss31.h"
#include "../../header/local.h"
#include "boss31.h"
extern void SP_monster_makron (edict_t *self);
qboolean visible (edict_t *self, edict_t *other);

View File

@ -25,8 +25,8 @@ Makron -- Final Boss
==============================================================================
*/
#include "g_local.h"
#include "m_boss32.h"
#include "../../header/local.h"
#include "boss32.h"
qboolean visible (edict_t *self, edict_t *other);

View File

@ -25,8 +25,8 @@ brain
==============================================================================
*/
#include "g_local.h"
#include "m_brain.h"
#include "../../header/local.h"
#include "brain.h"
static int sound_chest_open;

View File

@ -25,8 +25,8 @@ chick
==============================================================================
*/
#include "g_local.h"
#include "m_chick.h"
#include "../../header/local.h"
#include "chick.h"
qboolean visible (edict_t *self, edict_t *other);

View File

@ -25,8 +25,8 @@ FLIPPER
==============================================================================
*/
#include "g_local.h"
#include "m_flipper.h"
#include "../../header/local.h"
#include "flipper.h"
static int sound_chomp;

View File

@ -25,8 +25,8 @@ floater
==============================================================================
*/
#include "g_local.h"
#include "m_float.h"
#include "../../header/local.h"
#include "float.h"
static int sound_attack2;

View File

@ -25,8 +25,8 @@ flyer
==============================================================================
*/
#include "g_local.h"
#include "m_flyer.h"
#include "../../header/local.h"
#include "flyer.h"
qboolean visible (edict_t *self, edict_t *other);

View File

@ -25,8 +25,8 @@ GLADIATOR
==============================================================================
*/
#include "g_local.h"
#include "m_gladiator.h"
#include "../../header/local.h"
#include "gladiator.h"
static int sound_pain1;

View File

@ -25,8 +25,8 @@ GUNNER
==============================================================================
*/
#include "g_local.h"
#include "m_gunner.h"
#include "../../header/local.h"
#include "gunner.h"
static int sound_pain;

View File

@ -25,8 +25,8 @@ hover
==============================================================================
*/
#include "g_local.h"
#include "m_hover.h"
#include "../../header/local.h"
#include "hover.h"
qboolean visible (edict_t *self, edict_t *other);

View File

@ -25,8 +25,8 @@ INFANTRY
==============================================================================
*/
#include "g_local.h"
#include "m_infantry.h"
#include "../../header/local.h"
#include "infantry.h"
void InfantryMachineGun (edict_t *self);

View File

@ -25,8 +25,8 @@ insane
==============================================================================
*/
#include "g_local.h"
#include "m_insane.h"
#include "../../header/local.h"
#include "insane.h"
static int sound_fist;

View File

@ -25,8 +25,8 @@ MEDIC
==============================================================================
*/
#include "g_local.h"
#include "m_medic.h"
#include "../../header/local.h"
#include "medic.h"
qboolean visible (edict_t *self, edict_t *other);

View File

@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// m_move.c -- monster movement
#include "g_local.h"
#include "../../header/local.h"
#define STEPSIZE 18

View File

@ -25,8 +25,8 @@ mutant
==============================================================================
*/
#include "g_local.h"
#include "m_mutant.h"
#include "../../header/local.h"
#include "mutant.h"
static int sound_swing;

View File

@ -25,8 +25,8 @@ parasite
==============================================================================
*/
#include "g_local.h"
#include "m_parasite.h"
#include "../../header/local.h"
#include "parasite.h"
static int sound_pain1;

View File

@ -25,8 +25,8 @@ SOLDIER
==============================================================================
*/
#include "g_local.h"
#include "m_soldier.h"
#include "../../header/local.h"
#include "soldier.h"
static int sound_idle;

View File

@ -25,8 +25,8 @@ SUPERTANK
==============================================================================
*/
#include "g_local.h"
#include "m_supertank.h"
#include "../../header/local.h"
#include "supertank.h"
qboolean visible (edict_t *self, edict_t *other);

View File

@ -25,8 +25,8 @@ TANK
==============================================================================
*/
#include "g_local.h"
#include "m_tank.h"
#include "../../header/local.h"
#include "tank.h"
void tank_refire_rocket (edict_t *self);

View File

@ -24,8 +24,8 @@
* =======================================================================
*/
#include "g_local.h"
#include "m_player.h"
#include "../header/local.h"
#include "../monster/header/player.h"
void ClientUserinfoChanged(edict_t *ent, char *userinfo);
void SP_misc_teleporter_dest(edict_t *ent);

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "../header/local.h"
void
MoveClientToIntermission(edict_t *ent)

View File

@ -24,7 +24,7 @@
* =======================================================================
*/
#include "g_local.h"
#include "../header/local.h"
/*
* This is a circular list containing the a list of points of where

View File

@ -24,8 +24,8 @@
* =======================================================================
*/
#include "g_local.h"
#include "m_player.h"
#include "../header/local.h"
#include "../monster/header/player.h"
static edict_t *current_player;
static gclient_t *current_client;

View File

@ -24,8 +24,8 @@
* =======================================================================
*/
#include "g_local.h"
#include "m_player.h"
#include "../header/local.h"
#include "../monster/header/player.h"
#define FRAME_FIRE_FIRST (FRAME_ACTIVATE_LAST + 1)
#define FRAME_IDLE_FIRST (FRAME_FIRE_LAST + 1)

View File

@ -64,7 +64,7 @@
* system and architecture are in the hands of the user.
*/
#include "../g_local.h"
#include "../header/local.h"
/*
* When ever the savegame version

View File

@ -28,7 +28,7 @@
#define SV_SERVER_H
#include "../../common/header/common.h"
#include "../../game/baseq2/game.h"
#include "../../game/baseq2/header/game.h"
#define MAX_MASTERS 8
#define LATENCY_COUNTS 16