From c8104b6d62cc424318c7e0c44c92d94234bfef15 Mon Sep 17 00:00:00 2001 From: Jcw87 Date: Tue, 16 Dec 2025 06:54:05 -0800 Subject: [PATCH] d_meter_HIO debug (#2959) --- include/JSystem/JHostIO/JORFile.h | 1 + include/JSystem/JHostIO/JORMContext.h | 4 + include/d/d_map.h | 24 + include/d/d_map_path.h | 40 + include/d/d_menu_dmap.h | 10 + include/d/d_menu_fmap.h | 7 +- include/d/d_menu_fmap_map.h | 60 +- include/d/d_meter_HIO.h | 20 +- include/d/d_meter_map.h | 53 + src/d/d_map.cpp | 27 + src/d/d_map_path.cpp | 180 +- src/d/d_menu_fmap.cpp | 22 +- src/d/d_menu_fmap_map.cpp | 149 +- src/d/d_meter_HIO.cpp | 2403 ++++++++++++++++++++++++- src/d/d_meter_map.cpp | 57 + 15 files changed, 2986 insertions(+), 71 deletions(-) diff --git a/include/JSystem/JHostIO/JORFile.h b/include/JSystem/JHostIO/JORFile.h index d5119a60a7d..d7a3ae5f7b6 100644 --- a/include/JSystem/JHostIO/JORFile.h +++ b/include/JSystem/JHostIO/JORFile.h @@ -43,6 +43,7 @@ public: enum EFlags { EFlags_READ = (1 << 0), EFlags_WRITE = (1 << 1), + EFlags_UNK_0x4 = (1 << 2), EFlags_DEFAULT_EXT = (1 << 4), EFlags_UNK_0x20 = (1 << 5), EFlags_HAS_SUFFIX = (1 << 6), diff --git a/include/JSystem/JHostIO/JORMContext.h b/include/JSystem/JHostIO/JORMContext.h index 5bb6cdacc1b..c20080abf38 100644 --- a/include/JSystem/JHostIO/JORMContext.h +++ b/include/JSystem/JHostIO/JORMContext.h @@ -293,6 +293,10 @@ public: updateCheckBoxSub(mode, id, value, mask, param_4); } + void updateRadioButton(u32 mode, s16* pSrc, u32 param_3) { + updateSelectorSub(mode, (uintptr_t)pSrc, *pSrc, param_3); + } + void editComboBoxItem(u32 param_0, u32 param_1, const char* param_2, s32 param_3, u32 param_4); void openMessageBox(void* param_0, u32 style, const char* message, const char* title); diff --git a/include/d/d_map.h b/include/d/d_map.h index adb647a6941..f4070c97326 100644 --- a/include/d/d_map.h +++ b/include/d/d_map.h @@ -3,6 +3,30 @@ #include "d/d_map_path_dmap.h" +class dMap_HIO_list_c : public dMpath_HIO_n::hioList_c { +public: + virtual void copySrcToHio(); + virtual void copyHioToDst(); + virtual void copyBufToHio(const char*); +}; + +class dMap_HIO_c : public dMpath_HIO_file_base_c { +public: + dMap_HIO_c(); + virtual void listenPropertyEvent(const JORPropertyEvent*); + virtual void genMessage(JORMContext*); + virtual u32 addString(char*, u32, u32); + virtual u32 addData(char*, u32, u32); + virtual void copyReadBufToData(const char*, s32); + virtual u32 addStringBinary(char*, u32, u32); + + /* 0x04 */ u8 field_0x4[0x08 - 0x04]; + /* 0x08 */ dMap_HIO_list_c field_0x8; + + static dMap_HIO_c* mMySelfPointer; + static dMpath_HIO_n::list_s l_list; +}; + struct dMap_prm_res_s { /* 0x000 */ dMpath_RGB5A3_palDt_s palette_data[51]; /* 0x198 */ u8 field_0x198; diff --git a/include/d/d_map_path.h b/include/d/d_map_path.h index 259b8f652fe..a362d85cd35 100644 --- a/include/d/d_map_path.h +++ b/include/d/d_map_path.h @@ -3,6 +3,46 @@ #include "d/d_drawlist.h" +namespace dMpath_HIO_n { + struct list_s { + /* 0x00 */ void* field_0x0; + /* 0x04 */ u32 field_0x4; + }; + + class hioList_c { + public: + /* 0x00 */ list_s field_0x0; + + virtual ~hioList_c() {} + virtual void copySrcToHio() = 0; + virtual void copyHioToDst() = 0; + virtual void copyBufToHio(const char*) = 0; + + void set(const list_s& param_1) { field_0x0 = param_1; } + void gen(JORMContext*); + void update(JORMContext*); + u32 addString(char*, u32, u32) const; + u32 addStringBinary(char*, u32, u32) const; + }; +} + +class dMpath_HIO_file_base_c : public JORReflexible { +public: + virtual ~dMpath_HIO_file_base_c() {} + virtual u32 addString(char*, u32, u32) = 0; + virtual u32 addData(char*, u32, u32) = 0; + virtual void copyReadBufToData(const char*, s32) = 0; + virtual u32 addStringBinary(char* param_1, u32 param_2, u32 param_3) { + return addString(param_1, param_2, param_3); + } + + BOOL writeHostioTextFile(const char*); + BOOL writeBinaryTextFile(const char*); + BOOL writeBinaryFile(const char*); + void binaryDump(const void*, u32); + bool readBinaryFile(const char*); +}; + class dDrawPath_c : public dDlst_base_c { public: struct line_class { diff --git a/include/d/d_menu_dmap.h b/include/d/d_menu_dmap.h index b9a1d5c41b8..5e5c0c7a169 100644 --- a/include/d/d_menu_dmap.h +++ b/include/d/d_menu_dmap.h @@ -22,6 +22,16 @@ class dMenu_ItemExplain_c; class J2DPictureEx; struct dMenu_DmapMapCtrl_c; +class dMdm_HIO_c : public JORReflexible { +public: + virtual ~dMdm_HIO_c() {} + virtual void genMessage(JORMContext*); + + /* 0x04 */ u8 field_0x4[0xb8 - 0x4]; + + static dMdm_HIO_c* mMySelfPointer; +}; + class renderingDmap_c : public renderingPlusDoor_c { public: virtual ~renderingDmap_c() {} diff --git a/include/d/d_menu_fmap.h b/include/d/d_menu_fmap.h index 08dbde6daaf..bd95772c598 100644 --- a/include/d/d_menu_fmap.h +++ b/include/d/d_menu_fmap.h @@ -273,7 +273,7 @@ private: /* 0x020 */ dMenu_Fmap_world_data_c* mpWorldData; /* 0x024 */ dMenu_Fmap_region_data_c* mpRegionData[8]; /* 0x044 */ dMenu_Fmap_stage_data_c* mpStageData[8]; - /* 0x064 */ JKRAramArchive* mpMapArchive; + /* 0x064 */ JKRArchive* mpMapArchive; /* 0x068 */ JKRArchive* mpResArchive; /* 0x06C */ dMenuMapCommon_c::RoomData_c* mpRoomData[8]; /* 0x08C */ dMenu_Fmap_field_data_c* mpFieldDat; @@ -334,10 +334,13 @@ private: /* 0x313 */ bool mAreaNameSet; }; -class dMf_HIO_c { +class dMf_HIO_c : public JORReflexible { public: dMf_HIO_c(); virtual ~dMf_HIO_c() {} +#if DEBUG + virtual void genMessage(JORMContext*); +#endif /* 0x04 */ u8 field_0x4[4]; /* 0x08 */ f32 mBackAnimeStep; diff --git a/include/d/d_menu_fmap_map.h b/include/d/d_menu_fmap_map.h index 4cff7c7570a..dfb1197848e 100644 --- a/include/d/d_menu_fmap_map.h +++ b/include/d/d_menu_fmap_map.h @@ -30,6 +30,10 @@ struct dMfm_HIO_prm_res_src_s { static const dMfm_HIO_prm_res_src_s m_other; }; +struct dMfm_HIO_prm_res_dst_s { + static const void* m_res; +}; + class renderingFmap_c : public dRenderingFDAmap_c { public: enum palette_e { @@ -97,9 +101,9 @@ public: bool isDrawEnable() { return mDrawEnable; } /* 0x24 */ Mtx mViewMtx; - /* 0x54 */ cXyz mEye; - /* 0x60 */ cXyz mCenter; - /* 0x6C */ cXyz mUp; + /* 0x54 */ Vec mEye; + /* 0x60 */ Vec mCenter; + /* 0x6C */ Vec mUp; /* 0x78 */ dMenu_Fmap_world_data_c* mpWorldData; /* 0x7C */ dMenu_Fmap_region_data_c* mpRegionData; /* 0x80 */ dMenu_Fmap_stage_data_c* mpStageData; @@ -120,7 +124,42 @@ public: /* 0xB9 */ u8 mSaveTableNo; /* 0xBA */ u8 mVisitedRoomSaveTableNo; /* 0xBB */ bool mDrawEnable; - }; +}; + +class dMfm_HIO_list_c : public dMpath_HIO_n::hioList_c { +public: + virtual void copySrcToHio(); + virtual void copyHioToDst(); + virtual void copyBufToHio(const char*); +}; + +class dMfm_HIO_c : public dMpath_HIO_file_base_c { +public: + dMfm_HIO_c(); + virtual ~dMfm_HIO_c() { mMySelfPointer = NULL; } + virtual void listenPropertyEvent(const JORPropertyEvent*); + virtual void genMessage(JORMContext*); + virtual u32 addString(char* param_1, u32 param_2, u32 param_3) { return field_0xc.addString(param_1, param_2, param_3); } + virtual u32 addData(char* param_1, u32 param_2, u32 param_3) { + (void)param_2; + (void)param_3; + memcpy(param_1, dMfm_HIO_prm_res_dst_s::m_res, 366); + return 366; + } + virtual void copyReadBufToData(const char* param_1, s32 param_2) { + (void)param_2; + field_0xc.copyBufToHio(param_1); + } + virtual u32 addStringBinary(char* param_1, u32 param_2, u32 param_3) { return field_0xc.addStringBinary(param_1, param_2, param_3); } + + /* 0x04 */ u8 field_0x4[0x8 - 0x4]; + /* 0x08 */ dMenu_FmapMap_c* field_0x8; + /* 0x0C */ dMfm_HIO_list_c field_0xc; + /* 0x18 */ u8 field_0x18; + + static dMfm_HIO_c* mMySelfPointer; + static dMpath_HIO_n::list_s l_list; +}; class dMenu_FmapMap_c : public renderingFmap_c { public: @@ -166,12 +205,17 @@ public: } ResTIMG* getResTIMGPointer() { return mResTIMG; } - +#if DEBUG + dMenu_Fmap_world_data_c* getWorldData() { return mpWorldData; } +#endif /* 0xBC */ ResTIMG* mResTIMG; /* 0xC0 */ u8* mMapImage_p; /* 0xC4 */ dMfm_prm_res_s* m_res; /* 0xC8 */ dMpath_RGB5A3_palDt_s* m_palette; /* 0xCC */ int field_0xcc; +#if DEBUG + /* 0xD0 */ dMenu_Fmap_world_data_c* mpWorldData; +#endif /* 0xD0 */ f32 mZoomRate; /* 0xD4 */ int mLineNo; /* 0xD8 */ bool mFlash; @@ -180,8 +224,10 @@ public: /* 0xE0 */ int mLastStageCursor; /* 0xE4 */ u8 mRegionCursor; /* 0xE5 */ u8 mFlashTimer; - /* 0xE8 */ u8* mFlashRooms; - /* 0xEC */ int mFlashRoomCount; + /* 0xE8 */ u8* mp_roomList; + /* 0xEC */ int m_roomListNumber; + + static dMenu_FmapMap_c* mMySelfPointer; }; diff --git a/include/d/d_meter_HIO.h b/include/d/d_meter_HIO.h index 8c0802c31b0..0c86f8bcf3d 100644 --- a/include/d/d_meter_HIO.h +++ b/include/d/d_meter_HIO.h @@ -11,7 +11,7 @@ struct subJOREventCallbackListNode : public JOREventCallbackListNode { subJOREventCallbackListNode() : JOREventCallbackListNode(0x81000000, 0x81000000, true) {} - virtual int JORAct(u32, const char*); + virtual BOOL JORAct(u32, const char*); virtual ~subJOREventCallbackListNode() {} }; @@ -578,12 +578,14 @@ public: /* 0xA8 */ u8 mAnimDebug; }; // Size: 0xAC +class dMeter_map_HIO_c; + class dMeter_drawHIO_c : public JORReflexible { public: dMeter_drawHIO_c(); virtual ~dMeter_drawHIO_c() { #if DEBUG - field_0x8_debug = 0; + field_0x8_debug = NULL; #endif } @@ -602,7 +604,7 @@ public: /* 0x000 */ // vtable /* 0x004 */ s8 field_0x4; #if DEBUG - int field_0x8_debug; + dMeter_map_HIO_c* field_0x8_debug; #endif /* 0x008 */ f32 mLifeTopPosX; /* 0x00C */ f32 mLifeTopPosY; @@ -1140,6 +1142,10 @@ public: /* 0x179 */ bool mIconDisplay[22]; }; // Size: 0x190 +class dMf_HIO_c; +class dMdm_HIO_c; +class dMfm_HIO_c; + class dMeter_fmapHIO_c : public JORReflexible { public: enum { @@ -1199,13 +1205,13 @@ public: #if DEBUG /* 0x008 */ subJOREventCallbackListNode* mpEvtCallBack; #endif - /* 0x008 */ JKRAramArchive* mpArcData; + /* 0x008 */ JKRArchive* mpArcData; /* 0x00C */ void* mpArcFile; /* 0x010 */ void* mpDecompBuf; - /* 0x014 */ void* field_0x14; - /* 0x018 */ void* field_0x18; + /* 0x014 */ dMfm_HIO_c* field_0x14; + /* 0x018 */ dMdm_HIO_c* field_0x18; #if DEBUG - /* 0x020 */ u8 unk_0x20[4]; + /* 0x020 */ dMf_HIO_c* field_0x20; #endif /* 0x01C */ MapBlinkAnime mMapBlink[3]; /* 0x094 */ s16 mDisplayFrameNum; diff --git a/include/d/d_meter_map.h b/include/d/d_meter_map.h index de61bb3f6a0..60197a20259 100644 --- a/include/d/d_meter_map.h +++ b/include/d/d_meter_map.h @@ -5,6 +5,52 @@ class J2DPicture; class dMap_c; +class dMap_HIO_c; + +class dMeter_map_HIO_c : public JORReflexible { +public: + dMeter_map_HIO_c(); + virtual void listenPropertyEvent(const JORPropertyEvent*); + virtual void genMessage(JORMContext*); + virtual ~dMeter_map_HIO_c(); + + void update(); + + static dMeter_map_HIO_c* mMySelfPointer; +private: + /* 0x04 */ u8 field_0x4; + /* 0x05 */ u8 field_0x5; + /* 0x06 */ u8 field_0x6; + /* 0x07 */ u8 field_0x7; + /* 0x08 */ s16 field_0x8; + /* 0x0A */ s16 field_0xa; + /* 0x0C */ s16 field_0xc; + /* 0x0E */ s16 field_0xe; + /* 0x10 */ s16 field_0x10; + /* 0x12 */ s16 field_0x12; + /* 0x14 */ s16 field_0x14; + /* 0x16 */ u8 field_0x16; + /* 0x17 */ u8 field_0x17; + /* 0x18 */ s16 field_0x18; + /* 0x1A */ s16 field_0x1a; + /* 0x1C */ s16 field_0x1c; + /* 0x1E */ s16 field_0x1e; + /* 0x20 */ s16 field_0x20; + /* 0x22 */ s16 field_0x22; + /* 0x24 */ s16 field_0x24; + /* 0x26 */ u8 field_0x26; + /* 0x27 */ u8 field_0x27[0x2a - 0x27]; + /* 0x2A */ s16 field_0x2a; + /* 0x2C */ u8 field_0x2c; + /* 0x2D */ u8 field_0x2d; + /* 0x2E */ u8 field_0x2e; + /* 0x2F */ u8 field_0x2f; + /* 0x30 */ s16 field_0x30; + /* 0x32 */ u8 field_0x32; + /* 0x33 */ u8 field_0x33; + /* 0x34 */ dMap_HIO_c* field_0x34; +}; + class dMeterMap_c : public dDlst_base_c { public: static bool isEnableDispMap(); @@ -40,7 +86,14 @@ public: enum { MAP_SIZE_TYPE_BIG = 2, MAP_SIZE_TYPE_SMALL = 3, MAP_SIZE_TYPE_STAGE = 7 }; + static dMeterMap_c* mMySelfPointer; + private: +#if DEBUG + /* 0x04 */ u8 field_0x4_debug; + /* 0x08 */ int field_0x8_debug; +#endif + /* 0x04 */ J2DPicture* mMapJ2DPicture; /* 0x08 */ dMap_c* mMap; /* 0x0C */ s32 mIsCompass; diff --git a/src/d/d_map.cpp b/src/d/d_map.cpp index 996489f5877..19dbfc03c6e 100644 --- a/src/d/d_map.cpp +++ b/src/d/d_map.cpp @@ -11,6 +11,33 @@ #include "SSystem/SComponent/c_math.h" #include "d/d_com_inf_game.h" +#if DEBUG +dMap_HIO_c g_dMap_HIO; + +void dMap_HIO_c::genMessage(JORMContext* mctx) { + mctx->genLabel("エリアマップ パスマップ 調整項目", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("初期化等は 下位フォルダ[パレット]込み です", 0, 0, NULL, -1, -1, 512, 24); + mctx->genButton("初期化", 0x4000003, 0, NULL, -1, -1, 512, 24); + mctx->genButton("HOSTIO順テキストファイル書き出し", 0x4000004, 0, NULL, -1, -1, 512, 24); + mctx->genButton("バイナリ順テキスト書き出し", 0x4000005, 0, NULL, -1, -1, 512, 24); + mctx->genButton("バイナリファイル書き出し", 0x4000006, 0, NULL, -1, -1, 512, 24); + mctx->genButton("バイナリファイル読み込み", 0x4000007, 0, NULL, -1, -1, 512, 24); + mctx->genButton("バイナリダンプ", 0x4000008, 0, NULL, -1, -1, 512, 24); + field_0x8.gen(mctx); + mctx->genButton("ID_INFO_ROOM_MAX_TEXEL", 0x4000009, 0, NULL, -1, -1, 512, 24); + mctx->genButton("ID_INFO_SWITCH", 0x400000a, 0, NULL, -1, -1, 512, 24); +} + +dMap_HIO_c::dMap_HIO_c() { + mMySelfPointer = this; + field_0x8.set(l_list); +} + +void dMap_HIO_c::listenPropertyEvent(const JORPropertyEvent*) { + // DEBUG NONMATCHING +} +#endif + f32 renderingAmap_c::getIconSize(u8 i_icon) const { static f32 const l_iconSize[] = { 0.12f, 0.12f, 0.08f, 0.12f, 0.08f, 0.16f, 0.12f, 0.0f, 0.12f, diff --git a/src/d/d_map_path.cpp b/src/d/d_map_path.cpp index ab55666b2fb..ee4b0532408 100644 --- a/src/d/d_map_path.cpp +++ b/src/d/d_map_path.cpp @@ -6,6 +6,7 @@ #include "d/dolzel.h" // IWYU pragma: keep #include "JSystem/J2DGraph/J2DGrafContext.h" +#include "JSystem/JHostIO/JORFile.h" #include "JSystem/JUtility/JUTTexture.h" #include "d/d_com_inf_game.h" #include "d/d_map_path.h" @@ -16,11 +17,14 @@ void dMpath_n::dTexObjAggregate_c::create() { 79, 80, 77, 78, 76, 81, 82, }; - for (int i = 0; i < 7; i++) { - mp_texObj[i] = new GXTexObj(); - - ResTIMG* image = (ResTIMG*)dComIfG_getObjectRes("Always", data[i]); - mDoLib_setResTimgObj(image, mp_texObj[i], 0, NULL); + for (int lp1 = 0; lp1 < 7; lp1++) { + mp_texObj[lp1] = new GXTexObj(); + JUT_ASSERT(70, mp_texObj[lp1] != NULL); + ResTIMG* image = (ResTIMG*)dComIfG_getObjectRes("Always", data[lp1]); + JUT_ASSERT(72, image != NULL); + JUT_ASSERT(73, image->minFilter == GX_NEAR); + JUT_ASSERT(74, image->magFilter == GX_NEAR); + mDoLib_setResTimgObj(image, mp_texObj[lp1], 0, NULL); } } @@ -31,6 +35,159 @@ void dMpath_n::dTexObjAggregate_c::remove() { } } +#if DEBUG +void dMpath_HIO_n::hioList_c::gen(JORMContext* mctx) { + static const char* number[] = { + "00", "01", "02", "03", "04", "05", "06", "07", + "08", "09", "10", "11", "12", "13", "14", "15", + "16", "17", "18", "19", "20", "21", "22", "23", + "24", "25", "26", "27", "28", "29", "30", "31", + "32", "33", "34", "35", "36", "37", "38", "39", + "40", "41", "42", "43", "44", "45", "46", "47", + "48", "49", "50", "51", "52", "53", "54", "55", + "56", "57", "58", "59", "60", "61", "62", "63", + }; + // DEBUG NONMATCHING +} + +void dMpath_HIO_n::hioList_c::update(JORMContext* mctx) { + // DEBUG NONMATCHING +} + +u32 dMpath_HIO_n::hioList_c::addString(char* param_1, u32 param_2, u32 param_3) const { + // DEBUG NONMATCHING +} + +u32 dMpath_HIO_n::hioList_c::addStringBinary(char* param_1, u32 param_2, u32 param_3) const { + // DEBUG NONMATCHING +} + +BOOL dMpath_HIO_file_base_c::writeHostioTextFile(const char* param_1) { + JORFile file; + BOOL result = 0; + const char* r27 = "すべてのファイル(*.*)\0*.*\0"; + if (param_1) { + r27 = param_1; + } + if (file.open(JORFile::EFlags_WRITE | JORFile::EFlags_UNK_0x4, r27, NULL, NULL, NULL)) { + const u32 bufSize = 4000; + u32 size = 0; + char buffer[bufSize]; + memset(buffer, 0, bufSize); + size = addString(buffer, size, bufSize); + JUT_ASSERT(732, size < bufSize); + file.writeData(buffer, s16(size)); + file.close(); + OSReport("write append success!::%6d\n", size); + result = 1; + } else { + OSReport("write append failure!\n"); + result = 0; + } + return result; +} + +BOOL dMpath_HIO_file_base_c::writeBinaryTextFile(const char* param_1) { + JORFile file; + BOOL result = 0; + const char* r27 = "すべてのファイル(*.*)\0*.*\0"; + if (param_1) { + r27 = param_1; + } + if (file.open(JORFile::EFlags_WRITE | JORFile::EFlags_UNK_0x4, r27, NULL, NULL, NULL)) { + const u32 bufSize = 10000; + u32 size = 0; + char buffer[bufSize]; + memset(buffer, 0, bufSize); + size = addStringBinary(buffer, size, bufSize); + JUT_ASSERT(762, size < bufSize); + file.writeData(buffer, s16(size)); + file.close(); + OSReport("write append success!::%6d\n", size); + result = 1; + } else { + OSReport("write append failure!\n"); + result = 0; + } + return result; +} + +BOOL dMpath_HIO_file_base_c::writeBinaryFile(const char* param_1) { + JORFile file; + BOOL result = 0; + const char* r27 = "すべてのファイル(*.*)\0*.*\0"; + if (param_1) { + r27 = param_1; + } + if (file.open(JORFile::EFlags_WRITE | JORFile::EFlags_UNK_0x4, r27, NULL, NULL, NULL)) { + const u32 bufSize = 2000; + u32 size = 0; + char buffer[bufSize]; + memset(buffer, 0, bufSize); + size = addData(buffer, size, bufSize); + JUT_ASSERT(794, size < bufSize); + file.writeData(buffer, s16(size)); + file.close(); + OSReport("write append success!::%6d\n", size); + result = 1; + } else { + OSReport("write append failure!\n"); + result = 0; + } + return result; +} + +void dMpath_HIO_file_base_c::binaryDump(const void* param_1, u32 param_2) { + int r26 = 0; + u8* r30 = (u8*)param_1; + u8* r25 = r30; + int r28; + for (int i = 0; i < param_2; i++, r30++) { + r28 = i % 8; + if (r28 == 0) { + OSReport("%04x : ",i); + } + OSReport("%02x", u8(*r30)); + if (r28 == 3) { + OSReport(" - "); + } else if (r28 == 7) { + OSReport("\n"); + } else { + OSReport(" "); + } + } + if (r28 != 7) { + OSReport("\n"); + } + OSReport("startAdr<%08x>dataSize<%d><0x%04x>\n", param_1, param_2, param_2); +} + +bool dMpath_HIO_file_base_c::readBinaryFile(const char* param_1) { + JORFile file; + bool result = false; + const char* r26 = "すべてのファイル(*.*)\0*.*\0"; + if (param_1) { + r26 = param_1; + } + if (file.open(JORFile::EFlags_READ, r26, NULL, NULL, NULL)) { + s32 r28 = file.getFileSize(); + char* buf = new char[r28]; + JUT_ASSERT(855, buf != 0); + file.readData(buf, r28); + copyReadBufToData(buf, r28); + OSReport("write read success!::%6d\n", r28); + result = true; + delete[] buf; + buf = NULL; + file.close(); + } else { + OSReport("write append failure!\n"); + result = false; + } + return result; +} +#endif + void dDrawPath_c::rendering(dDrawPath_c::line_class const* p_line) { if (isDrawType(p_line->field_0x0)) { int width = getLineWidth(p_line->field_0x1); @@ -94,13 +251,14 @@ void dDrawPath_c::rendering(dDrawPath_c::floor_class const* p_floor) { } } -void dDrawPath_c::rendering(dDrawPath_c::room_class const* p_room) { - if (p_room != NULL) { - GXSetArray(GX_VA_POS, p_room->mpFloatData, 8); - floor_class* floor = p_room->mpFloor; +void dDrawPath_c::rendering(dDrawPath_c::room_class const* room) { + JUT_ASSERT(1043, room != NULL); + if (room != NULL) { + GXSetArray(GX_VA_POS, room->mpFloatData, 8); + floor_class* floor = room->mpFloor; if (floor != NULL) { - for (int i = 0; i < p_room->mFloorNum; i++) { + for (int i = 0; i < room->mFloorNum; i++) { if (isRenderingFloor(floor->mFloorNo)) { rendering(floor); } @@ -171,7 +329,7 @@ void dRenderingFDAmap_c::setTevSettingIntensityTextureToCI() const { GXSetNumTevStages(2); GXSetNumChans(1); GXSetNumTexGens(1); - GXSetTexCoordGen2(GX_TEXCOORD0, GX_TG_MTX2x4, GX_TG_TEX0, 60, GX_FALSE, 125); + GXSetTexCoordGen(GX_TEXCOORD0, GX_TG_MTX2x4, GX_TG_TEX0, 60); GXSetTevOrder(GX_TEVSTAGE0, GX_TEXCOORD0, GX_TEXMAP0, GX_COLOR0A0); GXSetTevOrder(GX_TEVSTAGE1, GX_TEXCOORD0, GX_TEXMAP0, GX_COLOR0A0); GXSetTevColorIn(GX_TEVSTAGE0, GX_CC_ZERO, GX_CC_KONST, GX_CC_TEXC, GX_CC_C1); diff --git a/src/d/d_menu_fmap.cpp b/src/d/d_menu_fmap.cpp index a310746aaf6..8827242e73e 100644 --- a/src/d/d_menu_fmap.cpp +++ b/src/d/d_menu_fmap.cpp @@ -100,6 +100,19 @@ dMf_HIO_c::dMf_HIO_c() { mMoyaAlpha = 95; } +#if DEBUG +void dMf_HIO_c::genMessage(JORMContext* mctx) { + mctx->genLabel("\n■枠BTKアニメフレーム", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("フレーム数", &mBackAnimeStep, 0.0, 10.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n■枠の明度", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mBaseBackAlpha, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n■もやもやBTKアニメフレーム", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("フレーム数", &mTopAnimeStep, 0.0, 10.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n■もやもやの明度", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mMoyaAlpha, 0, 255, 0, NULL, -1, -1, 512, 24); +} +#endif + const char* dMenuFmap_getStartStageName(void* i_fieldData) { static char virtual_stage[8]; stage_stag_info_class* stag_info = dComIfGp_getStage()->getStagInfo(); @@ -115,6 +128,7 @@ const char* dMenuFmap_getStartStageName(void* i_fieldData) { return virtual_stage; } } + JUT_ASSERT(203, 0); } return dComIfGp_getStartStageName(); } @@ -175,6 +189,7 @@ dMenu_Fmap_c::dMenu_Fmap_c(JKRExpHeap* i_heap, STControl* i_stick, CSTControl* i } mpTalkHeap = JKRCreateExpHeap(0x32000, mpHeap, false); + JUT_ASSERT(359, mpTalkHeap != 0); field_0x200 = 0; mIsWarpMap = false; @@ -323,9 +338,12 @@ dMenu_Fmap_c::~dMenu_Fmap_c() { void dMenu_Fmap_c::_create() { mpHeap->getTotalFreeSize(); mpDraw2DBack = new dMenu_Fmap2DBack_c(); + JUT_ASSERT(594, mpDraw2DBack != NULL); mpDraw2DBack->setRegionCursor(dComIfGp_getNowLevel() - 1); mpDraw2DTop = new dMenu_Fmap2DTop_c(mpHeap, mpStick); + JUT_ASSERT(599, mpDraw2DTop != NULL); mpMenuFmapMap = new dMenu_FmapMap_c(); + JUT_ASSERT(603, mpMenuFmapMap != NULL); mpMenuFmapMap->_create(dMeter2Info_get2DWidth(), dMeter2Info_get2DHeight(), dMeter2Info_get2DWidth(), dMeter2Info_get2DHeight(), mpFmapMapRes); @@ -2225,7 +2243,7 @@ bool dMenu_Fmap_c::readFieldMapData(void** o_data, char const* i_path, bool para *o_data = res; return true; } else { - size = dLib_getExpandSizeFromAramArchive(mpMapArchive, i_path); + size = dLib_getExpandSizeFromAramArchive((JKRAramArchive*)mpMapArchive, i_path); } } @@ -2326,7 +2344,7 @@ bool dMenu_Fmap_c::readRoomDzsData(void** i_data, u32 param_1, char const* i_pat size = mpMapArchive->getExpandedResSize(res); mpMapArchive->removeResource(res); } else { - size = dLib_getExpandSizeFromAramArchive(mpMapArchive, path); + size = dLib_getExpandSizeFromAramArchive((JKRAramArchive*)mpMapArchive, path); } *i_data = mpHeap->alloc(size, 0x20); diff --git a/src/d/d_menu_fmap_map.cpp b/src/d/d_menu_fmap_map.cpp index 648ac308287..7f141181bd8 100644 --- a/src/d/d_menu_fmap_map.cpp +++ b/src/d/d_menu_fmap_map.cpp @@ -1,8 +1,11 @@ #include "d/dolzel.h" // IWYU pragma: keep +#include "JSystem/JHostIO/JORFile.h" +#include "JSystem/JHostIO/JORServer.h" #include "JSystem/JUtility/JUTTexture.h" #include "SSystem/SComponent/c_math.h" #include "d/d_com_inf_game.h" +#include "d/d_debug_viewer.h" #include "d/d_menu_fmap_map.h" #include "m_Do/m_Do_graphic.h" @@ -82,9 +85,19 @@ bool renderingFmap_c::isSwitch(dDrawPath_c::group_class const* i_group) { int renderingFmap_c::getPointStagePathInnerNo(dMenu_Fmap_region_data_c* i_regionData, f32 i_offsetX, f32 i_offsetY, int i_stageNo, int* o_stageNo, int* o_roomNo) { - return i_regionData->getPointStagePathInnerNo(mPosX + i_offsetX * mCmPerTexel, - mPosZ + i_offsetY * mCmPerTexel, - i_stageNo, o_stageNo, o_roomNo); + f32 f31 = mPosX + i_offsetX * mCmPerTexel; + f32 f30 = mPosZ + i_offsetY * mCmPerTexel; + int result = i_regionData->getPointStagePathInnerNo(f31, f30, i_stageNo, o_stageNo, o_roomNo); +#if DEBUG + if (o_stageNo) { + dDbVw_Report(48, 72, "stNo%d", *o_stageNo); + } + if (o_roomNo) { + dDbVw_Report(48, 84, "rmNo%d", *o_roomNo); + } +#endif + return result; + } void renderingFmap_c::preDrawPath() { @@ -263,9 +276,118 @@ dDrawPath_c::room_class* renderingFmap_c::getNextRoomPointer() { return room; } +#if DEBUG +dMfm_HIO_c g_mfmHIO; + +dMfm_HIO_c::dMfm_HIO_c() { + mMySelfPointer = this; + field_0xc.set(l_list); + field_0x18 = 0; +} + +void dMfm_HIO_c::genMessage(JORMContext* mctx) { + // DEBUG NONMATCHING + mctx->genLabel("フィールドマップ パスマップ 調整項目", 0, 0, NULL, -1, -1, 512, 24); + mctx->genButton("初期化", 0x4000005, 0, NULL, -1, -1, 512, 24); + mctx->genButton("HOSTIO順テキストファイル書き出し", 0x4000006, 0, NULL, -1, -1, 512, 24); + mctx->genButton("バイナリ順テキスト書き出し", 0x4000007, 0, NULL, -1, -1, 512, 24); + mctx->genButton("バイナリファイル書き出し", 0x4000008, 0, NULL, -1, -1, 512, 24); + mctx->genButton("バイナリファイル読み込み", 0x4000009, 0, NULL, -1, -1, 512, 24); + mctx->genButton("バイナリダンプ", 0x400000a, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("■■リソースに入らない調整項目■■", 0, 0, NULL, -1, -1, 512, 24); + field_0xc.gen(mctx); +} + +void dMfm_HIO_c::listenPropertyEvent(const JORPropertyEvent* property) { + // DEBUG NONMATCHING + JORReflexible::listenPropertyEvent(property); + if (field_0x18) { + return; + } + if (!dMfm_HIO_prm_res_dst_s::m_res) { + field_0x18 = 1; + JORMessageBox("フィールドマップを開けた状態で操作して下さい","注意!",0x10); + field_0x18 = 0; + return; + } + JORFile file; + JORMContext* mctx; + switch (reinterpret_cast(property->id)) { + case 0x4000002: { + int i = 0; + if (!field_0x8) { + return; + } + dMenu_Fmap_world_data_c* worldData = field_0x8->getWorldData(); + if (!worldData) { + return; + } + for (dMenu_Fmap_region_data_c* regionData = worldData->getMenuFmapRegionTop(); regionData; regionData = regionData->getNextData()) { + int j = 0; + for (dMenu_Fmap_stage_data_c* stageData = regionData->getMenuFmapStageDataTop(); stageData; stageData = stageData->getNextData()) { + dMenu_Fmap_stage_arc_data_c* stageArc = stageData->getStageArc(); + if (stageArc) { + OSReport("R<%2d>S<%2d> SaveTable<%2d>ArriveSaveTable<%2d>\n", i, j, stageArc->getSaveTableNo(), stageArc->getVisitedRoomSaveTableNo()); + } + dMenu_Fmap_room_data_c* roomData = stageData->getFmapRoomDataTop(); + for (int k = 0; roomData; k++) { + roomData = roomData->getNextData(); + } + j++; + } + i++; + } + break; + } + case 0x4000006: + writeHostioTextFile(NULL); + break; + case 0x4000007: + writeBinaryTextFile(NULL); + break; + case 0x4000008: + writeBinaryFile(NULL); + break; + case 0x4000009: + readBinaryFile(NULL); + mctx = attachJORMContext(8); + mctx->startUpdateNode(this); + field_0xc.update(mctx); + mctx->endUpdateNode(); + releaseJORMContext(mctx); + break; + case 0x4000005: + field_0xc.copySrcToHio(); + mctx = attachJORMContext(8); + mctx->startUpdateNode(this); + field_0xc.update(mctx); + mctx->endUpdateNode(); + releaseJORMContext(mctx); + break; + case 0x400000a: + binaryDump(dMfm_HIO_prm_res_dst_s::m_res, 366); + break; + } + field_0xc.copyHioToDst(); +} + +void dMfm_HIO_list_c::copySrcToHio() { + // DEBUG NONMATCHING +} + +void dMfm_HIO_list_c::copyHioToDst() { + // DEBUG NONMATCHING +} + +void dMfm_HIO_list_c::copyBufToHio(const char*) { + // DEBUG NONMATCHING +} +#endif + void dMenu_FmapMap_c::setFmapPaletteColor(renderingFmap_c::palette_e i_palette, u8 i_r, u8 i_g, u8 i_b, u8 i_a) { int color; + JUT_ASSERT(1835, m_palette != NULL); if (i_a >= 0xe0) { color = ((i_r & 0xf8) << 7) | ((i_g & 0xf8) << 2) | (i_b >> 3) | (1 << 15); } else { @@ -286,13 +408,16 @@ void dMenu_FmapMap_c::setFmapPaletteColor(renderingFmap_c::palette_e i_palette, } bool dMenu_FmapMap_c::isFlashRoomNoCheck(int i_roomNo) const { + JUT_ASSERT(1874, mp_roomList != NULL); + JUT_ASSERT(1875, m_roomListNumber != NULL); bool ret = false; - u8* ptr = mFlashRooms; - for (int i = 0; i < mFlashRoomCount; ptr++, i++) { + u8* ptr = mp_roomList; + for (int i = 0; i < m_roomListNumber; i++) { if (*ptr == i_roomNo) { ret = true; break; } + ptr++; } return ret; } @@ -337,8 +462,12 @@ dMenu_FmapMap_c::dMenu_FmapMap_c() { mLastStageCursor = 0; mRegionCursor = 0; mFlashTimer = 0; - mFlashRooms = NULL; - mFlashRoomCount = 0; + mp_roomList = NULL; + m_roomListNumber = 0; +#if DEBUG + dMfm_HIO_prm_res_dst_s::m_res = NULL; + mMySelfPointer = this; +#endif } @@ -444,8 +573,8 @@ void dMenu_FmapMap_c::setFlashOn(int i_regionNo, int i_stageNo, u8* i_rooms, int mFlash = true; mRegionCursor = i_regionNo; mStageCursor = (u8)i_stageNo; - mFlashRooms = i_rooms; - mFlashRoomCount = i_roomCount; + mp_roomList = i_rooms; + m_roomListNumber = i_roomCount; } const GXColor* dMenu_FmapMap_c::getLineColor(int param_0, int param_1) { @@ -510,7 +639,7 @@ const GXColor* dMenu_FmapMap_c::getColor(int param_0) { const GXColor* list = l_dungeon_onColor; if (mFlash && mRegionCursor == getNowDrawRegionNo() && mStageNo == mStageCursor) { - if (mFlashRooms == NULL) { + if (mp_roomList == NULL) { list = l_dungeon_pointColor; } else if (isFlashRoomNoCheck(mRoomNo)) { list = l_dungeon_pointColor; diff --git a/src/d/d_meter_HIO.cpp b/src/d/d_meter_HIO.cpp index 498d0c63569..a3b92cb9b90 100644 --- a/src/d/d_meter_HIO.cpp +++ b/src/d/d_meter_HIO.cpp @@ -1,8 +1,14 @@ #include "d/dolzel.h" // IWYU pragma: keep #include "d/d_meter_HIO.h" +#include "JSystem/JHostIO/JORFile.h" #include "JSystem/JKernel/JKRAramArchive.h" +#include "JSystem/JKernel/JKRMemArchive.h" +#include "JSystem/JKernel/JKRDecomp.h" #include "JSystem/JKernel/JKRExpHeap.h" +#include "d/d_menu_dmap.h" +#include "d/d_menu_fmap_map.h" +#include "d/d_meter_map.h" #include "m_Do/m_Do_ext.h" dMeter_menuHIO_c::dMeter_menuHIO_c() { @@ -11,7 +17,7 @@ dMeter_menuHIO_c::dMeter_menuHIO_c() { #if DEBUG void dMeter_menuHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->genSlider("ゲームオーバー", &mGameover, 1, 20000, 0, NULL, -1, -1, 512, 24); } #endif @@ -57,7 +63,70 @@ dMeter_drawCollectHIO_c::dMeter_drawCollectHIO_c() { #if DEBUG void dMeter_drawCollectHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->genLabel("*****アイテム*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("アイテムスケール(小)", &mUnselectItemScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテムスケール(大)", &mSelectItemScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****セーブ・オプション*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("アイテムスケール(小)", &mUnselectSaveOptionScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテムスケール(大)", &mSelectSaveOptionScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****青いモヤモヤパーツ*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mBlueSmokePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mBlueSmokePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mBlueSmokeScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mBlueSmokeAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ミドナの仮面・鏡*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mMaskMirrorPos.x, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mMaskMirrorPos.y, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Z", &mMaskMirrorPos.z, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アングルX", &mMaskMirrorAngle.x, -0x8000, 0x7fff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アングルY", &mMaskMirrorAngle.y, -0x8000, 0x7fff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アングルZ", &mMaskMirrorAngle.z, -0x8000, 0x7fff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mMaskMirrorScale, -1.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメーション", &mMaskMirrorAnimSpeed, 0.0f, 10.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ハートの器*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mHeartVesselPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mHeartVesselPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mHeartVesselScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ハートのかけら*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mHeartPiecePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mHeartPiecePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mHeartPieceScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ボタンデバッグON", (u8*)&mButtonDebugON, 1, 0, 0, -1, -1, 512, 24); + mctx->genLabel("*****Aボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonAPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonAPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mButtonAScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Bボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonBPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonBPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mButtonBScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Aテキスト*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonATextPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonATextPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mButtonATextScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Bテキスト*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonBTextPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonBTextPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mButtonBTextScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("カラーデバッグON", (u8*)&mColorDebugON, 1, 0, 0, -1, -1, 512, 24); + mctx->genLabel("*****カラーht_n_bas*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("黒R", &mVesselBack[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒G", &mVesselBack[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒B", &mVesselBack[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒A", &mVesselBack[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白R", &mVesselFront[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白G", &mVesselFront[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白B", &mVesselFront[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白A", &mVesselFront[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****カラーh_kaz_n*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("黒R", &mVesselBack[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒G", &mVesselBack[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒B", &mVesselBack[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒A", &mVesselBack[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白R", &mVesselFront[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白G", &mVesselFront[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白B", &mVesselFront[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白A", &mVesselFront[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); } #endif @@ -92,7 +161,52 @@ dMeter_drawOptionHIO_c::dMeter_drawOptionHIO_c() { #if DEBUG void dMeter_drawOptionHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->genSlider("open frame", &mOpenFrames, 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("close frame", &mCloseFrames, 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("デバッグON", (u8*)&mDebug, 1, 0, 0, -1, -1, 512, 24); + mctx->genLabel("*****矢印*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("サイズ", &mArrowSize, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****項目名カラー*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genLabel("*****選択中カラー*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("R", &mSelectColor.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("G", &mSelectColor.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("B", &mSelectColor.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****非選択中カラー*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("R", &mUnselectColor.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("G", &mUnselectColor.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("B", &mUnselectColor.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********バーのスケール********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("選択時", &mBarScale[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("非選択時", &mBarScale[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ウインドウ*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置X", &mWindowPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mWindowPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ", &mWindowScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****メニュー位置*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genLabel("*****注目タイプ*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置X", &mOptionTypeBGPosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mOptionTypeBGPosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ふりがな*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置X", &mOptionTypeBGPosX[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mOptionTypeBGPosY[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****しんどう*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置X", &mOptionTypeBGPosX[2], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mOptionTypeBGPosY[2], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****サウンド*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置X", &mOptionTypeBGPosX[3], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mOptionTypeBGPosY[3], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****テレビ画面の設定*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置X", &mTVsettingPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mTVsettingPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****キャリブレーション*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置X", &mPointerCalibrationPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mPointerCalibrationPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****設定確認*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("背景アルファ", &mBackgroundAlpha, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mBackgroundPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ハイハイ矢印*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("幅オフセットX", &mArrowOffsetX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("幅オフセットX(4:3)", &mArrowOffsetX_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); } #endif @@ -135,37 +249,104 @@ dMeter_drawLetterHIO_c::dMeter_drawLetterHIO_c() { #if DEBUG void dMeter_drawLetterHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->genSlider("open frame", &mOpenFrame[0], 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("close frame", &mCloseFrame[0], 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("本文オープン", &mOpenFrame[1], 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("本文クローズ", &mCloseFrame[1], 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("手紙の枚数", &mLetterNum, 0, 54, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("デバッグON", (u8*)&mDebugON, 1, 0, 0, -1, -1, 512, 24); + mctx->genLabel("********選択時のページアイコンのカラー********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("黒成分(R)", &mSelectPageIconBack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(G)", &mSelectPageIconBack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(B)", &mSelectPageIconBack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(A)", &mSelectPageIconBack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(R)", &mSelectPageIconFront.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(G)", &mSelectPageIconFront.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(B)", &mSelectPageIconFront.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(A)", &mSelectPageIconFront.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********非選択時のページアイコンのアルファ********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mUnselectPageIconAlpha, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********選択時のバーのカラー********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("黒成分(R)", &mSelectBarBack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(G)", &mSelectBarBack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(B)", &mSelectBarBack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(A)", &mSelectBarBack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(R)", &mSelectBarFront.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(G)", &mSelectBarFront.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(B)", &mSelectBarFront.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(A)", &mSelectBarFront.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********バーのスケール********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("選択時", &mSelectBarScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("非選択時", &mUnselectBarScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********選択時のテキストのカラー********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("黒成分(R)", &mSelectTextBack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(G)", &mSelectTextBack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(B)", &mSelectTextBack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(A)", &mSelectTextBack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(R)", &mSelectTextFront.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(G)", &mSelectTextFront.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(B)", &mSelectTextFront.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(A)", &mSelectTextFront.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********手紙の文字のカラー********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("黒成分(R)", &mLetterTextBack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(G)", &mLetterTextBack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(B)", &mLetterTextBack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(A)", &mLetterTextBack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(R)", &mLetterTextFront.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(G)", &mLetterTextFront.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(B)", &mLetterTextFront.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(A)", &mLetterTextFront.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********手紙全体の調整********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mWindowPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mWindowPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mWindowScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********手紙ウインドウ全体の調整********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mLetterWindowPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mLetterWindowPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mLetterWindowScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********手紙ウインドウ背景の調整********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mWindowBGAlpha, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********手紙ウインドウラインの調整********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mLetterLinePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mLetterLinePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mLetterLineAlpha, 0, 255, 0, NULL, -1, -1, 512, 24); } #endif dMeter_drawFishingHIO_c::dMeter_drawFishingHIO_c() { static f32 const fipaScale[6] = {0.98f, 1.0f, 1.0f, 1.0f, 0.95f, 1.1f}; +#if PLATFORM_GCN static f32 const fipaPosX[6] = {1.3f, 6.6f, 0.0f, 3.96f, 4.0f, 27.5f}; +#else + static f32 const fipaPosX[6] = {1.3f, 6.6f, 0.0f, 3.96f, 11.7f, 27.5f}; +#endif static f32 const fipaPosY[6] = {-9.2f, -27.5f, -11.7f, -9.2f, -30.1f, -17.9f}; static f32 const finaScale[6] = {0.9f, 0.9f, 0.9f, 0.9f, 0.9f, 0.9f}; -#if PLATFORM_SHIELD - static f32 const finaPosX[6] = {0.0f, -4.0f, 0.0f, 0.0f, 0.0f, -4.0f}; -#else +#if PLATFORM_GCN static f32 const finaPosX[6] = {-25.0f, -4.0f, 0.0f, 0.0f, 0.0f, -4.0f}; -#endif - -#if PLATFORM_SHIELD - static f32 const finaPosY[6] = {-14.4f, -40.6, -24.0f, -11.7f, -37.9f, -13.0f}; + static f32 const finaPosY[6] = {-16.0f, -40.6f, -24.0f, -11.7f, -37.9f, -13.0f}; +#elif VERSION == VERSION_WII_USA_R0 + static f32 const finaPosX[6] = {0.0f, 0.0f, -3.96f, 0.0f, -3.96f, 0.0f}; + static f32 const finaPosY[6] = {-14.4f, -40.6f, -22.3f, -11.7f, -37.9f, -11.7f}; +#elif VERSION == VERSION_WII_JPN + static f32 const finaPosX[6] = {4.0f, 4.0f, 0.0f, 0.0f, 0.0f, 4.0f}; + static f32 const finaPosY[6] = {-16.0f, -40.6f, -24.0f, -11.7f, -37.9f, -13.0f}; #else - static f32 const finaPosY[6] = {-16.0f, -40.6, -24.0f, -11.7f, -37.9f, -13.0f}; + static f32 const finaPosX[6] = {0.0f, 0.0f, -3.96f, 0.0f, -3.96f, 4.0f}; + static f32 const finaPosY[6] = {-14.4f, -40.6f, -22.3f, -11.7f, -37.9f, -11.7f}; #endif static f32 const filiScale[6] = {0.65f, 0.65f, 0.65f, 0.65f, 0.65f, 0.65f}; -#if PLATFORM_SHIELD - static f32 const filiPosX[6] = {0.0f, -8.0f, 9.2f, 9.2f, 9.2f, -8.0f}; -#else +#if PLATFORM_GCN static f32 const filiPosX[6] = {-28.0f, -8.0f, 9.2f, 9.2f, 9.2f, -8.0f}; + static f32 const filiPosY[6] = {-6.6f, -14.0f, -14.4f, 24.9f, -11.7f, 24.9f}; +#else + static f32 const filiPosX[6] = {0.0f, 0.0f, 9.2f, 9.2f, 9.2f, 1.3f}; + static f32 const filiPosY[6] = {-6.6f, -14.4f, -14.4f, 24.9f, -11.7f, 24.9f}; #endif - static f32 const filiPosY[6] = {-6.6f, -14.0f, -14.4f, 24.9f, -11.7f, 24.9f}; static f32 const bboxScale[6] = {1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f}; static f32 const bboxPosX[6] = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}; static f32 const bboxPosY[6] = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}; @@ -176,8 +357,12 @@ dMeter_drawFishingHIO_c::dMeter_drawFishingHIO_c() { #if VERSION == VERSION_GCN_JPN static f32 const finfoPosX[6] = {-27.0f, 0.0f, -12.0f, 0.0f, -12.0f, -32.8f}; -#else +#elif PLATFORM_GCN static f32 const finfoPosX[6] = {-17.0f, 0.0f, -14.0f, 0.0f, -12.0f, -32.8f}; +#elif VERSION == VERSION_WII_USA_R0 || VERSION == VERSION_WII_JPN + static f32 const finfoPosX[6] = {-27.0f, 0.0f, 0.0f, 0.0f, 0.0f, -32.8f}; +#else + static f32 const finfoPosX[6] = {-17.0f, 0.0f, -14.0f, 0.0f, 0.0f, -32.8f}; #endif static f32 const finfoPosY[6] = {6.6f, 0.0f, 0.0f, 0.0f, 1.3f, 0.0f}; @@ -185,6 +370,10 @@ dMeter_drawFishingHIO_c::dMeter_drawFishingHIO_c() { #if VERSION == VERSION_GCN_JPN static f32 const fishnPosX[6] = {12.0f, -20.0f, 1.3f, 6.6f, 14.0f, -6.6f}; +#elif VERSION == VERSION_WII_USA_R0 || VERSION == VERSION_WII_JPN + static f32 const fishnPosX[6] = {12.0f, -20.0f, 0.0f, 14.4f, 35.3f, -6.6f}; +#elif PLATFORM_WII + static f32 const fishnPosX[6] = {4.0f, -20.0f, 0.0f, 14.4f, 1.3f, 9.2f}; #else static f32 const fishnPosX[6] = {4.0f, -20.0f, 1.3f, 6.6f, 1.3f, 9.2f}; #endif @@ -221,7 +410,11 @@ dMeter_drawFishingHIO_c::dMeter_drawFishingHIO_c() { mFishInfoPosY[i] = fishnPosY[i]; } mScale[0] = 0.83f; +#if PLATFORM_WII + mPosX[0] = 6.6f; +#else mPosX[0] = 5.0f; +#endif mPosY[0] = -22.2f; mScale[1] = 0.83f; @@ -232,7 +425,61 @@ dMeter_drawFishingHIO_c::dMeter_drawFishingHIO_c() { #if DEBUG void dMeter_drawFishingHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + static const char* fish_name[6] = { + "********トアルナマズ********", + "********ニオイマス********", + "********ハイリアパイク********", + "********グリーンギル********", + "********ハイラルドジョウ********", + "********ハイラルバス********", + }; + static u8 fish_type[6] = {3, 4, 2, 5, 1, 0}; + mctx->genCheckBox("デバッグON", (u8*)&mDebug, 1, 0, 0, -1, -1, 512, 24); + mctx->genSlider("open frame", &mOpenFrames, 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("close frame", &mCloseFrames, 1, 20, 0, NULL, -1, -1, 512, 24); + for (int i = 0; i < 6; i++) { + mctx->genLabel(fish_name[i], 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("数", &mFishNum[fish_type[i]], 0, 999, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ", &mFishSize[fish_type[i]], 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***魚パーツ調整***", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("スケール", &mFishIconScale[fish_type[i]], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置X", &mFishIconPosX[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mFishIconPosY[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***魚の名前パーツ調整***", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("スケール", &mFishNameScale[fish_type[i]], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置X", &mFishNamePosX[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mFishNamePosY[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***ラインパーツ調整***", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("スケール", &mFishLineScale[fish_type[i]], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置X", &mFishLinePosX[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mFishLinePosY[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***サイズパーツ調整***", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("スケール", &mFishSizeScale[fish_type[i]], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置X", &mFishSizePosX[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mFishSizePosY[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***匹数パーツ調整***", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("スケール", &mFishCountScale[fish_type[i]], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置X", &mFishCountPosX[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mFishCountPosY[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***サイズ+匹数パーツ調整***", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("スケール", &mFishCountSizeScale[fish_type[i]], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置X", &mFishCountSizePosX[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mFishCountSizePosY[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***全体調整***", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("スケール", &mFishInfoScale[fish_type[i]], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置X", &mFishInfoPosX[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mFishInfoPosY[fish_type[i]], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n", 0, 0, 0, -1, -1, 512, 24); + } + mctx->genLabel("********”最大サイズ”調整********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("スケール", &mScale[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置X", &mPosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mPosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********”釣り上げた数”調整********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("スケール", &mScale[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置X", &mPosX[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置X(4:3)", &mCaughtNumPosX_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置Y", &mPosY[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); } #endif @@ -264,7 +511,32 @@ dMeter_drawInsectHIO_c::dMeter_drawInsectHIO_c() { #if DEBUG void dMeter_drawInsectHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->startComboBox("タイプ", &mType, 0, 0, -1, -1, 256, 26); + mctx->genComboBoxItem("デフォルト", 0); + mctx->genComboBoxItem("コレクト画面", 1); + mctx->genComboBoxItem("アゲハ", 2); + mctx->endComboBox(); + mctx->genCheckBox("デバッグON", (u8*)&mDebugON, 1, 0, 0, -1, -1, 512, 24); + mctx->genSlider("open frame", &mOpenFrame, 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("close frame", &mCloseFrame, 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****アイテム*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("アイテムスケール(小)", &mUnselectInsectScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテムスケール(大)", &mSelectInsectScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****説明ウインドウ*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mDescWindowPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mDescWindowPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****選択ウインドウ(4:3)*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mGiveOptionPosX_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mGiveOptionPosY_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****選択肢ウインドウ(4:3)*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mConfirmOptionPosX_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mConfirmOptionPosY_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****選択ウインドウ(16:9)*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mGiveOptionPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mGiveOptionPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****選択肢ウインドウ(16:9)*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mConfirmOptionPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mConfirmOptionPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); } #endif @@ -279,7 +551,14 @@ dMeter_drawCalibrationHIO_c::dMeter_drawCalibrationHIO_c() { #if DEBUG void dMeter_drawCalibrationHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->genCheckBox("デバッグON", (u8*)&mDebug, 1, 0, 0, -1, -1, 512, 24); + mctx->genSlider("open frame", &mOpenFrames, 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("close frame", &mCloseFrames, 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("点滅フレーム数", &mFlashFrameNum, 0, 300, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ステップ1*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("円のスケール", &mCircleScale, 0.0f, 5.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ステップ3*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("円のスケール", &mCircleScale2, 0.0f, 5.0f, 0, NULL, -1, -1, 512, 24); } #endif @@ -320,7 +599,64 @@ dMeter_drawSkillHIO_c::dMeter_drawSkillHIO_c() { #if DEBUG void dMeter_drawSkillHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->genSlider("open frame", &mOpenFrame[0], 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("close frame", &mCloseFrame[0], 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("本文オープン", &mOpenFrame[1], 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("本文クローズ", &mCloseFrame[1], 1, 20, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("デバッグON", (u8*)&mDebug, 1, 0, 0, -1, -1, 512, 24); + mctx->genLabel("********選択時の巻物アイコンのカラー********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("黒成分(R)", &mSelectScrollIconBlack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(G)", &mSelectScrollIconBlack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(B)", &mSelectScrollIconBlack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(A)", &mSelectScrollIconBlack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(R)", &mSelectScrollIconWhite.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(G)", &mSelectScrollIconWhite.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(B)", &mSelectScrollIconWhite.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(A)", &mSelectScrollIconWhite.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********非選択時の巻物アイコンのカラー********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("黒成分(R)", &mUnselectScrollIconBlack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(G)", &mUnselectScrollIconBlack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(B)", &mUnselectScrollIconBlack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(A)", &mUnselectScrollIconBlack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(R)", &mUnselectScrollIconWhite.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(G)", &mUnselectScrollIconWhite.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(B)", &mUnselectScrollIconWhite.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(A)", &mUnselectScrollIconWhite.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********選択時のバーのカラー********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("黒成分(R)", &mSelectBarBlack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(G)", &mSelectBarBlack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(B)", &mSelectBarBlack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(A)", &mSelectBarBlack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(R)", &mSelectBarWhite.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(G)", &mSelectBarWhite.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(B)", &mSelectBarWhite.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(A)", &mSelectBarWhite.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********バーのスケール********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("選択時", &mSelectBarScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("非選択時", &mUnselectBarScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********選択時のテキストのカラー********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("黒成分(R)", &mSelectTextBlack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(G)", &mSelectTextBlack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(B)", &mSelectTextBlack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(A)", &mSelectTextBlack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(R)", &mSelectTextWhite.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(G)", &mSelectTextWhite.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(B)", &mSelectTextWhite.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(A)", &mSelectTextWhite.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********奥義ウインドウ全体の調整********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mSkillDescPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mSkillDescPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mSkillDescScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********奥義ウインドウ背景の調整********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mWindowBGalpha, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********奥義ウインドウラインの調整********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mWindowLinePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mWindowLinePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mWindowLineAlpha, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("********奥義名********", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mSkillTitlePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mSkillTitlePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mSkillTitleScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); } #endif @@ -546,7 +882,272 @@ dMeter_drawEmpButtonHIO_c::dMeter_drawEmpButtonHIO_c() { #if DEBUG void dMeter_drawEmpButtonHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->genCheckBox("デバッグ表示A", &mDebugDisplayButton[0], 1, 0, 0, -1, -1, 512, 24); + mctx->genCheckBox("デバッグ表示B", &mDebugDisplayButton[1], 1, 0, 0, -1, -1, 512, 24); + mctx->genCheckBox("デバッグ表示R", &mDebugDisplayButton[2], 1, 0, 0, -1, -1, 512, 24); + mctx->genCheckBox("デバッグ表示Z", &mDebugDisplayButton[3], 1, 0, 0, -1, -1, 512, 24); + mctx->genCheckBox("デバッグ表示3D", &mDebugDisplayButton[4], 1, 0, 0, -1, -1, 512, 24); + mctx->genCheckBox("デバッグ表示C", &mDebugDisplayButton[5], 1, 0, 0, -1, -1, 512, 24); + mctx->genCheckBox("デバッグ表示S", &mDebugDisplayButton[6], 1, 0, 0, -1, -1, 512, 24); + mctx->genCheckBox("デバッグ表示X", &mDebugDisplayButton[7], 1, 0, 0, -1, -1, 512, 24); + mctx->genCheckBox("デバッグ表示Y", &mDebugDisplayButton[8], 1, 0, 0, -1, -1, 512, 24); + mctx->genCheckBox("デバッグ表示ビンアイコン", &mDebugDisplayButton[14], 1, 0, 0, -1, -1, 512, 24); + mctx->genSlider("2個表示の間隔", &mDisplaySpace, 0.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****全体*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mEmpButtonPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mEmpButtonPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mEmpButtonScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Aボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonAPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonAPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonAScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Bボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonBPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonBPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonBScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Rボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mRButtonPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mRButtonPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mRButtonScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Zボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonZPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonZPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonZScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****3Dボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &m3DButtonPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &m3DButtonPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &m3DButtonScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Cボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mCButtonPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mCButtonPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mCButtonScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****スタートボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mSButtonPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mSButtonPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mSButtonScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Xボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonXPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonXPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonXScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Yボタン*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonYPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonYPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonYScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ヌンチャクコントローラ*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mNunchukPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mNunchukPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mNunchukScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****リモコンコントローラ*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mWiimotePosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mWiimotePosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mWiimoteScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****リモコンコントローラ(←→)*****", 0, 0, 0, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mWiimoteLRPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mWiimoteLRPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mWiimoteLRScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****A+リモコンコントローラ*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mWiimoteAPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mWiimoteAPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mWiimoteAScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****3D+B*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &m3DBButtonPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &m3DBButtonPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &m3DBButtonScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ヌンチャク+リモコン*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mNunchukWiimotePosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mNunchukWiimotePosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mNunchukWiimoteScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ヌンチャク+リモコン(リール)*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mNunchukWiimoteRealPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mNunchukWiimoteRealPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mNunchukWiimoteRealScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ヌンチャク(リール)*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mNunchukRealPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mNunchukRealPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mNunchukRealScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ヌンチャク(盾アタック)*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mNunchukAttackPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mNunchukAttackPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mNunchukAttackScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****A+B*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mAButtonBPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mAButtonBPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mAButtonBScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ヌンチャクZボタン*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mNunchukButtonZPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mNunchukButtonZPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mNunchukButtonZScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ヌンチャクCボタン*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mNunchukCButtonPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mNunchukCButtonPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mNunchukCButtonScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ビンアイコン*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mBottleIconPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mBottleIconPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mBottleIconScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ビューチェンジ*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mViewChangePosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mViewChangePosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mViewChangeScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****テキスト1*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mText1PosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mText1PosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mText1Scale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****テキスト2*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mText2PosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mText2PosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mText2Scale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****アイテム*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mItemPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mItemPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mItemScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ミドナアイコン*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mMidnaIconPosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mMidnaIconPosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mMidnaIconScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ピカリ調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ピカリ調整(一騎撃ち用)*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mPikariFastScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mPikariFastFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mPikariFastFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mPikariFastFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mPikariFastFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mPikariFastFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mPikariFastFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mPikariFastFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mPikariFastFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mPikariFastBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mPikariFastBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mPikariFastBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mPikariFastBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mPikariFastBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mPikariFastBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mPikariFastBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mPikariFastBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mPikariFastAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ピカリ調整(盗み聞き用)*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mPikariListenScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mPikariListenFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mPikariListenFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mPikariListenFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mPikariListenFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mPikariListenFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mPikariListenFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mPikariListenFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mPikariListenFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mPikariListenBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mPikariListenBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mPikariListenBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mPikariListenBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mPikariListenBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mPikariListenBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mPikariListenBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mPikariListenBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mPikariListenAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ピカリ調整(連打)*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mPikariRepeatHitScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mPikariRepeatHitFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mPikariRepeatHitFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mPikariRepeatHitFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mPikariRepeatHitFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mPikariRepeatHitFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mPikariRepeatHitFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mPikariRepeatHitFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mPikariRepeatHitFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mPikariRepeatHitBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mPikariRepeatHitBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mPikariRepeatHitBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mPikariRepeatHitBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mPikariRepeatHitBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mPikariRepeatHitBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mPikariRepeatHitBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mPikariRepeatHitBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mPikariRepeatHitAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("連打フレーム数", &mRepeatHitFrameNum, 1, 300, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("連打スケール", &mRepeatHitScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n*****ホークアイ*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("調整ON", (u8*)&mHawkeyeDebugON, 1, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***全体***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mHawkeyePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mHawkeyePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***テキスト***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mHawkeyeTextPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", mHawkeyeTextPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***+***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mHawkeyePlusPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", mHawkeyeTextPosY + 1, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***−***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mHawkeyeMinusPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", mHawkeyeTextPosY + 2, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n*****ズームイン・ズームアウト*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("調整ON", (u8*)&mHawkeyeZoomDebugON, 1, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***全体***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mHawkeyeZoomPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mHawkeyeZoomPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mHawkeyeZoomScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール(4:3)", &mHawkeyeZoomScale_4x3, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***テキスト+アイコン***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", mHawkeyeIconPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mHawkeyeTextIconPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(4:3)", &mHawkeyeTextIconPosY_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", mHawkeyeIconScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***テキスト***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", mHawkeyeIconPosX + 1, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mHawkeyeZoomTextPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(4:3)", &mHawkeyeTextPosY_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", mHawkeyeIconScale + 1, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***アイコン***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", mHawkeyeIconPosX + 2, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mHawkeyeIconPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(4:3)", &mHawkeyeIconPosY_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", mHawkeyeIconScale + 2, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***ポインタON***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分0(R)", &mPointerONBlack[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分0(G)", &mPointerONBlack[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分0(B)", &mPointerONBlack[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分0(A)", &mPointerONBlack[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分0(R)", &mPointerONWhite[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分0(G)", &mPointerONWhite[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分0(B)", &mPointerONWhite[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分0(A)", &mPointerONWhite[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分1(R)", &mPointerONBlack[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分1(G)", &mPointerONBlack[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分1(B)", &mPointerONBlack[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分1(A)", &mPointerONBlack[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分1(R)", &mPointerONWhite[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分1(G)", &mPointerONWhite[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分1(B)", &mPointerONWhite[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分1(A)", &mPointerONWhite[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mPointerONScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメフレーム", &mPointerONAnimFrame, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***ポインタOFF***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(R)", &mPointerOFFBlack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(G)", &mPointerOFFBlack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(B)", &mPointerOFFBlack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分(A)", &mPointerOFFBlack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(R)", &mPointerOFFWhite.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(G)", &mPointerOFFWhite.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(B)", &mPointerOFFWhite.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分(A)", &mPointerOFFWhite.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mPointerOFFScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); } #endif @@ -723,7 +1324,152 @@ dMeter_drawMiniGameHIO_c::dMeter_drawMiniGameHIO_c() { #if DEBUG void dMeter_drawMiniGameHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->genLabel("************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****山羊追いゲーム*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****タイマーの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整X", &mTimerSizeX[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y", &mTimerSizeY[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mTimerPosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mTimerPosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mTimerAlpha[0], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整X4:3", &mTimerSizeX_4x3, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y4:3", &mTimerSizeY_4x3, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X4:3", &mTimerPosX_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y4:3", &mTimerPosY_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****カウンターの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整X", &mCounterSizeX[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y", &mCounterSizeY[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mCounterPosX[0], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mCounterPosY[0], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mCounterAlpha[0], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****牛のイメージの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整X", &mIconSizeX[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y", &mIconSizeY[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mIconPosX[0], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(4:3)", &mIconPosX_4x3, -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mIconPosY[0], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mIconAlpha[0], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("****************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ゾーラ川下りゲーム*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("****************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****的+カウンタの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y", &field_0x8[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &field_0x14[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(4:3)", &mRiverRideIconPosX_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &field_0x20[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &field_0x2c[1], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****カウンターの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整X", &mCounterSizeX[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y", &mCounterSizeY[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mCounterPosX[1], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mCounterPosY[1], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mCounterAlpha[1], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****的のイメージの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整X", &mIconSizeX[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y", &mIconSizeY[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mIconPosX[1], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mIconPosY[1], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mIconAlpha[1], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ライダーゲーム*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****カウンターの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整X", &mCounterSizeX[2], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y", &mCounterSizeY[2], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mCounterPosX[2], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mCounterPosY[2], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mCounterAlpha[2], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ライダーのイメージの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整X", &mIconSizeX[2], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y", &mIconSizeY[2], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mIconPosX[2], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(4:3)", &mRiderGameIconPosX_4x3, -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mIconPosY[2], -600.0f, 600.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mIconAlpha[2], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****スタート処理*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("Ready?Go!", &mReadyGo, 0, 200, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Get In!の調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->startComboBox("出現位置", &mGetInTextLocation, 0, NULL, -1, -1, 256, 26); + mctx->genComboBoxItem("固定位置", 0); + mctx->genComboBoxItem("牛から", 1); + mctx->endComboBox(); + mctx->genSlider("サイズ調整X", &mGetInTextSizeX, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y", &mGetInTextSizeY, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mGetInTextPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mGetInTextPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mGetInTextAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ウエイトフレーム", &mGetInTextWaitFrames, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファフレーム", &mGetInTextAlphaFrames, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Get In!のピカリ調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("出現開始フレーム", &mGetInPikariAppearFrames, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mGetInPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mGetInPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mGetInPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mGetInPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mGetInPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mGetInPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mGetInPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mGetInPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mGetInPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mGetInPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mGetInPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mGetInPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mGetInPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mGetInPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mGetInPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mGetInPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mGetInPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mGetInPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Start!!のピカリ調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("出現開始フレーム", &mStartPikariAppearFrames, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mStartPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mStartPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mStartPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mStartPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mStartPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mStartPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mStartPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mStartPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mStartPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mStartPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mStartPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mStartPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mStartPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mStartPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mStartPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mStartPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mStartPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mStartPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("タイマー表示フレーム", &mStartPikariDisplayFrames, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****READY? FIGHT!!の調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整X", &mReadyFightTextSizeX, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ調整Y", &mReadyFightTextSizeY, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mReadyFightTextPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mReadyFightTextPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mReadyFightTextAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ウエイトフレーム", &mReadyFightTextWaitFrames, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファフレーム", &field_0x172, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****READY? FIGHT!!のピカリ調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("出現開始フレーム", &mReadyFightPikariAppearFrames, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mReadyFightPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mReadyFightPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mReadyFightPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mReadyFightPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mReadyFightPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mReadyFightPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mReadyFightPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mReadyFightPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mReadyFightPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mReadyFightPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mReadyFightPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mReadyFightPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mReadyFightPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mReadyFightPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mReadyFightPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mReadyFightPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mReadyFightPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mReadyFightPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); } #endif @@ -796,7 +1542,101 @@ dMeter_drawLightDropHIO_c::dMeter_drawLightDropHIO_c() { #if DEBUG void dMeter_drawLightDropHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->genSlider("拡大縮小(通常)", &mVesselScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(通常)", &mVesselPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(通常)", &mVesselPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(4:3)", &mVesselPosX_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(4;3)", &mVesselPosY_4x3, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ(通常)", &mVesselAlpha[0], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(会話)", &mVesselTalkScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(会話)", &mVesselTalkPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(会話)", &mVesselTalkPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ(会話)", &mVesselAlpha[1], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ(器)", &mVesselAlpha[2], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ(雫)", &mDropAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***光の器ゲット後***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mDropGetScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡縮アニメフレーム数", &mDropGetScaleAnimFrameNum, 0, 30, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***光の雫コンプリート後***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("個々ピカリ間隔", &mPikariInterval, 0, 30, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("個々~一斉ピカリ間隔", &field_0x54, -30, 30, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("パーツのスケール", &mDropScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ONカラー黒(R)", &mDropOnColorBlack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ONカラー黒(G)", &mDropOnColorBlack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ONカラー黒(B)", &mDropOnColorBlack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ONカラー黒(A)", &mDropOnColorBlack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ONカラー白(R)", &mDropOnColorWhite.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ONカラー白(G)", &mDropOnColorWhite.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ONカラー白(B)", &mDropOnColorWhite.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ONカラー白(A)", &mDropOnColorWhite.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("OFFカラー黒(R)", &mDropOffColorBlack.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("OFFカラー黒(G)", &mDropOffColorBlack.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("OFFカラー黒(B)", &mDropOffColorBlack.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("OFFカラー黒(A)", &mDropOffColorBlack.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("OFFカラー白(R)", &mDropOffColorWhite.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("OFFカラー白(G)", &mDropOffColorWhite.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("OFFカラー白(B)", &mDropOffColorWhite.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("OFFカラー白(A)", &mDropOffColorWhite.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***ピカリ***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(通常)", &mPikariScaleNormal, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(コンプ後)", &mPikariScaleComplete, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mDropPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mDropPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mDropPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mDropPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mDropPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mDropPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mDropPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mDropPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mDropPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mDropPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mDropPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mDropPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mDropPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mDropPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mDropPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mDropPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード(コンプ中)", &mDropPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード(コンプ後)", &mDropPikariAnimSpeed_Completed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***ピカリ(ループ再生)***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mPikariLoopScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mPikariLoopFrontInner[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mPikariLoopFrontInner[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mPikariLoopFrontInner[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mPikariLoopFrontInner[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mPikariLoopFrontOuter[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mPikariLoopFrontOuter[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mPikariLoopFrontOuter[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mPikariLoopFrontOuter[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mPikariLoopBackInner[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mPikariLoopBackInner[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mPikariLoopBackInner[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mPikariLoopBackInner[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mPikariLoopBackOuter[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mPikariLoopBackOuter[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mPikariLoopBackOuter[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mPikariLoopBackOuter[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mPikariLoopAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("***ピカリ(ループBACK(停止))***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mPikariLoopBackScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mPikariLoopFrontInner[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mPikariLoopFrontInner[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mPikariLoopFrontInner[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mPikariLoopFrontInner[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mPikariLoopFrontOuter[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mPikariLoopFrontOuter[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mPikariLoopFrontOuter[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mPikariLoopFrontOuter[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mPikariLoopBackInner[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mPikariLoopBackInner[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mPikariLoopBackInner[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mPikariLoopBackInner[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mPikariLoopBackOuter[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mPikariLoopBackOuter[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mPikariLoopBackOuter[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mPikariLoopBackOuter[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("停止アニメフレーム", &mPikariLoopBackStopFrame, 0.0f, 60.0f, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("アニメデバッグ", &mAnimDebug, 1, 0, NULL, -1, -1, 512, 24); } #endif @@ -1454,14 +2294,717 @@ void dMeter_drawHIO_c::updateOffWide() {} #if DEBUG void dMeter_drawHIO_c::genMessage(JORMContext* mctx) { // DEBUG NONMATCHING + static const char* base_text[2] = { + "***アイテムあり***", + "***アイテムなし***", + }; + + mctx->genNode("コレクト画面", &mCollectScreen, 0, 0); + mctx->genNode("オプション画面", &mOptionScreen, 0, 0); + mctx->genNode("強調ボタン", &mEmpButton, 0, 0); + mctx->genNode("手紙セレクト画面", &mLetterSelectScreen, 0, 0); + mctx->genNode("魚一覧画面", &mFishListScreen, 0, 0); + mctx->genNode("虫一覧画面", &mInsectListScreen, 0, 0); + mctx->genNode("奥義一覧画面", &mSkillListScreen, 0, 0); + mctx->genNode("光の雫用", &mLightDrop, 0, 0); + mctx->genNode("ミニゲーム用", &mMiniGame, 0, 0); + field_0x8_debug = dMeter_map_HIO_c::mMySelfPointer; + if (field_0x8_debug != NULL) { + mctx->genNode("エリアマップ制御", field_0x8_debug, 0, 0); + } + mctx->genLabel("*****アイテムスケール割合*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("調整ON", (u8*)&mItemScaleAdjustON, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("割合", &mItemScalePercent, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("* ライフゲージ・魔法メーターの調整 *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("**********************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     ライフの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("**********************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ライフ10以下*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mLifeTopPosX, -100.0f, 100.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mLifeTopPosY, -100.0f, 100.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****魔法が無い*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mNoMagicPosY, -100.0f, 100.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****全体の調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("全体の拡大縮小", &mParentScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("全体のアルファ", &mParentAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ライフゲージの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mLifeParentScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ハートマークのアルファ", &mLifeParentHeartAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ベースのアルファ", &mHeartBaseAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mLifeGaugePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mLifeGaugePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ハートマークの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mHeartMarkScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mHeartAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****大きいハートマークの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mBigHeartScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mBigHeartAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    魔法メーターの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****魔法メーターの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mMagicMeterScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("バーのアルファ", &mMagicMeterAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("枠のアルファ", &mMagicMeterFrameAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mMagicMeterPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mMagicMeterPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*   カンテラメーターの調整   *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****カンテラメーターの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mLanternMeterScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("バーのアルファ", &mLanternMeterAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("枠のアルファ", &mLanternMeterFrameAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mLanternMeterPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mLanternMeterPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    酸素メーターの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****酸素メーターの調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mOxygenMeterScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("バーのアルファ", &mOxygenMeterAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("枠のアルファ", &mOxygenMeterFrameAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mOxygenMeterPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mOxygenMeterPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    操作説明関連の調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*      全体の調整      *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mMainHUDButtonsScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mMainHUDButtonsAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mMainHUDButtonsPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mMainHUDButtonsPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*  全体の調整(アイテム選択)  *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mRingHUDButtonsScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mRingHUDButtonsAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mRingHUDButtonsPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mRingHUDButtonsPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*   ボタン表示バックの調整   *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonDisplayBackScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonDisplayBackAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Aボタンの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonAScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonAAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonAPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonAPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(会話中)", &mButtonATalkScale[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(会話中)", &mButtonATalkPosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(会話中)", &mButtonATalkPosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(会話中A)", &mButtonATalkAScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(会話中A)", &mButtonATalkAPosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(会話中A)", &mButtonATalkAPosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(光の器)", &mButtonAVesselPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(光の器)", &mButtonAVesselPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Aフォントの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("テキストデバッグ", (u8*)&mButtonATextDebug, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アクションID", &mButtonATextActionID, 0, 2000, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("字間", &mButtonATextSpacing, -5.0f, 5.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonATextScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonATextPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonATextPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(会話中)", &mButtonATalkScale[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(会話中)", &mButtonATalkPosX[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(会話中)", &mButtonATalkPosY[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(会話中A)", &mButtonATextTalkAScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(会話中A)", &mButtonATalkAPosX[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(会話中A)", &mButtonATalkAPosY[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(R)", &mButtonATextColor.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(G)", &mButtonATextColor.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(B)", &mButtonATextColor.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(A)", &mButtonATextColor.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Bボタンの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonBScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonBAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonBPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonBPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(会話中)", &mButtonBTalkScale[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(会話中)", &mButtonBTalkPosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(会話中)", &mButtonBTalkPosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(狼)", &mButtonBWolfPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(狼)", &mButtonBWolfPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(光の器)", &mButtonBVesselPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(光の器)", &mButtonBVesselPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Bアイテムの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("調整ON", (u8*)&mButtonDebug[3], 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonBItemPosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonBItemPosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("回転", &mButtonBItemRotation[0], 0.0f, 360.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonBItemScale[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(個数)", &mItemBNumPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(個数)", &mItemBNumPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(個数)", &mItemBNumScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(剣)", &mButtonBItemPosX[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(剣)", &mButtonBItemPosY[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("回転(剣)", &mButtonBItemRotation[1], 0.0f, 360.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(剣)", &mButtonBItemScale[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(つり)", &mButtonBItemPosX[2], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(つり)", &mButtonBItemPosY[2], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("回転(つり)", &mButtonBItemRotation[2], 0.0f, 360.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(つり)", &mButtonBItemScale[2], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*   Bアイテムベースの調整   *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + for (int i = 0; i < 2; i++) { + mctx->genLabel(base_text[i], 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mItemBBaseScale[i], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mItemBBasePosX[i], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mItemBBasePosY[i], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mItemBBaseAlpha[i], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + } + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Bフォントの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonBFontScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonBFontPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonBFontPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(会話中)", &mButtonBTalkScale[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(会話中)", &mButtonBTalkPosX[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(会話中)", &mButtonBTalkPosY[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(R)", &mButtonBFontColor.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(G)", &mButtonBFontColor.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(B)", &mButtonBFontColor.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(A)", &mButtonBFontColor.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    ミドナアイコンの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mMidnaIconScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mMidnaIconAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mMidnaIconPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mMidnaIconPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     XYボタンの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイコンの半透明アルファ", &mButtonXYItemDimAlpha, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ボタンの半透明アルファ", &mButtonXYBaseDimAlpha, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Xボタンの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonXScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonXAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonXPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonXPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Xアイテムの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("調整ON", (u8*)&mButtonDebug[0], 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonXItemPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonXItemPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonXItemScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("回転", &mButtonItemRotation[0], 0.0f, 360.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(個数)", &mXItemNumPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(個数)", &mXItemNumPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(個数)", &mXItemNumScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*   Xアイテムベースの調整   *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + for (int i = 0; i < 2; i++) { + mctx->genLabel(base_text[i], 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonXItemBaseScale[i], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonXItemBasePosX[i], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonXItemBasePosY[i], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonXItemBaseAlpha[i], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + } + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Yボタンの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonYScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonYAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonYPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonYPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Yアイテムの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("調整ON", (u8*)&mButtonDebug[1], 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonYItemPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonYItemPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonYItemScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("回転", &mButtonItemRotation[1], 0.0f, 360.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(個数)", &mYItemNumPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(個数)", &mYItemNumPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小(個数)", &mYItemNumScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*   Yアイテムベースの調整   *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + for (int i = 0; i < 2; i++) { + mctx->genLabel(base_text[i], 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonYItemBaseScale[i], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonYItemBasePosX[i], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonYItemBasePosY[i], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonYItemBaseAlpha[i], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + } + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    XYフォントの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonXYTextScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonXYTextPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonXYTextPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(R)", &mButtonXYTextColor.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(G)", &mButtonXYTextColor.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(B)", &mButtonXYTextColor.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(A)", &mButtonXYTextColor.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Zボタンの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonZScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonZAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonZPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonZPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Zアイテムの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonZItemPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonZItemPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonZItemScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*   Zアイテムベースの調整   *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonZItemBaseScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonZItemBasePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonZItemBasePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonZItemBaseAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Zフォントの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonZFontScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonZFontPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonZFontPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(R)", &mButtonZFontColor.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(G)", &mButtonZFontColor.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(B)", &mButtonZFontColor.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カラー(A)", &mButtonZFontColor.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     ベース部分の調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonBaseAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    ルピー・カギの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*      全体の調整      *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mRupeeKeyScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mRupeeKeyPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mRupeeKeyPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mRupeeKeyAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*      ルピーの調整      *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mRupeeScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mRupeePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mRupeePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mRupeeAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*      カギの調整      *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mKeyScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mKeyPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mKeyPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mKeyAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     枠の模様の調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mRupeeFrameScale, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mRupeeFramePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mRupeeFramePosY, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mRupeeFrameAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*  ルピーの数字の調整*の調整   *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mRupeeCountScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mRupeeCountPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mRupeeCountPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mRupeeCountAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     カギの数字の調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mKeyNumScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mKeyNumPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mKeyNumPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mKeyNumAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*      拍車の調整      *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("調整ON", (u8*)&mSpurDebug, 1, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    拍車アイコンの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mSpurIconScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mSpurIconAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("* 非表示アイコン(黒ベタ)の調整 *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mUsedSpurIconScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mUsedSpurIconAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    表示可能領域の調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mSpurBarScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mSpurBarPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mSpurBarPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拍車の数", &mMaxSpurAmount, '\x03', '\f', 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Aボタンの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonAHorseScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mButtonAHorsePosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mButtonAHorsePosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*      ピカリの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Aボタンの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonAPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mButtonAPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mButtonAPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mButtonAPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mButtonAPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mButtonAPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mButtonAPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mButtonAPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mButtonAPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mButtonAPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mButtonAPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mButtonAPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mButtonAPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mButtonAPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mButtonAPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mButtonAPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mButtonAPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mButtonAPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Bボタンの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonBPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mButtonBPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mButtonBPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mButtonBPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mButtonBPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mButtonBPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mButtonBPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mButtonBPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mButtonBPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mButtonBPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mButtonBPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mButtonBPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mButtonBPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mButtonBPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mButtonBPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mButtonBPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mButtonBPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mButtonBPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     Zボタンの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonZPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mButtonZPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mButtonZPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mButtonZPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mButtonZPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mButtonZPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mButtonZPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mButtonZPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mButtonZPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mButtonZPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mButtonZPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mButtonZPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mButtonZPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mButtonZPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mButtonZPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mButtonZPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mButtonZPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mButtonZPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     XYボタンの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonXYPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mButtonXYPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mButtonXYPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mButtonXYPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mButtonXYPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mButtonXYPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mButtonXYPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mButtonXYPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mButtonXYPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mButtonXYPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mButtonXYPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mButtonXYPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mButtonXYPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mButtonXYPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mButtonXYPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mButtonXYPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mButtonXYPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mButtonXYPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     拍車アイコンの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mSpurIconPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mSpurIconPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mSpurIconPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mSpurIconPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mSpurIconPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mSpurIconPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mSpurIconPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mSpurIconPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mSpurIconPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mSpurIconPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mSpurIconPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mSpurIconPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mSpurIconPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mSpurIconPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mSpurIconPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mSpurIconPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mSpurIconPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mSpurIconPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     拍車アイコンRevive    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mSpurIconRevivePikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mSpurIconRevivePikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mSpurIconRevivePikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mSpurIconRevivePikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mSpurIconRevivePikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mSpurIconRevivePikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mSpurIconRevivePikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mSpurIconRevivePikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mSpurIconRevivePikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mSpurIconRevivePikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mSpurIconRevivePikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mSpurIconRevivePikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mSpurIconRevivePikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mSpurIconRevivePikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mSpurIconRevivePikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mSpurIconRevivePikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mSpurIconRevivePikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mSpurIconRevivePikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     ミドナボタンピカリ    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ボタン点滅", &mMidnaIconFlashRate, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mMidnaIconPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &mMidnaIconPikariFrontInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &mMidnaIconPikariFrontInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &mMidnaIconPikariFrontInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &mMidnaIconPikariFrontInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &mMidnaIconPikariFrontOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &mMidnaIconPikariFrontOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &mMidnaIconPikariFrontOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &mMidnaIconPikariFrontOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &mMidnaIconPikariBackInner.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &mMidnaIconPikariBackInner.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &mMidnaIconPikariBackInner.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &mMidnaIconPikariBackInner.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &mMidnaIconPikariBackOuter.r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &mMidnaIconPikariBackOuter.g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &mMidnaIconPikariBackOuter.b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &mMidnaIconPikariBackOuter.a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mMidnaIconPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*       十字ボタン      *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mButtonCrossScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(OFF)", &mButtonCrossOFFPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(OFF)", &mButtonCrossOFFPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X(ON)", &mButtonCrossONPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y(ON)", &mButtonCrossONPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("文字拡大縮小", &mButtonCrossTextScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mButtonCrossAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ITEMアルファ", &mButtonCrossITEMAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("MAPアルファ", &mButtonCrossMAPAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("移動フレーム", &mButtonCrossMoveFrame, 1, 0x1e, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*     ハイハイ矢印の調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("全表示", (u8*)&mScrollArrowDisplayAll, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小X", &mScrollArrowScaleX, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小Y", &mScrollArrowScaleY, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("BCKアニメスピード", &mScrollArrowBCKAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("BPKアニメスピード", &mScrollArrowBPKAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("BTKアニメスピード", &mScrollArrowBTKAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("上下用位置X", &mScrollArrowPosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("上下用位置Y", &mScrollArrowPosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("左右用位置X", &mScrollArrowPosX[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("左右用位置Y", &mScrollArrowPosY[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("中心位置X", &mScrollArrowCenterPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("中心位置Y", &mScrollArrowCenterPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*   Wiiロック矢印の調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("全表示", (u8*)&mWiiLockArrowDisplayAll, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小X", &mWiiLockArrowScaleX, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小Y", &mWiiLockArrowScaleY, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("BCKアニメスピード", &mWiiLockArrowBCKAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("BPKアニメスピード", &mWiiLockArrowBPKAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("BTKアニメスピード", &mWiiLockArrowBTKAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("上下用位置X", &mWiiLockArrowPosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("上下用位置Y", &mWiiLockArrowPosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("左右用位置X", &mWiiLockArrowPosX[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("左右用位置Y", &mWiiLockArrowPosY[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    タッチエリアの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    選択中カラーの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分1R", &mTouchAreaSelectBlack[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分1G", &mTouchAreaSelectBlack[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分1B", &mTouchAreaSelectBlack[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分1A", &mTouchAreaSelectBlack[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分1R", &mTouchAreaSelectWhite[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分1G", &mTouchAreaSelectWhite[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分1B", &mTouchAreaSelectWhite[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分1A", &mTouchAreaSelectWhite[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分2R", &mTouchAreaSelectBlack[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分2G", &mTouchAreaSelectBlack[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分2B", &mTouchAreaSelectBlack[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分2A", &mTouchAreaSelectBlack[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分2R", &mTouchAreaSelectWhite[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分2G", &mTouchAreaSelectWhite[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分2B", &mTouchAreaSelectWhite[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分2A", &mTouchAreaSelectWhite[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("フレーム数", &mTouchAreaSelectFrameNum, 1, 100, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*    非選択中カラーの調整    *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分R", &mTouchAreaSelectBlack[2].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分G", &mTouchAreaSelectBlack[2].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分B", &mTouchAreaSelectBlack[2].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分A", &mTouchAreaSelectBlack[2].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分R", &mTouchAreaSelectWhite[2].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分G", &mTouchAreaSelectWhite[2].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分B", &mTouchAreaSelectWhite[2].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分A", &mTouchAreaSelectWhite[2].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("* タッチエリア(MAP)の調整  *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("選択時スケール", &mTouchAreaSelectScale[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("非選択時スケール", &mTouchAreaUnselectScale[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mTouchAreaScale[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アルファ", &mTouchAreaAlpha[0], 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mTouchAreaPosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mTouchAreaPosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*タッチエリア(エリアマップ)の調整*", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("選択時スケール", &mTouchAreaSelectScale[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("非選択時スケール", &mTouchAreaUnselectScale[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mTouchAreaScale[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mTouchAreaPosX[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mTouchAreaPosY[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("* タッチエリア(ITEM)の調整 *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("選択時スケール", &mTouchAreaSelectScale[2], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("非選択時スケール", &mTouchAreaUnselectScale[2], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mTouchAreaPosX[2], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mTouchAreaPosY[2], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*   バーのテキストの調整     *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("MAPスケール", &mDpadMAPScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("MAPトランスX", &mDpadMAPPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("MAPトランスY", &mDpadMAPPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("* フローティングメッセージの調整 *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("メッセージデバッグ", (u8*)&mMessageDebug, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("メッセージID", (s32*)&mMessageID, 0, 0x7fff, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("フローデバッグ", (u8*)&mFlowDebug, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("メッセージID", (s32*)&mFlowID, 0, 0x7fff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("表示時間", &mMessageDuration, 0, 1000, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mFloatingMessagePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mFloatingMessagePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*   カンテラアイコンメーター  *", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("************************************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整X", &mLanternIconMeterPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("位置調整Y", &mLanternIconMeterPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("サイズ", &mLanternIconMeterSize, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); } void dMeter_drawHIO_c::updateFMsgDebug() { - + JORMContext* mctx = attachJORMContext(8); + mctx->startUpdateNode(this); + mctx->updateCheckBox(2, (u8*)&mMessageDebug, 1, 0); + mctx->updateCheckBox(2, (u8*)&mFlowDebug, 1, 0); + mctx->endUpdateNode(); + releaseJORMContext(mctx); } #endif dMeter_ringHIO_c::dMeter_ringHIO_c() { +#if WIDESCREEN_SUPPORT + updateOnWide(); +#else mRingRadiusH = 175.0f; mRingRadiusV = 160.0f; @@ -1570,17 +3113,405 @@ dMeter_ringHIO_c::dMeter_ringHIO_c() { field_0x154 = 255; mDirectSelectWaitFrames = 4; +#endif } #if WIDESCREEN_SUPPORT -void dMeter_ringHIO_c::updateOnWide() {} +void dMeter_ringHIO_c::updateOnWide() { + mRingRadiusH = 180.0f; + mRingRadiusV = 170.0f; -void dMeter_ringHIO_c::updateOffWide() {} + mOpenFrames = 5; + mCloseFrames = 5; + + mSelectItemScale = 1.4f; + mUnselectItemScale = 0.9f; + mSelectButtonScale = 1.3f; + mUnselectButtonScale = 1.0f; + mCursorScale = 1.0f; + + mItemNum = 8; + + mInactiveItemScale = 0.4f; + mItemAlphaFlashDuration = 300; + mItemAlphaMin = 255; + mItemAlphaMax = 255; + + mOffsetLineDisplay = 0; + + mItemIconAlpha = 255; + mItemIconAlpha_Wolf = 110; + + mItemFrame[SELECT_FRAME].r = 255; + mItemFrame[SELECT_FRAME].g = 255; + mItemFrame[SELECT_FRAME].b = 255; + mItemFrame[SELECT_FRAME].a = 0; + mItemFrame[UNSELECT_FRAME].r = 255; + mItemFrame[UNSELECT_FRAME].g = 255; + mItemFrame[UNSELECT_FRAME].b = 140; + mItemFrame[UNSELECT_FRAME].a = 0; + + mItemNamePosX = 135.0f; + mItemNamePosY = 176.0f; + mItemNameScale = 1.2f; + + mCenterPosX = 0.0f; + mCenterPosY = 0.0f; + mCenterScale = 1.0f; + mOverlayAlpha = 0.3f; + + mSelectPosX = 2.2f; + mSelectPosY = 3.0f; + mSelectScaleX = 0.8f; + mSelectScaleY = 0.85f; + + mItemDescPosX = 0.0f; + mItemDescPosY = 46.0f; + mItemDescScale = 0.95f; + mItemDescAlpha = 1.0f; + + mItemDescTitlePosX = 9.0f; + mItemDescTitlePosY = 0.0f; + mItemDescTitleScale = 1.1f; + + mItemRingPosX = -63.0f; + mItemRingPosY = -5.0f; + mRingPosX = -47.0f; + mRingPosY = -5.0f; + mRingAlpha = 0.65; + mRingAlpha_Wolf = 0.35f; + mRingScaleH = 1.2f; + mRingScaleV = 1.43f; + + mPikariScale = 2.5f; + mPikariFrontInner.r = 255; + mPikariFrontInner.g = 255; + mPikariFrontInner.b = 255; + mPikariFrontInner.a = 185; + mPikariFrontOuter.r = 0; + mPikariFrontOuter.g = 155; + mPikariFrontOuter.b = 0; + mPikariFrontOuter.a = 0; + mPikariBackInner.r = 255; + mPikariBackInner.g = 255; + mPikariBackInner.b = 255; + mPikariBackInner.a = 87; + mPikariBackOuter.r = 0; + mPikariBackOuter.g = 115; + mPikariBackOuter.b = 0; + mPikariBackOuter.a = 0; + mPikariAnimSpeed = 0.772705f; + + mCursorInitSpeed = 5000; + mCursorMax = 10000; + mCursorAccel = 3000; + mCursorChangeWaitFrames = 2; + mDirectSelectWaitFrames = 4; + + field_0x10 = 120.0f; + field_0x13e = 12; + field_0x140 = 2048; + field_0x142 = 128; + + field_0x44 = 0.0f; + field_0x48 = 0.0f; + field_0x4c = 1.0f; + field_0x154 = 255; + + mGuidePosX[SET_ITEM] = -59.0f; + mGuidePosY[SET_ITEM] = -64.0f; + mGuideScale[SET_ITEM] = 0.8f; + + mGuidePosX[DIRECT_SELECT] = 90.0f; + mGuidePosY[DIRECT_SELECT] = -124.0f; + mGuideScale[DIRECT_SELECT] = 0.8f; + + mGuidePosX[2] = 0.0f; + mGuidePosY[2] = 0.0f; + mGuideScale[2] = 1.0f; + + mGuidePosX[ROTATE] = 118.0f; + mGuidePosY[ROTATE] = -127.0f; + mGuideScale[ROTATE] = 0.8f; + + mGuidePosX[COMBO_ITEM] = -1.3f; + mGuidePosY[COMBO_ITEM] = -14.0f; + mGuideScale[COMBO_ITEM] = 0.85f; + + for (int i = 5; i < 10; i++) { + mGuidePosX[i] = 0.0f; + mGuidePosY[i] = 18.0f; + mGuideScale[i] = 0.85f; + } +} + +void dMeter_ringHIO_c::updateOffWide() { + mRingRadiusH = 170.0f; + mRingRadiusV = 160.0f; + + mOpenFrames = 5; + mCloseFrames = 5; + + mSelectItemScale = 1.4f; + mUnselectItemScale = 0.9f; + mSelectButtonScale = 1.4f; + mUnselectButtonScale = 1.0f; + mCursorScale = 1.0f; + + mItemNum = 8; + + mInactiveItemScale = 0.4f; + mItemAlphaFlashDuration = 300; + mItemAlphaMin = 255; + mItemAlphaMax = 255; + + mOffsetLineDisplay = 0; + + mItemIconAlpha = 255; + mItemIconAlpha_Wolf = 110; + + mItemFrame[SELECT_FRAME].r = 255; + mItemFrame[SELECT_FRAME].g = 255; + mItemFrame[SELECT_FRAME].b = 255; + mItemFrame[SELECT_FRAME].a = 0; + mItemFrame[UNSELECT_FRAME].r = 255; + mItemFrame[UNSELECT_FRAME].g = 255; + mItemFrame[UNSELECT_FRAME].b = 140; + mItemFrame[UNSELECT_FRAME].a = 0; + + mItemNamePosX = 143.0f; + mItemNamePosY = 177.0f; + mItemNameScale = 1.2f; + + mCenterPosX = 0.0f; + mCenterPosY = 0.0f; + mCenterScale = 1.0f; + mOverlayAlpha = 0.3f; + + mGuidePosX[8] = 0.0f; + mGuidePosY[8] = -60.0f; + mGuideScale[8] = 0.7; + + mGuidePosX[9] = 0.0f; + mGuidePosY[9] = -50.0f; + mGuideScale[9] = 1.0f; + + mGuidePosX[SET_ITEM] = 0.0f; + mGuidePosY[SET_ITEM] = 0.0f; + mGuideScale[SET_ITEM] = 1.0f; + + mGuidePosX[5] = 11.0f; + mGuidePosY[5] = -1.3f; + mGuideScale[5] = 1.4f; + + mGuidePosX[6] = 0.0f; + mGuidePosY[6] = -11.0f; + mGuideScale[6] = 1.0f; + + mGuidePosX[7] = 0.0f; + mGuidePosY[7] = -11.0f; + mGuideScale[7] = 1.0f; + + mGuidePosX[COMBO_ITEM] = -23.0f; + mGuidePosY[COMBO_ITEM] = 0.0f; + mGuideScale[COMBO_ITEM] = 1.0f; + + mSelectPosX = 2.2f; + mSelectPosY = 3.0f; + mSelectScaleX = 0.8f; + mSelectScaleY = 0.85f; + + mItemDescPosX = 0.0f; + mItemDescPosY = 46.0f; + mItemDescScale = 0.95f; + mItemDescAlpha = 1.0f; + + mItemDescTitlePosX = 9.0f; + mItemDescTitlePosY = 0.0f; + mItemDescTitleScale = 1.1f; + + mItemRingPosX = -38.0f; + mItemRingPosY = 0.0f; + mRingPosX = -38.0f; + mRingPosY = 1.3f; + mRingAlpha = 0.65f; + mRingAlpha_Wolf = 0.35f; + mRingScaleH = 1.6f; + mRingScaleV = 1.5f; + + mPikariScale = 2.5f; + mPikariFrontInner.r = 255; + mPikariFrontInner.g = 255; + mPikariFrontInner.b = 255; + mPikariFrontInner.a = 185; + mPikariFrontOuter.r = 0; + mPikariFrontOuter.g = 155; + mPikariFrontOuter.b = 0; + mPikariFrontOuter.a = 0; + mPikariBackInner.r = 255; + mPikariBackInner.g = 255; + mPikariBackInner.b = 255; + mPikariBackInner.a = 87; + mPikariBackOuter.r = 0; + mPikariBackOuter.g = 115; + mPikariBackOuter.b = 0; + mPikariBackOuter.a = 0; + mPikariAnimSpeed = 0.772705f; + + mCursorInitSpeed = 5000; + mCursorMax = 10000; + mCursorAccel = 3000; + mCursorChangeWaitFrames = 2; + mDirectSelectWaitFrames = 4; + + field_0x10 = 120.0f; + field_0x13e = 12; + field_0x140 = 2048; + field_0x142 = 128; + + field_0x44 = 0.0f; + field_0x48 = 0.0f; + field_0x4c = 1.0f; + field_0x154 = 255; + + mGuidePosX[DIRECT_SELECT] = 0.0f; + mGuidePosY[DIRECT_SELECT] = 0.0f; + mGuideScale[DIRECT_SELECT] = 1.0f; + + mGuidePosX[2] = 0.0f; + mGuidePosY[2] = 0.0f; + mGuideScale[2] = 1.0f; + + mGuidePosX[ROTATE] = 0.0f; + mGuidePosY[ROTATE] = 0.0f; + mGuideScale[ROTATE] = 1.0f; +} #endif #if DEBUG void dMeter_ringHIO_c::genMessage(JORMContext* mctx) { - // DEBUG NONMATCHING + mctx->genSlider("リング横半径", &mRingRadiusH, 50.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リング縦半径", &mRingRadiusV, 50.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("表示フレーム", &mOpenFrames, 1, 0xf, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("非表示フレーム", &mCloseFrames, 1, 0xf, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテムスケール(選択)", &mSelectItemScale, 0.5f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテムスケール(非選択)", &mUnselectItemScale, 0.5f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ボタンスケール(選択)", &mSelectButtonScale, 0.5f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ボタンスケール(非選択)", &mUnselectButtonScale, 0.5f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("カーソルスケール", &mCursorScale, 0.5f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテム数", &mItemNum, '\x02', '\x15', 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アクティブでないアイテムスケール", &mInactiveItemScale, 0.1f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アクティブなアルファ点滅スピード", &mItemAlphaFlashDuration, 2, 300, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アクティブなアルファ最小値", &mItemAlphaMin, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アクティブなアルファ最大値", &mItemAlphaMax, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("オフセットライン表示", &mOffsetLineDisplay, '\x01', 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテムアイコン明度", &mItemIconAlpha, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテムアイコン明度(狼)", &mItemIconAlpha_Wolf, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白い枠のR(選択中)", &mItemFrame[0].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白い枠のG(選択中)", &mItemFrame[0].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白い枠のB(選択中)", &mItemFrame[0].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白い枠の明度(選択中)", &mItemFrame[0].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白い枠のR", &mItemFrame[1].r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白い枠のG", &mItemFrame[1].g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白い枠のB", &mItemFrame[1].b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白い枠の明度", &mItemFrame[1].a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテム名トランスX", &mItemNamePosX, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテム名トランスY", &mItemNamePosY, -500.0f, 500.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテム名サイズ", &mItemNameScale, 0.0f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("センターX座標", &mCenterPosX, -100.0f, 100.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("センターY座標", &mCenterPosY, -100.0f, 100.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("センターサイズ", &mCenterScale, 0.0f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スポットアルファ", &mOverlayAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("セットxyX座標", &mGuidePosX[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("セットxyY座標", &mGuidePosY[0], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("セットxyサイズ", &mGuideScale[0], 0.0f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ダイレクト選択X座標", &mGuidePosX[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ダイレクト選択Y座標", &mGuidePosY[1], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ダイレクト選択サイズ", &mGuideScale[1], 0.0f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("選択X座標", &mGuidePosX[3], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("選択Y座標", &mGuidePosY[3], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("選択サイズ", &mGuideScale[3], 0.0f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("合成X座標", &mGuidePosX[4], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("合成Y座標", &mGuidePosY[4], -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("合成サイズ", &mGuideScale[4], 0.0f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("SELECT トランスX", &mSelectPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("SELECT トランスY", &mSelectPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("SELECT スケールX", &mSelectScaleX, 0.0f, 5.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("SELECT スケールY", &mSelectScaleY, 0.0f, 5.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテム説明トランスX", &mItemDescPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテム説明トランスY", &mItemDescPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテム説明サイズ", &mItemDescScale, 0.0f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アイテム説明アルファ", &mItemDescAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("タイトル部分トランスX", &mItemDescTitlePosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("タイトル部分トランスY", &mItemDescTitlePosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("タイトル部分サイズ", &mItemDescTitleScale, 0.0f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リングのトランスX", &mItemRingPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リングのトランスY", &mItemRingPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リングの内側の円トランスX", &mRingPosX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リングの内側の円トランスY", &mRingPosY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リングの内側の円アルファ", &mRingAlpha, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リングの内側の円アルファ(狼)", &mRingAlpha_Wolf, 0.0f, 1.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リングの内側の円横スケール", &mRingScaleH, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リングの内側の円縦スケール", &mRingScaleV, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****ピカリ調整*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大縮小", &mPikariScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(R)", &(mPikariFrontInner).r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(G)", &(mPikariFrontInner).g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(B)", &(mPikariFrontInner).b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R0(A)", &(mPikariFrontInner).a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(R)", &(mPikariFrontOuter).r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(G)", &(mPikariFrontOuter).g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(B)", &(mPikariFrontOuter).b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moya00 R1(A)", &(mPikariFrontOuter).a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(R)", &(mPikariBackInner).r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(G)", &(mPikariBackInner).g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(B)", &(mPikariBackInner).b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R0(A)", &(mPikariBackInner).a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(R)", &(mPikariBackOuter).r, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(G)", &(mPikariBackOuter).g, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(B)", &(mPikariBackOuter).b, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("moyabs R1(A)", &(mPikariBackOuter).a, 0, 255, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("アニメスピード", &mPikariAnimSpeed, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****青沼さん用*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("初速", &mCursorInitSpeed, 0, 5000, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("Max", &mCursorMax, 0, 10000, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("加速度", &mCursorAccel, 0, 3000, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("回転ウエイト", &mCursorChangeWaitFrames, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ダイレクト選択回転ウエイト", &mDirectSelectWaitFrames, 0, 100, 0, NULL, -1, -1, 512, 24); +} + +BOOL subJOREventCallbackListNode::JORAct(u32 param_1, const char* param_2) { + (void)param_1; + JORFile file; + if (file.open(param_2, 1, "", NULL, NULL, NULL)) { + if (!g_fmapHIO.mpArcFile) { + g_fmapHIO.mpArcFile = mDoExt_getArchiveHeap()->alloc(0x46000, 0x20); + JUT_ASSERT(6390, g_fmapHIO.mpArcFile != NULL); + } + if (!g_fmapHIO.mpDecompBuf) { + g_fmapHIO.mpDecompBuf = mDoExt_getArchiveHeap()->alloc(0x46000, 0x20); + JUT_ASSERT(6395, g_fmapHIO.mpDecompBuf != NULL); + } + memset(g_fmapHIO.mpArcFile, 0, 0x46000); + memset(g_fmapHIO.mpDecompBuf, 0, 0x46000); + file.readData(g_fmapHIO.mpArcFile, 0); + file.close(); + if (g_fmapHIO.mpArcData) { + JKRUnmountArchive(g_fmapHIO.mpArcData); + delete g_fmapHIO.mpArcData; + g_fmapHIO.mpArcData = NULL; + } + JKRDecompress((u8*)g_fmapHIO.mpArcFile, (u8*)g_fmapHIO.mpDecompBuf, 0x46000, 0); + g_fmapHIO.mpArcData = new(mDoExt_getArchiveHeap(), 0) JKRMemArchive(g_fmapHIO.mpDecompBuf, 0x46000, JKRMEMBREAK_FLAG_UNKNOWN0); + JUT_ASSERT(6413, g_fmapHIO.mpArcData != NULL); + if (dComIfGp_isHeapLockFlag() == 2) { + g_fmapHIO.field_0x2f9 = true; + } + OSReport("open file!\n"); + } else { + OSReport("open error!\n"); + } + return TRUE; } #endif @@ -1694,6 +3625,133 @@ dMeter_mapIconHIO_c::dMeter_mapIconHIO_c() { #if DEBUG void dMeter_mapIconHIO_c::genMessage(JORMContext* mctx) { // DEBUG NONMATCHING + mctx->genLabel("\n*****アイコン 表示調整*****\n", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** フィールド *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** ポータルカーソル *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mPortalCursorScale, 0.0f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** ポータルアイコン *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mPortalIconScale, 0.0f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** リンク *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mLinkScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mLinkZoomScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 目的地 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mDestinationScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mDestinationZoomScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 光の雫 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mLightDropScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mLightDropZoomScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 光の雫(点滅処理) *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("フレーム数", &mLightDropFlashFrameNum, 0, 200, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("始スケール(out)", &mLightDropFlashStartScaleOut[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("終スケール(out)", &mLightDropFlashEndScaleOut[0], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("始アルファ(out)", &mLightDropFlashStartAlphaOut[0], 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("終アルファ(out)", &mLightDropFlashEndAlphaOut[0], 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("始スケール(in)", &mLightDropFlashStartScaleOut[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("終スケール(in)", &mLightDropFlashEndScaleOut[1], 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("始アルファ(in)", &mLightDropFlashStartAlphaOut[1], 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("終アルファ(in)", &mLightDropFlashEndAlphaOut[1], 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 雪男 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mYetoScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mYetoZoomScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 雪女 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mYetaScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mYetaZoomScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** ゴールドウルフ *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mGoldWolfScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mGoldWolfZoomScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 馬車 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mWagonScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mWagonZoomScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** ステージ出入口 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mDungeonEntranceScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mDungeonEntranceZoomScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 入室位置 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mRoomEntranceScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mRoomEntranceZoomScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 入室位置LV8 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mLV8EntranceScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mLV8EntranceZoomScale[0], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** ダンジョン *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** リンク *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mLinkScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mLinkZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** ダンジョンワープ位置 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mDungeonWarpScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mDungeonWarpZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 目的地 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mDestinationScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mDestinationZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** ボス敵 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mBossScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mBossZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** ガノン *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mGanonScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mGanonZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 光の玉 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mLightOrbScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mLightOrbZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 鉄玉 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mCannonBallScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mCannonBallZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 猿(NPC) *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mMonkeyScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mMonkeyZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 天空人(おばちゃん) *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mOoccooScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mOoccooZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 天空人(壺) *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mOoccooPotScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mOoccooPotZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** コピーロッド石像 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mCopyRodStatueScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mCopyRodStatueZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 小さな鍵 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mSmallKeyScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mSmallKeyZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 宝箱 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mChestScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mChestZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** ステージ出入口 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mDungeonEntranceScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mDungeonEntranceZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 入室位置 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mRoomEntranceScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mRoomEntranceZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 入室位置 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("通常時スケール", &mLV8EntranceScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("拡大時スケール", &mLV8EntranceZoomScale[1], 0.01f, 2.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** LV5ダンジョンアイテムデバッグ *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("デバッグON", (u8*)&mLV5DungeonItemDebug, 1, 0, NULL, -1, -1, 512, 24); + mctx->startComboBox("アイテム", &mLV5DungeonItem, 0, NULL, -1, -1, 0x100, 0x1a); + mctx->genComboBoxItem("なし", 0xff); + mctx->genComboBoxItem("トマトピューレ", 0xf4); + mctx->genComboBoxItem("隠し味の素", 0xf5); + mctx->genComboBoxItem("ボス鍵", 0xf6); + mctx->endComboBox(); + mctx->genLabel("\n***** アイコンデバッグ表示 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("***アイコンデバッグ***", (u8*)&mIconDebug, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ポータル", (u8*)&mIconDisplay, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("リンク", (u8*)&mIconDisplay[1], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ダンジョンワープ位置", (u8*)&mIconDisplay[2], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("目的地", (u8*)&mIconDisplay[3], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ボス敵", (u8*)&mIconDisplay[4], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ガノン", (u8*)&mIconDisplay[5], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("光の雫", (u8*)&mIconDisplay[6], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("光の玉", (u8*)&mIconDisplay[7], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("鉄玉", (u8*)&mIconDisplay[8], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("雪男", (u8*)&mIconDisplay[9], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("雪女", (u8*)&mIconDisplay[10], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ゴールドウルフ", (u8*)&mIconDisplay[0xb], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("猿(NPC)", (u8*)&mIconDisplay[0xc], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("天空人(おばちゃん)", (u8*)&mIconDisplay[0xd], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("天空人(壺)", (u8*)&mIconDisplay[0xe], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("コピーロッド石像", (u8*)&mIconDisplay[0xf], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("馬車", (u8*)&mIconDisplay[0x10], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("小さな鍵", (u8*)&mIconDisplay[0x11], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("宝箱", (u8*)&mIconDisplay[0x12], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ステージ出入口", (u8*)&mIconDisplay[0x13], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("入室位置", (u8*)&mIconDisplay[0x14], 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ダンジョン出入り口LV8", (u8*)&mIconDisplay[0x15], 1, 0, NULL, -1, -1, 512, 24); } #endif @@ -1908,29 +3966,290 @@ dMeter_fmapHIO_c::~dMeter_fmapHIO_c() { #if DEBUG void dMeter_fmapHIO_c::genMessage(JORMContext* mctx) { // DEBUG NONMATCHING + static const char* txt[8] = { + "***リージョン1***", + "***リージョン2***", + "***リージョン3***", + "***リージョン4***", + "***リージョン5***", + "***リージョン6***", + "***リージョン7***", + "***BG***", + }; + static const char* title[3] = { + "****** ワールド全体 ******", + "****** リージョン全体 ******", + "****** リージョン拡大 ******", + }; + + mctx->genNode("アイコン", &mMapIconHIO, 0, 0); + mctx->genLabel("*****フィールドマップ調整項目*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ワールドグリッド表示", (u8*)&mDisplayWorldGrid, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ワールドグリッド幅", &mWorldGridWidth, 0.0, 100000.0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("リージョングリッド表示", (u8*)&mDisplayRegionGrid, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リージョングリッド幅", &mRegionGridWidth, 0.0, 100000.0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ワールド原点表示", (u8*)&mDisplayWorldOrigin, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("リージョン原点表示", (u8*)&mDisplayRegionOrigin, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ステージ原点表示", (u8*)&mDisplayStageOrigin, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リージョン拡大表示範囲", &mRegionZoomRange, 1000.0, 1000000.0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("表示基準領域枠表示", (u8*)&mDisplayReferenceArea, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("スクロール範囲を表示基準", (u8*)&field_0x308, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("左上座標X", &mMapTopLeftPosX, 0.0, 608.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("左上座標Y", &mMapTopLeftPosY, 0.0, 448.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("領域幅", &mMapScale, 0.0, 608.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n*** スクロール速度境界 ***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("0~遅", &mScrollSpeedSlowBound, 0.0, 1.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("遅~速", &mScrollSpeedFastBound, 0.0, 1.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n*** スクロール速度(遅) ***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ワールド全体", &mScrollSpeedWorldSlow, 0.0, 10.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リージョン全体", &mScrollSpeedRegionSlow, 0.0, 10.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リージョン拡大", &mScrollSpeedRegionZoomSlow, 0.0, 10.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ダンジョンマップ", &mScrollSpeedDungeonMapSlow, 0.0, 10.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n*** スクロール速度(速) ***", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ワールド全体", &mScrollSpeedWorldFast, 0.0, 10.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リージョン全体", &mScrollSpeedRegionFast, 0.0, 10.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("リージョン拡大", &mScrollSpeedRegionZoomFast, 0.0, 10.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ダンジョンマップ", &mScrollSpeedDungeonMapFast, 0.0, 10.0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ターミナル出力", (u8*)&mTerminalOutput, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ポータルデータターミナル出力", (u8*)&mPortalDataTerminalOutput, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("リージョン到達ビットターミナル出力", (u8*)&mRegionBitTerminalOutput, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("全て到達済み", (u8*)&mAllRegionsUnlocked, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("パス全表示", (u8*)&mDisplayAllPaths, 1, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** デバッグ用到達ビット *****", 0, 0, NULL, -1, -1, 512, 24); + for (int i = 0; i < 7; i++) { + mctx->genCheckBox(txt[i], (u8*)&mDebugRegionBits[i], 1, 0, NULL, -1, -1, 512, 24); + } + mctx->genLabel("到達リージョンPRINT", 0, 0, NULL, -1, -1, 512, 24); + mctx->genButton("PRINT", 0x40000002, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("全世界スクロール", (u8*)&mRegionPrintGlobalScroll, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("背景画像描画ON", (u8*)&mDrawBackground, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("背景アルファ", &mBackgroundAlpha, 0.0, 1.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("背景アルファ(前面)", &mBackgroundFrontAlpha, 0.0, 1.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ステージ拡大スケール", &mStageZoomScale, 1.0, 100.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n***** 背景画像のワールド座標オフセット *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("調整ON", (u8*)&mRegionImageDebug, 1, 0, NULL, -1, -1, 512, 24); + for (int i = 0; i < 8; i++) { + mctx->genLabel(txt[i], 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("座標X", &mRegionImagePosX[i], -300000.0, 300000.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("座標Z", &mRegionImagePosZ[i], -300000.0, 300000.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mRegionImageScale[i], -50.0, 50.0, 0, NULL, -1, -1, 512, 24); + } + mctx->genLabel("\n***** スクロール範囲 *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("表示ON", (u8*)&mScrollRangeDisplay, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("調整ON", (u8*)&mScrollRangeDebugON, 1, 0, NULL, -1, -1, 512, 24); + for (int i = 0; i < 7; i = i + 1) { + mctx->genLabel(txt[i], 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("座標最小X", &mRegionScrollRangeMinX[i], -300000.0, 300000.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("座標最小Z", &mRegionScrollRangeMinZ[i], -300000.0, 300000.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("座標最大X", &mRegionScrollRangeMaxX[i], -300000.0, 300000.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("座標最大Z", &mRegionScrollRangeMaxZ[i], -300000.0, 300000.0, 0, NULL, -1, -1, 512, 24); + } + mctx->genLabel("\n***** 範囲チェック *****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ON", (u8*)&mRangeCheck, 1, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("描画の優先", (u8*)&mRangeCheckDrawPriority, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("間隔", &mRangeCheckInterval, 0, '\n', 0, NULL, -1, -1, 512, 24); + mctx->genLabel("**********", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ポータルワープON", (u8*)&mPortalWarpON, 1, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("アーカイブ読み込み", 0, 0, NULL, -1, -1, 512, 24); + mctx->genButton("READ FILE", 0x40000001, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****タイトル部分****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mTitlePosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mTitlePosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mTitleScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****サブタイトル部分****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mSubTitlePosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mSubTitlePosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mSubTitleScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****エリア移動****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mAreaMovementPosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mAreaMovementPosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mAreaMovementScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****しまう****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mClosingPosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mClosingPosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mClosingScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Doアイコン****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mDoIconPosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mDoIconPosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mDoIconScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("ボタンデバッグON", (u8*)&mButtonDebugON, 1, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Zボタン****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mButtonZPosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mButtonZPosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mButtonZScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Aボタン****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mButtonAPosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mButtonAPosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mButtonAScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Bボタン****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mButtonBPosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mButtonBPosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mButtonBScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Zテキスト****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mButtonZTextPosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mButtonZTextPosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mButtonZTextScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Aテキスト****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mButtonATextPosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mButtonATextPosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mButtonATextScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****Bテキスト****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスX", &mButtonBTextPosX, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("トランスY", &mButtonBTextPosY, -300.0, 300.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mButtonBTextScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("**********", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n\n\n*****表示・非表示*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("表示フレーム数", &mDisplayFrameNum, 1, 100, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("非表示フレーム数", &mUndisplayFrameNum, 1, 100, 0, NULL, -1, -1, 512, 24); + mctx->startComboBox("出現マップタイプ", &mMapType, 0, NULL, -1, -1, 0x100, 0x1a); + mctx->genComboBoxItem("デフォルト", 0); + mctx->genComboBoxItem("全体マップ", 1); + mctx->genComboBoxItem("ダンジョンマップ", 2); + mctx->genComboBoxItem("ハイラル城マップ", 3); + mctx->endComboBox(); + field_0x14 = dMfm_HIO_c::mMySelfPointer; + if (field_0x14 != NULL) { + mctx->genNode("フィールドマップパス関係", field_0x14, 0, 0); + } + field_0x18 = dMdm_HIO_c::mMySelfPointer; + if (field_0x18 != NULL) { + mctx->genNode("ダンジョンマップ", field_0x18, 0, 0); + } + field_0x20 = dMf_HIO_c::mMySelfPointer; + if (field_0x20 != NULL) { + mctx->genNode("フィールドマップ", field_0x20, 0, 0); + } + mctx->genLabel("**********************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*******カーソル*******", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("**********************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genCheckBox("デバッグON", (u8*)&mCursorDebugON, 1, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分R", &mCursorBlack.r, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分G", &mCursorBlack.g, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分B", &mCursorBlack.b, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分A", &mCursorBlack.a, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分R", &mCursorWhite.r, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分G", &mCursorWhite.g, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分B", &mCursorWhite.b, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分A", &mCursorWhite.a, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mCursorScale, 0.0, 3.0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スピード", &mCursorSpeed, 0.0, 360.0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("**********************", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****カラー・点滅*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("**********************", 0, 0, NULL, -1, -1, 512, 24); + for (int i = 0; i < 3; i++) { + mctx->genLabel(title[i], 0, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("■選択されているリージョン", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分R", &mMapBlink[i].mSelectedRegion.mBlack.r, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分G", &mMapBlink[i].mSelectedRegion.mBlack.g, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分B", &mMapBlink[i].mSelectedRegion.mBlack.b, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分A", &mMapBlink[i].mSelectedRegion.mBlack.a, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分R", &mMapBlink[i].mSelectedRegion.mWhite.r, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分G", &mMapBlink[i].mSelectedRegion.mWhite.g, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分B", &mMapBlink[i].mSelectedRegion.mWhite.b, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分A", &mMapBlink[i].mSelectedRegion.mWhite.a, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("最大値", &mMapBlink[i].mSelectedRegion.mMax, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("最小値", &mMapBlink[i].mSelectedRegion.mMin, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("点滅スピード", &mMapBlink[i].mSelectedRegion.mBlinkSpeed, 0, 100, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("■選択されていないリージョン", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分R", &mMapBlink[i].mUnselectedRegion.mBlack.r, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分G", &mMapBlink[i].mUnselectedRegion.mBlack.g, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分B", &mMapBlink[i].mUnselectedRegion.mBlack.b, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分A", &mMapBlink[i].mUnselectedRegion.mBlack.a, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分R", &mMapBlink[i].mUnselectedRegion.mWhite.r, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分G", &mMapBlink[i].mUnselectedRegion.mWhite.g, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分B", &mMapBlink[i].mUnselectedRegion.mWhite.b, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分A", &mMapBlink[i].mUnselectedRegion.mWhite.a, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("■未到達リージョン", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分R", &mMapBlink[i].mUnreachedRegionBlack.r, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分G", &mMapBlink[i].mUnreachedRegionBlack.g, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分B", &mMapBlink[i].mUnreachedRegionBlack.b, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("黒成分A", &mMapBlink[i].mUnreachedRegionBlack.a, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分R", &mMapBlink[i].mUnreachedRegionWhite.r, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分G", &mMapBlink[i].mUnreachedRegionWhite.g, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分B", &mMapBlink[i].mUnreachedRegionWhite.b, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("白成分A", &mMapBlink[i].mUnreachedRegionWhite.a, 0, 0xff, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("\n", 0, 0, NULL, -1, -1, 512, 24); + } } -void dMeter_fmapHIO_c::listenPropertyEvent(const JORPropertyEvent*) { +void dMeter_fmapHIO_c::listenPropertyEvent(const JORPropertyEvent* property) { + JORReflexible::listenPropertyEvent(property); + JORFile file; + switch(reinterpret_cast(property->id)) { + case 0x40000001: + if (file.open(JORFile::EFlags_READ, "フィールドデータ(*.arc)\0*.arc\0すべてのファイル(*.*)\0*.*\0", "arc", NULL, NULL)) { + if (!mpArcFile) { + OSReport("arc heap free0 ===> %d\n",mDoExt_getArchiveHeap()->getTotalFreeSize()); + mpArcFile = mDoExt_getArchiveHeap()->alloc(0x46000, 0x20); + JUT_ASSERT(7405, mpArcFile != NULL); + } + if (!mpDecompBuf) { + OSReport("arc heap free1 ===> %d\n",mDoExt_getArchiveHeap()->getTotalFreeSize()); + mpDecompBuf = mDoExt_getArchiveHeap()->alloc(0x46000, 0x20); + JUT_ASSERT(7411, mpDecompBuf != NULL); + } + memset(mpArcFile, 0, 0x46000); + memset(mpDecompBuf, 0, 0x46000); + file.readData(mpArcFile, 0); + file.close(); + if (mpArcData) { + JKRUnmountArchive(mpArcData); + delete mpArcData; + mpArcData = NULL; + } + JKRDecompress((u8*)mpArcFile, (u8*)mpDecompBuf, 0x46000, 0); + mpArcData = new(mDoExt_getArchiveHeap(), 0) JKRMemArchive(mpDecompBuf, 0x46000, JKRMEMBREAK_FLAG_UNKNOWN0); + JUT_ASSERT(7429, mpArcData != NULL); + if (dComIfGp_isHeapLockFlag() == 2) { + field_0x2f9 = true; + } + OSReport("open file!\n"); + } else { + OSReport("open error!\n"); + } + break; + case 0x40000002: + for (int i = 1; i < 8; i++) { + OSReport("Region%d => %d\n", i, dComIfGs_isRegionBit(i)); + } + break; + } } void dMeter_fmapHIO_c::createEvtCallBackObject() { - + if (mpEvtCallBack) { + return; + } + mpEvtCallBack = new subJOREventCallbackListNode(); + JUT_ASSERT(7460, mpEvtCallBack != NULL) } void dMeter_fmapHIO_c::deleteEvtCallBackObject() { - + if (mpEvtCallBack) { + delete mpEvtCallBack; + mpEvtCallBack = NULL; + } } void dMeter_fmapHIO_c::update() { - + JORMContext* mctx = attachJORMContext(8); + mctx->startUpdateNode(this); + mctx->updateCheckBox(2, (u8*)&mAllRegionsUnlocked, 1, 0); + mctx->updateCheckBox(2, (u8*)&mPortalWarpON, 1, 0); + mctx->endUpdateNode(); + releaseJORMContext(mctx); } #endif dMeter_cursorHIO_c::dMeter_cursorHIO_c() { mShopCursorScale = 1.05f; mShopCursorOffsetY = -30.0f; +#if PLATFORM_WII + mMagicArmorCursorOffsetX = -10.0f; +#else mMagicArmorCursorOffsetX = 13.0f; +#endif mMagicArmorCursorOffsetY = -102.0f; mSeraShopObjZoom.set(100.0f, 145.0f, -155.0f); mSeraShopObjZoomAngleX = 3000; @@ -1943,6 +4262,26 @@ dMeter_cursorHIO_c::dMeter_cursorHIO_c() { #if DEBUG void dMeter_cursorHIO_c::genMessage(JORMContext* mctx) { // DEBUG NONMATCHING + mctx->genLabel("*****お店カーソル*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("オフセットY", &mShopCursorOffsetY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("オフセットX(マジックアーマー)", &mMagicArmorCursorOffsetX, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("オフセットY(マジックアーマー)", &mMagicArmorCursorOffsetY, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("スケール", &mShopCursorScale, 0.0f, 3.0f, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****お店の商品(セーラの最初の店)*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームX", &mSeraShopObjZoom.x, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームY", &mSeraShopObjZoom.y, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームZ", &mSeraShopObjZoom.z, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームアングルX", &mSeraShopObjZoomAngleX, -0x8000, 0x7fff, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****お店の商品(オフセット値)*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームX", &mObjZoom.x, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームY", &mObjZoom.y, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームZ", &mObjZoom.z, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームアングルX", &mShopObjZoomAngleX, -0x8000, 0x7fff, 0, NULL, -1, -1, 512, 24); + mctx->genLabel("*****マジックアーマー(オフセット値)*****", 0, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームX", &mMagicArmorObjZoom.x, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームY", &mMagicArmorObjZoom.y, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームZ", &mMagicArmorObjZoom.z, -300.0f, 300.0f, 0, NULL, -1, -1, 512, 24); + mctx->genSlider("ズームアングルX", &mMagicArmorObjZoomAngleX, -0x8000, 0x7fff, 0, NULL, -1, -1, 512, 24); } #endif diff --git a/src/d/d_meter_map.cpp b/src/d/d_meter_map.cpp index ae82fb052f0..d2e45d0e3c8 100644 --- a/src/d/d_meter_map.cpp +++ b/src/d/d_meter_map.cpp @@ -15,6 +15,58 @@ #include "f_op/f_op_overlap_mng.h" #include "m_Do/m_Do_controller_pad.h" +#if DEBUG +dMeter_map_HIO_c g_meter_map; + +dMeter_map_HIO_c::dMeter_map_HIO_c() { + dMeter_map_HIO_c::mMySelfPointer = this; + field_0x34 = dMap_HIO_c::mMySelfPointer; + field_0x5 = 0; + field_0x6 = 0; + field_0x8 = -38; + field_0xa = 380; + field_0xc = 35; + field_0xe = 380; + field_0x10 = 35; + field_0x12 = 421; + field_0x14 = -36; + field_0x16 = 0; + field_0x17 = 0; + field_0x18 = 1; + field_0x1a = 144; + field_0x1c = 144; + field_0x1e = 216; + field_0x20 = 216; + field_0x22 = 96; + field_0x24 = 96; + field_0x26 = 0; + field_0x2a = 144; + field_0x2c = 0; + field_0x2d = 180; + field_0x2e = 0; + field_0x2f = 0; + field_0x30 = 144; + field_0x32 = 0; + field_0x33 = 0; +} + +void dMeter_map_HIO_c::genMessage(JORMContext* mctx) { + // DEBUG NONMATCHING +} + +void dMeter_map_HIO_c::listenPropertyEvent(const JORPropertyEvent*) { + // DEBUG NONMATCHING +} + +void dMeter_map_HIO_c::update() { + JORMContext* mctx = attachJORMContext(8); + mctx->startUpdateNode(this); + mctx->updateRadioButton(2, &field_0x18, 1); + mctx->endUpdateNode(); + releaseJORMContext(mctx); +} +#endif + bool dMeterMap_c::isEnableDispMap() { bool minimapEnable = false; stage_stag_info_class* pstag = dComIfGp_getStage()->getStagInfo(); @@ -150,6 +202,11 @@ bool dMeterMap_c::isMapOpenCheck() { } dMeterMap_c::dMeterMap_c(J2DScreen* i_scrn) { +#if DEBUG + field_0x4_debug = 0; + field_0x8_debug = 0; + dMeterMap_c::mMySelfPointer = this; +#endif _create(i_scrn); }