From 605a60d1d68840edd63c52d9d8c1cf3cb7664167 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Wed, 14 Dec 2016 05:26:12 -0500 Subject: [PATCH] - Removed headers from c_functions.cpp, added forward struct declaration for FTranslatedLineTarget in c_functions.h. --- src/c_functions.cpp | 38 +------------------------------------- src/c_functions.h | 2 ++ 2 files changed, 3 insertions(+), 37 deletions(-) diff --git a/src/c_functions.cpp b/src/c_functions.cpp index f7920ee11..1d1b35a45 100644 --- a/src/c_functions.cpp +++ b/src/c_functions.cpp @@ -34,45 +34,9 @@ ** */ -#include -#include -#include -#include - -#ifdef _WIN32 -#include -#else -#include -#endif - -#include "version.h" -#include "c_console.h" -#include "c_dispatch.h" - -#include "i_system.h" - -#include "doomerrors.h" -#include "doomstat.h" -#include "gstrings.h" -#include "s_sound.h" -#include "g_game.h" -#include "g_level.h" -#include "w_wad.h" -#include "g_level.h" -#include "gi.h" -#include "r_defs.h" #include "d_player.h" -#include "templates.h" #include "p_local.h" -#include "r_sky.h" -#include "p_setup.h" -#include "cmdlib.h" -#include "d_net.h" -#include "v_text.h" -#include "p_lnspec.h" -#include "v_video.h" -#include "r_utility.h" -#include "r_data/r_interpolate.h" + #include "c_functions.h" void C_PrintInfo(AActor *target) diff --git a/src/c_functions.h b/src/c_functions.h index 5f3d1e585..3d8ab6fc8 100644 --- a/src/c_functions.h +++ b/src/c_functions.h @@ -35,3 +35,5 @@ void C_PrintInv(AActor *target); void C_AimLine(FTranslatedLineTarget *t, bool nonshootable); void C_PrintInfo(AActor *target); + +struct FTranslatedLineTarget; \ No newline at end of file