[Maintenance] [th05] #include `common.h` directly inside `resident.hpp`

The asymmetry of having to do this for TH05's resident structure but
not for TH04's has finally become annoying enough.

Part of P0263, funded by [Anonymous].
This commit is contained in:
nmlgc 2023-11-29 20:58:38 +01:00
parent 7e56d22785
commit cafdd6ee3e
10 changed files with 2 additions and 9 deletions

View File

@ -9,7 +9,6 @@
#include "master.hpp"
#include "th04/score.h"
#if (GAME == 5)
#include "th04/common.h"
#include "th05/resident.hpp"
#else
#include "th04/resident.hpp"

View File

@ -7,7 +7,6 @@
#include "th04/main/frames.h"
#include "th04/main/demo.hpp"
#if (GAME == 5)
#include "th04/common.h"
#include "th05/mem.h"
#include "th05/resident.hpp"
#else

View File

@ -6,7 +6,6 @@
#include "pc98.h"
#include "master.hpp"
#include "shiftjis.hpp"
#include "th04/common.h"
#include "th04/score.h"
#include "th01/math/subpixel.hpp"
#include "th02/v_colors.hpp"

View File

@ -3,7 +3,6 @@
#include "platform.h"
#include "x86real.h"
#include "master.hpp"
#include "th04/common.h"
#include "th04/score.h"
#include "th05/resident.hpp"
extern "C" {

View File

@ -4,7 +4,6 @@
#include "platform.h"
#include "pc98.h"
#include "master.hpp"
#include "th04/common.h"
#include "th04/score.h"
#include "th04/main/stage/stage.hpp"
#include "th05/playchar.h"

View File

@ -2,7 +2,6 @@ extern "C" {
#include "platform.h"
#include "master.hpp"
#include "th01/rank.h"
#include "th04/common.h"
#include "th04/formats/scoredat.h"
#include "th05/playchar.h"
#include "th05/resident.hpp"

View File

@ -15,7 +15,6 @@ extern "C" {
#include "th04/formats/cdg.h"
#include "th04/hardware/bgimage.hpp"
#include "th04/score.h"
#include "th04/common.h"
#include "th05/playchar.h"
#include "th04/snd/snd.h"
#include "th04/sprites/op_cdg.h"

View File

@ -5,7 +5,6 @@
#include "libs/kaja/kaja.h"
#include "th01/rank.h"
#include "th02/core/initexit.h"
#include "th04/common.h"
#include "th04/score.h"
#include "th04/end/end.h"
#include "th05/playchar.h"

View File

@ -10,7 +10,6 @@
#include "master.hpp"
#include "th01/rank.h"
#include "th04/score.h"
#include "th04/common.h"
#include "th05/resident.hpp"
#include "th04/snd/snd.h"
#include "th04/formats/cfg.hpp"

View File

@ -1,3 +1,5 @@
#include "th04/common.h"
#define RES_ID "KSOConfig"
typedef struct {
char id[sizeof(RES_ID)];