diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2023-06-19 23:39:09 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-19 14:39:09 -0600 |
| commit | 2e6e46892826c329a7a137e5ef081d81d2775a87 (patch) | |
| tree | 61c6123219949f818ba8d481528b3ce5d784088f /src/d/msg/d_msg_out_font.cpp | |
| parent | f17cf7f6f118367d59903b0018a532e3fa32eb6a (diff) | |
Work on d_resorce, d_vibration, d_tresure and others (#347)
* Work on d_resorce
* Work on d_a_tag_TWgate
* Work on d_meter_map
* d_tresure OK
* Work on d_vibration
* Work on d_a_npc
* Work on d_a_npc
* Work on d_a_npc
Diffstat (limited to 'src/d/msg/d_msg_out_font.cpp')
| -rw-r--r-- | src/d/msg/d_msg_out_font.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/d/msg/d_msg_out_font.cpp b/src/d/msg/d_msg_out_font.cpp index f32dc327fc..618593a0ed 100644 --- a/src/d/msg/d_msg_out_font.cpp +++ b/src/d/msg/d_msg_out_font.cpp @@ -793,11 +793,10 @@ void COutFont_c::reset(J2DTextBox* p_textBox) { /* 80228490-80228530 222DD0 00A0+00 1/1 0/0 0/0 .text setBlendAnime__10COutFont_cFP10J2DPictures */ -// regalloc +// matches with literals #ifdef NONMATCHING void COutFont_c::setBlendAnime(J2DPicture* param_0, s16 param_1) { - s32 iVar5 = param_1; - iVar5 = 0x14 - iVar5 / 0x14 * 0x14; + int iVar5 = param_1 % 0x14; if (iVar5 < 10) { f32 dVar6 = fopMsgM_valueIncrease(10, iVar5, 0); param_0->setBlendRatio(1.0f - dVar6, dVar6); |
