Fix ACS extern barriers

This commit is contained in:
Eidolon 2023-04-10 19:57:14 -05:00
parent d2ab07c10e
commit 01cc68a9b5
6 changed files with 8 additions and 11 deletions

View file

@ -16,7 +16,6 @@
#include "acsvm.hpp" #include "acsvm.hpp"
extern "C" {
#include "../doomtype.h" #include "../doomtype.h"
#include "../doomdef.h" #include "../doomdef.h"
#include "../doomstat.h" #include "../doomstat.h"
@ -42,7 +41,6 @@ extern "C" {
#include "../r_skins.h" #include "../r_skins.h"
#include "../k_battle.h" #include "../k_battle.h"
#include "../k_podium.h" #include "../k_podium.h"
}
#include "call-funcs.hpp" #include "call-funcs.hpp"

View file

@ -16,7 +16,6 @@
#include "acsvm.hpp" #include "acsvm.hpp"
extern "C" {
#include "../doomtype.h" #include "../doomtype.h"
#include "../doomdef.h" #include "../doomdef.h"
#include "../doomstat.h" #include "../doomstat.h"
@ -28,7 +27,6 @@ extern "C" {
#include "../w_wad.h" #include "../w_wad.h"
#include "../z_zone.h" #include "../z_zone.h"
#include "../p_local.h" #include "../p_local.h"
}
#include "environment.hpp" #include "environment.hpp"
#include "thread.hpp" #include "thread.hpp"

View file

@ -18,7 +18,6 @@
#include "acsvm.hpp" #include "acsvm.hpp"
extern "C" {
#include "interface.h" #include "interface.h"
#include "../doomtype.h" #include "../doomtype.h"
@ -29,7 +28,6 @@ extern "C" {
#include "../g_game.h" #include "../g_game.h"
#include "../i_system.h" #include "../i_system.h"
#include "../p_saveg.h" #include "../p_saveg.h"
}
#include "environment.hpp" #include "environment.hpp"
#include "thread.hpp" #include "thread.hpp"

View file

@ -18,6 +18,10 @@
#include "../doomdef.h" #include "../doomdef.h"
#include "../doomstat.h" #include "../doomstat.h"
#ifdef __cplusplus
extern "C" {
#endif
/*-------------------------------------------------- /*--------------------------------------------------
void ACS_Init(void); void ACS_Init(void);
@ -314,5 +318,8 @@ void ACS_Archive(savebuffer_t *save);
void ACS_UnArchive(savebuffer_t *save); void ACS_UnArchive(savebuffer_t *save);
#ifdef __cplusplus
}
#endif
#endif // __SRB2_ACS_INTERFACE_H__ #endif // __SRB2_ACS_INTERFACE_H__

View file

@ -18,13 +18,11 @@
#include <ostream> #include <ostream>
#include <streambuf> #include <streambuf>
extern "C" {
#include "../doomtype.h" #include "../doomtype.h"
#include "../doomdef.h" #include "../doomdef.h"
#include "../doomstat.h" #include "../doomstat.h"
#include "../p_saveg.h" #include "../p_saveg.h"
}
#include "stream.hpp" #include "stream.hpp"
#include "../cxxutil.hpp" #include "../cxxutil.hpp"

View file

@ -16,7 +16,6 @@
#include "acsvm.hpp" #include "acsvm.hpp"
extern "C" {
#include "../doomtype.h" #include "../doomtype.h"
#include "../doomdef.h" #include "../doomdef.h"
#include "../doomstat.h" #include "../doomstat.h"
@ -24,7 +23,6 @@ extern "C" {
#include "../r_defs.h" #include "../r_defs.h"
#include "../r_state.h" #include "../r_state.h"
#include "../p_spec.h" #include "../p_spec.h"
}
namespace srb2::acs { namespace srb2::acs {