various fixes / matches (#2052)

* some fixes in d/s, d_item, d_shop

* fix for dKankyo_DayProc weak generation

* d_cc_uty fix

* some d_name / d_com_inf_game / f_op_actor_mng matches

* fix some player inline virtuals

* remove asm
This commit is contained in:
TakaRikka
2024-01-29 07:39:51 -08:00
committed by GitHub
parent 7f0ba98c9f
commit 36a29bc4fe
52 changed files with 2407 additions and 7166 deletions
-1
View File
@@ -11,7 +11,6 @@ class JPABaseEmitter;
class cBgS_PolyInfo;
class color_RGB_class;
void dKankyo_DayProc();
void dKy_set_nexttime(f32);
void dKy_itudemo_se();
BOOL dKy_darkworld_spot_check(char const* stageName, int roomNo);
+18
View File
@@ -0,0 +1,18 @@
#ifndef D_KANKYO_STATIC_H
#define D_KANKYO_STATIC_H
#include "d/com/d_com_inf_game.h"
/**
* This is a made-up file to help matching weak function generation.
*
* `dKankyo_DayProc` is supposed to be weakly generated at the end of TUs where it's called,
* but it'll generate in every TU where the header it's defined in is included. So only include this
* header in TUs where `dKankyo_DayProc` needs to be generated.
*/
static void dKankyo_DayProc() {
dComIfGs_offTmpBit(dSv_event_tmp_flag_c::tempBitLabels[91]);
}
#endif /* D_KANKYO_STATIC_H */