[Maintenance] [th01] Clean up pellet headers

Part of P0205, funded by [Anonymous] and Yanga.
This commit is contained in:
nmlgc 2022-07-14 21:26:21 +02:00
parent f6d264aa6e
commit c6e51f7545
7 changed files with 11 additions and 6 deletions

View File

@ -22,6 +22,7 @@ extern "C" {
}
#include "th01/formats/grp.h"
#include "th01/formats/pf.hpp"
#include "th01/sprites/pellet.h"
#include "th01/main/particle.hpp"
#include "th01/main/playfld.hpp"
#include "th01/main/vars.hpp"

View File

@ -40,6 +40,7 @@ extern "C" {
#include "th01/main/playfld.hpp"
#include "th01/formats/stagedat.hpp"
#include "th01/sprites/leaf.hpp"
#include "th01/sprites/pellet.h"
#include "th01/sprites/shape8x8.hpp"
#include "th01/main/entity.hpp"
#include "th01/main/spawnray.hpp"

View File

@ -1,3 +1,5 @@
#include "th01/main/bullet/pellet.hpp"
/// Constants
/// ---------
// Can't declare these as `static const` variables, because that would break

View File

@ -1,3 +1,4 @@
#include "th01/resident.hpp"
extern "C" {
#include "th01/hardware/frmdelay.h"
}
@ -6,11 +7,11 @@ extern "C" {
extern "C" {
#include "th01/snd/mdrv2.h"
}
#include "th01/formats/pf.hpp"
#include "th01/sprites/pellet.h"
#include "th01/main/vars.hpp"
#include "th01/main/player/bomb.hpp"
#include "th01/math/dir.hpp"
#include "th01/formats/pf.hpp"
#include "th01/resident.hpp"
#include "th01/math/subpixel.hpp"
#include "th01/main/hud/hud.hpp"
#include "th01/main/player/anim.hpp"

View File

@ -1,3 +1,6 @@
#include "th01/math/overlap.hpp"
#include "th01/sprites/pellet.h"
bool16 unused_boss_stage_flag = false;
static const pixel_t SHOT_SPRITE_MARGIN = 2;

View File

@ -1,6 +1,3 @@
#include "th01/sprites/pellet.h"
#include "th01/math/overlap.hpp"
static const int SHOT_COUNT = 8;
static const pixel_t SHOT_W = 16;
static const pixel_t SHOT_H = 16;

View File

@ -24,8 +24,8 @@ extern "C" {
#include "th01/main/playfld.hpp"
#include "th01/main/player/player.hpp"
#include "th01/main/player/shot.hpp"
#include "th01/main/bullet/pellet.hpp"
#include "th01/main/bullet/pellet_c.hpp"
#include "th01/main/player/orb.hpp"
#include "th01/main/player/shot.cpp"
#include "th01/main/bullet/pellet.cpp"