2022-04-24 01:14:36 +00:00
|
|
|
#include "platform.h"
|
|
|
|
#include "x86real.h"
|
|
|
|
#include "pc98.h"
|
|
|
|
#include "planar.h"
|
|
|
|
#include "master.hpp"
|
|
|
|
extern "C" {
|
|
|
|
#include "th03/formats/cdg.h"
|
|
|
|
}
|
2022-04-24 18:01:47 +00:00
|
|
|
#include "th04/hardware/grcg.hpp"
|
2022-04-24 01:14:36 +00:00
|
|
|
#include "th04/main/boss/backdrop.hpp"
|
|
|
|
#include "th04/sprites/main_cdg.h"
|
|
|
|
|
|
|
|
void pascal near boss_backdrop_render(
|
|
|
|
screen_x_t left, vram_y_t top, uint4_t col
|
|
|
|
)
|
|
|
|
{
|
|
|
|
cdg_put_noalpha_8(left, top, CDG_BG_BOSS);
|
|
|
|
grcg_setmode_tdw();
|
2022-04-24 18:01:47 +00:00
|
|
|
grcg_setcolor_direct(col);
|
2022-04-24 01:14:36 +00:00
|
|
|
boss_backdrop_colorfill();
|
|
|
|
grcg_off();
|
|
|
|
}
|