Skip to content

Commit

Permalink
Rearrange files
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamagi committed Oct 11, 2011
1 parent 6d456db commit 04163af
Show file tree
Hide file tree
Showing 96 changed files with 3,087 additions and 2,110 deletions.
425 changes: 131 additions & 294 deletions Makefile
100755 → 100644

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/g_ai.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// g_ai.c

#include "g_local.h"
#include "header/local.h"

qboolean FindTarget (edict_t *self);
extern cvar_t *maxclients;
Expand Down
5 changes: 2 additions & 3 deletions src/g_cmds.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "g_local.h"
#include "m_player.h"

#include "header/local.h"
#include "monster/misc/player.h"

char *ClientTeam (edict_t *ent)
{
Expand Down
2 changes: 1 addition & 1 deletion src/g_combat.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// g_combat.c

#include "g_local.h"
#include "header/local.h"

/*
============
Expand Down
2 changes: 1 addition & 1 deletion src/g_func.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "g_local.h"
#include "header/local.h"

/*
=========================================================
Expand Down
2 changes: 1 addition & 1 deletion src/g_items.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "g_local.h"
#include "header/local.h"


qboolean Pickup_Weapon (edict_t *ent, edict_t *other);
Expand Down
2 changes: 1 addition & 1 deletion src/g_main.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#include "g_local.h"
#include "header/local.h"

game_locals_t game;
level_locals_t level;
Expand Down
2 changes: 1 addition & 1 deletion src/g_misc.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// g_misc.c

#include "g_local.h"
#include "header/local.h"

int gibsthisframe = 0;
int lastgibframe = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/g_monster.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "g_local.h"
#include "header/local.h"

//
// monster weapons
Expand Down
2 changes: 1 addition & 1 deletion src/g_phys.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// g_phys.c

#include "g_local.h"
#include "header/local.h"

/*
Expand Down
2 changes: 1 addition & 1 deletion src/g_spawn.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#include "g_local.h"
#include "header/local.h"

typedef struct
{
Expand Down
2 changes: 1 addition & 1 deletion src/g_svcmds.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#include "g_local.h"
#include "header/local.h"


void Svcmd_Test_f (void)
Expand Down
2 changes: 1 addition & 1 deletion src/g_target.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "g_local.h"
#include "header/local.h"

/*QUAKED target_temp_entity (1 0 0) (-8 -8 -8) (8 8 8)
Fire an origin based temp entity event to the clients.
Expand Down
2 changes: 1 addition & 1 deletion src/g_trigger.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "g_local.h"
#include "header/local.h"


void InitTrigger (edict_t *self)
Expand Down
2 changes: 1 addition & 1 deletion src/g_turret.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// g_turret.c

#include "g_local.h"
#include "header/local.h"


void AnglesNormalize(vec3_t vec)
Expand Down
2 changes: 1 addition & 1 deletion src/g_utils.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// g_utils.c -- misc utility functions for game module

#include "g_local.h"
#include "header/local.h"


void G_ProjectSource (vec3_t point, vec3_t distance, vec3_t forward, vec3_t right, vec3_t result)
Expand Down
2 changes: 1 addition & 1 deletion src/g_weapon.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "g_local.h"
#include "header/local.h"


/*
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions src/game.h → src/header/game.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#ifndef ZAERO_GAME_H
#define ZAERO_GAME_H

// game.h -- game dll information visible to server

Expand Down Expand Up @@ -214,3 +216,5 @@ typedef struct
} game_export_t;

game_export_t *GetGameApi (game_import_t *import);

#endif /* ZAERO_GAME_H */
8 changes: 6 additions & 2 deletions src/g_local.h → src/header/local.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#ifndef ZAERO_LOCAL_H
#define ZAERO_LOCAL_H

// g_local.h -- local definitions for game module

#include "q_shared.h"
#include "z_anim.h"
#include "shared.h"
#include "anim.h"

// define GAME_INCLUDE so that game.h does not define the
// short, server-visible gclient_t and edict_t structures,
Expand Down Expand Up @@ -1241,3 +1244,4 @@ struct edict_s
#define ZDM_NO_GL_POLYBLEND_DAMAGE 1
#define ZDM_ZAERO_ITEMS 2

#endif /* ZAERO_LOCAL_H */
Loading

0 comments on commit 04163af

Please sign in to comment.