[Maintenance] [th04/th05] Declare playfield fill functions in playfld.hpp

Part of P0147, funded by -Tom- and Ember2528.
This commit is contained in:
nmlgc 2021-06-17 09:24:35 +02:00
parent 7fc13c24ac
commit 4eb11b55fc
3 changed files with 12 additions and 9 deletions

View File

@ -24,8 +24,6 @@
#include "th04/score.h"
/// ------
#include "th04/main/playfld.hpp"
/// Stages
/// ------
extern nearfunc_t_near stage_invalidate;

11
th05/main/playfld.hpp Normal file
View File

@ -0,0 +1,11 @@
#include "th04/main/playfld.hpp"
// These fill the VRAM playfield area around the given [left]_[top]_[w]_[h]
// coordinates with the current GRCG tile. The GRCG is assumed to be set to
// TDW mode.
void pascal near playfield_fillm_32_0_320_192(void);
void pascal near playfield_fillm_0_0_384_192__2(void);
void pascal near playfield_fillm_0_205_384_163(void);
void pascal near playfield_fillm_64_56_256_256(void);
void pascal near playfield_fillm_0_0_384_192__1(void);
void pascal near playfield_fillm_0_104_384_192(void);

View File

@ -17,15 +17,9 @@ extern "C" {
#include "th04/main/rank.hpp"
#include "th04/main/item/items.hpp"
#include "th05/formats/bb.h"
#include "th05/main/playfld.hpp"
#include "th05/main/boss/boss.hpp"
void pascal near playfield_fillm_32_0_320_192(void);
void pascal near playfield_fillm_0_0_384_192__2(void);
void pascal near playfield_fillm_0_205_384_163(void);
void pascal near playfield_fillm_64_56_256_256(void);
void pascal near playfield_fillm_0_0_384_192__1(void);
void pascal near playfield_fillm_0_104_384_192(void);
#include "th04/main/boss/end.cpp"
#include "th04/main/boss/reset.cpp"
#include "th04/formats/bb_stage.c"