2021-11-09 14:23:01 +00:00
|
|
|
/* ReC98
|
|
|
|
* -----
|
|
|
|
* 5th part of code segment #1 of TH05's MAIN.EXE
|
|
|
|
*/
|
|
|
|
|
2024-04-28 19:19:30 +00:00
|
|
|
#pragma option -zCmain_01_TEXT -zPmain_01 -d-
|
2021-11-09 14:23:01 +00:00
|
|
|
|
2024-05-20 18:02:24 +00:00
|
|
|
#include "libs/master.lib/master.hpp"
|
2024-05-22 21:30:38 +00:00
|
|
|
#include "libs/master.lib/pc98_gfx.hpp"
|
2021-11-09 14:23:01 +00:00
|
|
|
#include "th03/formats/cdg.h"
|
|
|
|
#include "th04/main/null.hpp"
|
|
|
|
#include "th04/main/rank.hpp"
|
[Maintenance] Remove `extern "C"` from more areas of code
Much more than usual, now that we've got a snappy build system! This
commit covers
• All .PI functions across all games
• TH02's High Score entry functions
• TH03's shots_update() and shots_render()
• All functions declared in `th04/op/op.hpp`
• TH04/TH05's bb_txt_put_8_raw(), bullet_template_clip(),
player_pos_update_and_clamp(), score_update_and_render(), and
slowdown_frame_delay()
• TH05's reimu_stars_update_and_render(), score_delta_commit(),
stage2_invalidate(), stage2_update(), and space_window_set()
Part of P0284, funded by [Anonymous] and Blue Bolt.
2024-05-23 20:04:35 +00:00
|
|
|
#include "th04/main/score.hpp"
|
2021-11-09 14:23:01 +00:00
|
|
|
#include "th04/main/item/item.hpp"
|
|
|
|
#include "th04/main/stage/stage.hpp"
|
|
|
|
#include "th05/formats/bb.h"
|
2024-05-28 19:49:57 +00:00
|
|
|
#include "th05/main/boss/bosses.hpp"
|
2021-11-09 14:23:01 +00:00
|
|
|
|
|
|
|
#include "th04/main/boss/reset.cpp"
|
2022-03-19 18:22:51 +00:00
|
|
|
#include "th04/formats/bb_boss.cpp"
|
2021-11-09 14:23:01 +00:00
|
|
|
#include "th05/main/stage/setup.cpp"
|
|
|
|
|
|
|
|
void pascal score_delta_commit(void)
|
|
|
|
{
|
|
|
|
while(score_delta > 0) {
|
|
|
|
score_update_and_render();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-15 17:15:40 +00:00
|
|
|
static int unused_6CAC[3]; // ZUN bloat
|