diff --git a/src/b_bot.h b/src/b_bot.h index 20b2803b6..11438f1a7 100644 --- a/src/b_bot.h +++ b/src/b_bot.h @@ -10,8 +10,13 @@ /// \file b_bot.h /// \brief Basic bot handling +#ifndef __B_BOT__ +#define __B_BOT__ + void B_BuildTiccmd(player_t *player, ticcmd_t *cmd); void B_KeysToTiccmd(mobj_t *mo, ticcmd_t *cmd, boolean forward, boolean backward, boolean left, boolean right, boolean strafeleft, boolean straferight, boolean jump, boolean spin); boolean B_CheckRespawn(player_t *player); void B_MoveBlocked(player_t *player); void B_RespawnBot(INT32 playernum); + +#endif diff --git a/src/core/memory.h b/src/core/memory.h index d568d34e9..77e7206b5 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -1,4 +1,4 @@ -// BLANKART +// SONIC ROBO BLAST 2 KART //----------------------------------------------------------------------------- // Copyright (C) 2024 by Ronald "Eidolon" Kinard // Copyright (C) 2024 by Kart Krew diff --git a/src/core/static_vec.hpp b/src/core/static_vec.hpp index a5a529564..c1f486a2b 100644 --- a/src/core/static_vec.hpp +++ b/src/core/static_vec.hpp @@ -1,4 +1,4 @@ -// BLANKART +// SONIC ROBO BLAST 2 KART //----------------------------------------------------------------------------- // Copyright (C) 2024 by Ronald "Eidolon" Kinard // Copyright (C) 2024 by Kart Krew diff --git a/src/core/thread_pool.h b/src/core/thread_pool.h index 75961614e..71eebdaf1 100644 --- a/src/core/thread_pool.h +++ b/src/core/thread_pool.h @@ -1,4 +1,4 @@ -// BLANKART +// SONIC ROBO BLAST 2 KART //----------------------------------------------------------------------------- // Copyright (C) 2024 by Ronald "Eidolon" Kinard // Copyright (C) 2024 by Kart Krew diff --git a/src/d_protocol.h b/src/d_protocol.h index 43220fb95..92bc8bfce 100644 --- a/src/d_protocol.h +++ b/src/d_protocol.h @@ -9,6 +9,9 @@ /// \file d_protocol.h /// \brief srb2kart:// protocol stuff +#ifndef __D_PROTOCOL__ +#define __D_PROTOCOL__ + void D_SetupProtocol(void); void D_CreateProtocol(void); @@ -16,3 +19,5 @@ void D_DeleteProtocol(void); #ifdef HAVE_CURL void D_DownloadReplay(const char *url, const char *path); #endif + +#endif //__D_PROTOCOL__ diff --git a/src/k_director.h b/src/k_director.h index 30b44d9cf..4c99ce164 100644 --- a/src/k_director.h +++ b/src/k_director.h @@ -10,9 +10,14 @@ /// \file k_director.h /// \brief SRB2kart automatic spectator camera. +#ifndef __K_DIRECTOR__ +#define __K_DIRECTOR__ + boolean K_DirectorIsAvailable(void); void K_InitDirector(void); void K_UpdateDirector(void); void K_DrawDirectorDebugger(void); void K_DirectorFollowAttack(player_t *player, mobj_t *inflictor, mobj_t *source); void K_ToggleDirector(void); + +#endif diff --git a/src/lua_hook.h b/src/lua_hook.h index 64c91cc24..14437c26f 100644 --- a/src/lua_hook.h +++ b/src/lua_hook.h @@ -10,6 +10,9 @@ /// \file lua_hook.h /// \brief hooks for Lua scripting +#ifndef __LUA_HOOK__ +#define __LUA_HOOK__ + #include "r_defs.h" #include "d_player.h" #include "s_sound.h" @@ -146,3 +149,5 @@ boolean LUA_HookPlayerSquish(player_t *player, mobj_t *inflictor, mobj_t *source // (note: function format in lua doesn't include maxresults, so its function(result, gametype, secondgametype, prevmap) // to get maxresults use #result) void LUA_HookSetupVote(INT16 result[], INT16 maxresults, UINT8 gt, UINT8 secondgt); + +#endif //__LUA_HOOK__ diff --git a/src/lua_libs.h b/src/lua_libs.h index b43772a59..8bf807e88 100644 --- a/src/lua_libs.h +++ b/src/lua_libs.h @@ -10,6 +10,9 @@ /// \file lua_libs.h /// \brief libraries for Lua scripting +#ifndef __LUA_LIBS__ +#define __LUA_LIBS__ + #include "doomtype.h" #ifndef HAVE_BLUAJIT @@ -78,3 +81,5 @@ int LUA_ThinkerLib(lua_State *L); int LUA_MapLib(lua_State *L); int LUA_BlockmapLib(lua_State *L); int LUA_HudLib(lua_State *L); + +#endif //__LUA_LIBS__ diff --git a/src/m_cond.h b/src/m_cond.h index 07e4480d1..06bf30faf 100644 --- a/src/m_cond.h +++ b/src/m_cond.h @@ -10,6 +10,9 @@ /// \file m_cond.h /// \brief Unlockable condition system for SRB2 version 2.1 +#ifndef __M_COND__ +#define __M_COND__ + #include "doomdef.h" // -------- @@ -182,3 +185,5 @@ UINT8 M_GotLowEnoughTime(INT32 tictime); //UINT8 M_GotHighEnoughRings(INT32 trings); #define M_Achieved(a) ((a) >= MAXCONDITIONSETS || conditionSets[a].achieved) + +#endif //__M_COND__ diff --git a/src/r_skins.h b/src/r_skins.h index cada396f4..6231e8a18 100644 --- a/src/r_skins.h +++ b/src/r_skins.h @@ -15,6 +15,7 @@ #ifndef __R_SKINS__ #define __R_SKINS__ + #ifdef __cplusplus extern "C" { #endif diff --git a/src/y_inter.h b/src/y_inter.h index 401461db7..e749f0c28 100644 --- a/src/y_inter.h +++ b/src/y_inter.h @@ -9,6 +9,9 @@ /// \file y_inter.h /// \brief Tally screens, or "Intermissions" as they were formally called in Doom +#ifndef __Y_INTER__ +#define __Y_INTER__ + extern boolean usebuffer; void Y_IntermissionDrawer(void); @@ -90,3 +93,5 @@ typedef struct patch_t *rubyicon; // encore ruby patch } votescreen_t; extern votescreen_t VoteScreen; + +#endif // __Y_INTER__