mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-20 15:41:17 -04:00
Fix some version differences (#852)
* Fix some version differences * Found real inline name for checkBowMiniGame
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
//
|
||||
|
||||
#include "d/d_place_name.h"
|
||||
#include "d/d_priority.h"
|
||||
#include "f_op/f_op_msg.h"
|
||||
#include "f_op/f_op_msg_mng.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
@@ -83,7 +84,8 @@ void dPlace_name_c::setScreen(const char* name, JKRArchive* arc) {
|
||||
BOOL dPlace_name_c::_openAnime() {
|
||||
if (pane.mUserArea < 10) {
|
||||
pane.mUserArea++;
|
||||
f32 alpha = fopMsgM_valueIncrease(10, pane.mUserArea, 0);
|
||||
s16 tmp = pane.mUserArea;
|
||||
f32 alpha = fopMsgM_valueIncrease(10, tmp, 0);
|
||||
fopMsgM_setNowAlpha(&pane, alpha);
|
||||
}
|
||||
|
||||
@@ -96,7 +98,8 @@ BOOL dPlace_name_c::_closeAnime() {
|
||||
|
||||
if (pane.mUserArea > 0) {
|
||||
pane.mUserArea--;
|
||||
f32 alpha = fopMsgM_valueIncrease(10, pane.mUserArea, 0);
|
||||
s16 tmp = pane.mUserArea;
|
||||
f32 alpha = fopMsgM_valueIncrease(10, tmp, 0);
|
||||
fopMsgM_setNowAlpha(&pane, alpha);
|
||||
}
|
||||
|
||||
@@ -213,7 +216,7 @@ BOOL dPn_c::_delete() {
|
||||
mpHeap->freeAll();
|
||||
dComIfGp_offHeapLockFlag();
|
||||
mDoExt_setCurrentHeap(oldHeap);
|
||||
dComIfG_resDelete(&mPhs, "PName");
|
||||
dComIfG_resDeleteDemo(&mPhs, "PName");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -261,6 +264,6 @@ msg_process_profile_definition g_profile_PLACE_NAME = {
|
||||
0,
|
||||
0,
|
||||
&g_fopMsg_Method,
|
||||
0x1DD,
|
||||
PRIO_PLACE_NAME,
|
||||
&l_dPlace_name_Method,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user