Actor Nametag System (#3083)

* initial nametag system

* add debug name tags in actor viewer
This commit is contained in:
Adam Bird
2023-08-20 13:59:23 -04:00
committed by GitHub
parent 2da8be331b
commit f19f303651
12 changed files with 449 additions and 5 deletions

View File

@@ -171,6 +171,7 @@ void Play_Destroy(GameState* thisx) {
PlayState* play = (PlayState*)thisx;
Player* player = GET_PLAYER(play);
GameInteractor_ExecuteOnPlayDestroy();
// Only initialize the frame counter when exiting the title screen
if (gSaveContext.fileNum == 0xFF) {
@@ -1713,6 +1714,8 @@ void Play_Draw(PlayState* play) {
}
}
GameInteractor_ExecuteOnPlayDrawEnd();
// Reset the inverted culling
if (CVarGetInteger("gMirroredWorld", 0)) {
gSPClearExtraGeometryMode(POLY_OPA_DISP++, G_EX_INVERT_CULLING);