Fix transitive dependencies on k_waypoint.h

This commit is contained in:
GenericHeroGuy 2025-10-29 23:34:44 +01:00
parent 29c3c3c55c
commit c173a2dcd6
10 changed files with 8 additions and 4 deletions

View file

@ -29,9 +29,6 @@
// as commands per game tick.
#include "d_ticcmd.h"
// the player struct stores a waypoint for racing
#include "k_waypoint.h"
#ifdef __cplusplus
extern "C" {
#endif

View file

@ -43,6 +43,7 @@
#include "i_net.h" // doomcom
#include "blan/b_soc.h"
#include "v_video.h" // for debugging
#include "k_waypoint.h"
consvar_t cv_forcebots = CVAR_INIT ("kartforcebots", "Off", CV_NETVAR|CV_CHEAT, CV_OnOff, NULL);
consvar_t cv_botcontrol = CVAR_INIT ("kartbotcontrol", "On", CV_NETVAR|CV_CHEAT, CV_OnOff, NULL);

View file

@ -14,7 +14,6 @@
#define __K_BOT__
#include "typedef.h"
#include "k_waypoint.h"
#include "d_player.h"
#include "r_defs.h"

View file

@ -30,6 +30,7 @@
#include "r_things.h" // numskins
#include "m_easing.h"
#include "k_odds.h"
#include "k_waypoint.h"
// Looks for players around the bot, and presses the item button
// if there is one in range.

View file

@ -42,6 +42,7 @@
#include "g_party.h"
#include "h_timers.h"
#include "k_bot.h" // K_DrawBotDebugger
#include "k_waypoint.h"
#define NUMPOSNUMS 10
#define NUMPOSFRAMES 7 // White, three blues, three reds

View file

@ -28,6 +28,7 @@
#include "p_polyobj.h" // polyobj_t, PolyObjects
#include "k_battle.h"
#include "k_odds.h"
#include "k_waypoint.h"
#ifdef LUA_ALLOW_BYTECODE
#include "d_netfil.h" // for LUA_DumpFile
#endif

View file

@ -17,6 +17,7 @@
#include "lua_script.h"
#include "lua_libs.h"
#include "p_local.h"
#include "k_waypoint.h" // lol
enum waypointvars {
waypointvars_valid = 0,

View file

@ -51,6 +51,7 @@
#include "k_collide.h"
#include "k_objects.h"
#include "k_odds.h"
#include "k_waypoint.h"
// BlanKart
#include "blan/b_soc.h"

View file

@ -44,6 +44,7 @@
#include "k_odds.h"
#include "acs/interface.h"
#include "g_party.h"
#include "k_waypoint.h"
#include <tracy/tracy/TracyC.h>

View file

@ -48,6 +48,7 @@
#include "k_terrain.h"
#include "acs/interface.h"
#include "blan/b_soc.h"
#include "k_waypoint.h"
#ifdef HW3SOUND
#include "hardware/hw3sound.h"