Skip to content

Commit

Permalink
- Removed headers from c_functions.cpp, added forward struct declarat…
Browse files Browse the repository at this point in the history
…ion for FTranslatedLineTarget in c_functions.h.
  • Loading branch information
madame-rachelle authored and coelckers committed Dec 29, 2016
1 parent cab1b60 commit 605a60d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 37 deletions.
38 changes: 1 addition & 37 deletions src/c_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,45 +34,9 @@
**
*/

#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>

#ifdef _WIN32
#include <direct.h>
#else
#include <unistd.h>
#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)
Expand Down
2 changes: 2 additions & 0 deletions src/c_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@
void C_PrintInv(AActor *target);
void C_AimLine(FTranslatedLineTarget *t, bool nonshootable);
void C_PrintInfo(AActor *target);

struct FTranslatedLineTarget;

0 comments on commit 605a60d

Please sign in to comment.