ref: 24746fcce9c0733764a9d256884f0bfbe4a808f2
parent: ae40b3ece15d77a2255281de17a5882107b1a744
author: Konstantinn Bonnet <qu7uux@gmail.com>
date: Fri Mar 27 17:10:54 EDT 2015
remove GAME_INCLUDE in c files bullshit
--- a/game/g_chase.c
+++ b/game/g_chase.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_cmds.c
+++ b/game/g_cmds.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_combat.c
+++ b/game/g_combat.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_func.c
+++ b/game/g_func.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_items.c
+++ b/game/g_items.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_local.h
+++ b/game/g_local.h
@@ -19,10 +19,6 @@
*/
// g_local.h -- local definitions for game module
-// define GAME_INCLUDE so that game.h does not define the
-// short, server-visible gclient_t and edict_t structures,
-// because we define the full size ones in this file
-
// the "gameversion" client command will print this plus compile date
#define GAMEVERSION "baseq2"
--- a/game/g_main.c
+++ b/game/g_main.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_misc.c
+++ b/game/g_misc.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_monster.c
+++ b/game/g_monster.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_phys.c
+++ b/game/g_phys.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_save.c
+++ b/game/g_save.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_spawn.c
+++ b/game/g_spawn.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_svcmds.c
+++ b/game/g_svcmds.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_target.c
+++ b/game/g_target.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_trigger.c
+++ b/game/g_trigger.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_turret.c
+++ b/game/g_turret.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_utils.c
+++ b/game/g_utils.c
@@ -18,7 +18,6 @@
*/
// g_utils.c -- misc utility functions for game module
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/g_weapon.c
+++ b/game/g_weapon.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_actor.c
+++ b/game/m_actor.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_berserk.c
+++ b/game/m_berserk.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_boss2.c
+++ b/game/m_boss2.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_boss3.c
+++ b/game/m_boss3.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_boss31.c
+++ b/game/m_boss31.c
@@ -18,7 +18,6 @@
*/
// jorg
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_boss32.c
+++ b/game/m_boss32.c
@@ -18,7 +18,6 @@
*/
// Makron -- Final Boss
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_brain.c
+++ b/game/m_brain.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_chick.c
+++ b/game/m_chick.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_flash.c
+++ b/game/m_flash.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_flipper.c
+++ b/game/m_flipper.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_float.c
+++ b/game/m_float.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_flyer.c
+++ b/game/m_flyer.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_gladiator.c
+++ b/game/m_gladiator.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_gunner.c
+++ b/game/m_gunner.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_hover.c
+++ b/game/m_hover.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_infantry.c
+++ b/game/m_infantry.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_insane.c
+++ b/game/m_insane.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_medic.c
+++ b/game/m_medic.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_move.c
+++ b/game/m_move.c
@@ -18,7 +18,6 @@
*/
// m_move.c -- monster movement
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_mutant.c
+++ b/game/m_mutant.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_parasite.c
+++ b/game/m_parasite.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_soldier.c
+++ b/game/m_soldier.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_supertank.c
+++ b/game/m_supertank.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/m_tank.c
+++ b/game/m_tank.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/p_client.c
+++ b/game/p_client.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/p_hud.c
+++ b/game/p_hud.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/p_trail.c
+++ b/game/p_trail.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/p_view.c
+++ b/game/p_view.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/p_weapon.c
+++ b/game/p_weapon.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>
--- a/game/q_shared.c
+++ b/game/q_shared.c
@@ -17,7 +17,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GAME_INCLUDE
#include <u.h>
#include <libc.h>
#include <stdio.h>