mirror of
https://github.com/zeldaret/tp
synced 2026-07-05 13:43:37 -04:00
UB fixes (#3150)
* Fix incorrect size for J2DTevBlock8::insertTexture local_38 * Fix dMeter_drawOptionHIO_c mOptionTypeBGPosX/Y size * dMeter_drawLightDropHIO_c mVesselAlpha fix * d_a_mg_rod array size fixes * Fix e_tk2_class mActionTimer array size * daObjTOMBO_c field_0x714 array size fix
This commit is contained in:
committed by
GitHub
parent
472af2590a
commit
9b900a1a55
@@ -197,11 +197,11 @@ void dMeter_drawOptionHIO_c::genMessage(JORMContext* mctx) {
|
||||
mctx->genSlider("位置X", &mOptionTypeBGPosX[3], -300.0f, 300.0f);
|
||||
mctx->genSlider("位置Y", &mOptionTypeBGPosY[3], -300.0f, 300.0f);
|
||||
mctx->genLabel("*****テレビ画面の設定*****", 0);
|
||||
mctx->genSlider("位置X", &mTVsettingPosX, -300.0f, 300.0f);
|
||||
mctx->genSlider("位置Y", &mTVsettingPosY, -300.0f, 300.0f);
|
||||
mctx->genSlider("位置X", &mOptionTypeBGPosX[4], -300.0f, 300.0f);
|
||||
mctx->genSlider("位置Y", &mOptionTypeBGPosY[4], -300.0f, 300.0f);
|
||||
mctx->genLabel("*****キャリブレーション*****", 0);
|
||||
mctx->genSlider("位置X", &mPointerCalibrationPosX, -300.0f, 300.0f);
|
||||
mctx->genSlider("位置Y", &mPointerCalibrationPosY, -300.0f, 300.0f);
|
||||
mctx->genSlider("位置X", &mOptionTypeBGPosX[5], -300.0f, 300.0f);
|
||||
mctx->genSlider("位置Y", &mOptionTypeBGPosY[5], -300.0f, 300.0f);
|
||||
mctx->genLabel("*****設定確認*****", 0);
|
||||
mctx->genSlider("背景アルファ", &mBackgroundAlpha, 0, 255);
|
||||
mctx->genSlider("位置Y", &mBackgroundPosY, -300.0f, 300.0f);
|
||||
@@ -1493,7 +1493,7 @@ dMeter_drawLightDropHIO_c::dMeter_drawLightDropHIO_c() {
|
||||
mPikariInterval = 1;
|
||||
field_0x54 = 0xFFF1;
|
||||
mVesselAlpha[2] = 0.5f;
|
||||
mDropAlpha = 1.0f;
|
||||
mVesselAlpha[3] = 1.0f;
|
||||
|
||||
mDropOnColorBlack.set(30, 255, 255, 0);
|
||||
mDropOnColorWhite.set(255, 255, 255, 255);
|
||||
@@ -1554,7 +1554,7 @@ void dMeter_drawLightDropHIO_c::genMessage(JORMContext* mctx) {
|
||||
mctx->genSlider("位置調整Y(会話)", &mVesselTalkPosY, -300.0f, 300.0f);
|
||||
mctx->genSlider("アルファ(会話)", &mVesselAlpha[1], 0.0f, 1.0f);
|
||||
mctx->genSlider("アルファ(器)", &mVesselAlpha[2], 0.0f, 1.0f);
|
||||
mctx->genSlider("アルファ(雫)", &mDropAlpha, 0.0f, 1.0f);
|
||||
mctx->genSlider("アルファ(雫)", &mVesselAlpha[3], 0.0f, 1.0f);
|
||||
mctx->genLabel("***光の器ゲット後***", 0);
|
||||
mctx->genSlider("拡大縮小", &mDropGetScale, 0.0f, 3.0f);
|
||||
mctx->genSlider("拡縮アニメフレーム数", &mDropGetScaleAnimFrameNum, 0, 30);
|
||||
|
||||
Reference in New Issue
Block a user