From 55834a647c24564574c5ff20637a1cdf980d6b12 Mon Sep 17 00:00:00 2001 From: korenkonder Date: Tue, 9 Apr 2024 18:38:03 +0300 Subject: [PATCH] UTF-8 fixes --- src/CRE/module_table.cpp | 24 +++---- src/ReDIVA/data_edit.cpp | 2 +- src/ReDIVA/data_test/auth_3d_test.cpp | 48 +++++++------- src/ReDIVA/data_test/equip_test.cpp | 6 +- src/ReDIVA/data_test/motion_test.cpp | 43 ++++++------ src/ReDIVA/data_test/stage_test.cpp | 22 +++--- src/ReDIVA/graphics/face_light.cpp | 10 +-- src/ReDIVA/graphics/light.cpp | 34 +++++----- src/ReDIVA/pv_game/player_data.cpp | 4 +- src/ReDIVA/pv_game/pv_game_pv_data.cpp | 92 +++++++++++++------------- src/ReDIVA/x_pv_game.cpp | 2 +- 11 files changed, 142 insertions(+), 145 deletions(-) diff --git a/src/CRE/module_table.cpp b/src/CRE/module_table.cpp index bf398252..b32823be 100644 --- a/src/CRE/module_table.cpp +++ b/src/CRE/module_table.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */ @@ -56,17 +56,17 @@ struct module_data_random { }; module_data_random module_data_random_data[] = { - { -2, 0, CHARA_MIKU , 1935, 35031, "オール ランダム" }, - { -3, 1, CHARA_MIKU , 1947, 35043, "初音ミク ランダム" }, - { -4, 2, CHARA_RIN , 1951, 35047, "鏡音リン ランダム" }, - { -5, 3, CHARA_LEN , 1941, 35037, "鏡音レン ランダム" }, - { -6, 4, CHARA_LUKA , 1943, 35039, "巡音ルカ ランダム" }, - { -7, 8, CHARA_NERU , 1949, 35045, "亞北ネル ランダム" }, - { -8, 7, CHARA_HAKU , 1937, 35033, "弱音ハク ランダム" }, - { -9, 6, CHARA_KAITO , 1939, 35035, "カイト ランダム" }, - { -10, 5, CHARA_MEIKO , 1945, 35041, "メイコ ランダム" }, - { -11, 9, CHARA_SAKINE, 1953, 35049, "咲音メイコ ランダム" }, - { -12, 10, CHARA_TETO , 2400, 35051, "重音テト ランダム" }, + { -2, 0, CHARA_MIKU , 1935, 35031, u8"オール ランダム" }, + { -3, 1, CHARA_MIKU , 1947, 35043, u8"初音ミク ランダム" }, + { -4, 2, CHARA_RIN , 1951, 35047, u8"鏡音リン ランダム" }, + { -5, 3, CHARA_LEN , 1941, 35037, u8"鏡音レン ランダム" }, + { -6, 4, CHARA_LUKA , 1943, 35039, u8"巡音ルカ ランダム" }, + { -7, 8, CHARA_NERU , 1949, 35045, u8"亞北ネル ランダム" }, + { -8, 7, CHARA_HAKU , 1937, 35033, u8"弱音ハク ランダム" }, + { -9, 6, CHARA_KAITO , 1939, 35035, u8"カイト ランダム" }, + { -10, 5, CHARA_MEIKO , 1945, 35041, u8"メイコ ランダム" }, + { -11, 9, CHARA_SAKINE, 1953, 35049, u8"咲音メイコ ランダム" }, + { -12, 10, CHARA_TETO , 2400, 35051, u8"重音テト ランダム" }, }; module_table_handler* module_table_handler_data; diff --git a/src/ReDIVA/data_edit.cpp b/src/ReDIVA/data_edit.cpp index 871bfb56..00252ad0 100644 --- a/src/ReDIVA/data_edit.cpp +++ b/src/ReDIVA/data_edit.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */ diff --git a/src/ReDIVA/data_test/auth_3d_test.cpp b/src/ReDIVA/data_test/auth_3d_test.cpp index 6a5f72bb..82897db7 100644 --- a/src/ReDIVA/data_test/auth_3d_test.cpp +++ b/src/ReDIVA/data_test/auth_3d_test.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */ @@ -817,9 +817,9 @@ Auth3dTestSubWindow::Auth3dTestSubWindow() { SetText("A3D STAGE"); #if DW_TRANSLATE - const char* plane_above_floor_text = "Plane 25 cm above floor"; + const char* plane_above_floor_text = u8"Plane 25 cm above floor"; #else - const char* plane_above_floor_text = "床上25cm"; + const char* plane_above_floor_text = u8"床上25cm"; #endif plane_above_floor = new dw::Button(this, dw::CHECKBOX); @@ -868,11 +868,11 @@ Auth3dTestSubWindow::Auth3dTestSubWindow() { stg_list->list->AddSelectionListener(&selection_list_stage); #if DW_TRANSLATE - const char* stage_link_change_text = "Stage Link Change"; - const char* auth_2d_text = "2D Auth"; + const char* stage_link_change_text = u8"Stage Link Change"; + const char* auth_2d_text = u8"2D Auth"; #else - const char* stage_link_change_text = "STG連動切り替え"; - const char* auth_2d_text = "2Dオーサ"; + const char* stage_link_change_text = u8"STG連動切り替え"; + const char* auth_2d_text = u8"2Dオーサ"; #endif stage_link_change = new dw::Button(this, dw::CHECKBOX); @@ -1202,21 +1202,21 @@ Auth3dTestWindow::Auth3dTestWindow() { SetText("AUTH3D"); #if DW_TRANSLATE - const char* nage_text = "NAGE▽"; - const char* obj_link_text = "OBJ Link"; - const char* left_right_reverse_text = "Left Right Reverse"; - const char* snap_shot_text = "ss capture"; - const char* self_shadow_off_text = "Self Shadow Off"; - const char* black_mask_text = "Black Mask"; - const char* offset_save_text = "Offset Save"; + const char* nage_text = u8"NAGE▽"; + const char* obj_link_text = u8"OBJ Link"; + const char* left_right_reverse_text = u8"Left Right Reverse"; + const char* snap_shot_text = u8"ss capture"; + const char* self_shadow_off_text = u8"Self Shadow Off"; + const char* black_mask_text = u8"Black Mask"; + const char* offset_save_text = u8"Offset Save"; #else - const char* nage_text = "投▽"; - const char* obj_link_text = "OBJ連動"; - const char* left_right_reverse_text = "左右逆"; - const char* snap_shot_text = "ss画撮"; - const char* self_shadow_off_text = "セルフ影OFF"; - const char* black_mask_text = "黒mask"; - const char* offset_save_text = "オフセットSave"; + const char* nage_text = u8"投▽"; + const char* obj_link_text = u8"OBJ連動"; + const char* left_right_reverse_text = u8"左右逆"; + const char* snap_shot_text = u8"ss画撮"; + const char* self_shadow_off_text = u8"セルフ影OFF"; + const char* black_mask_text = u8"黒mask"; + const char* offset_save_text = u8"オフセットSave"; #endif dw::Composite* v4 = new dw::Composite(this); @@ -1225,15 +1225,15 @@ Auth3dTestWindow::Auth3dTestWindow() { (new dw::Label(v4))->SetText(" "); chara = new dw::Button(v4, dw::FLAG_8); - chara->SetText("CHARA▽"); + chara->SetText(u8"CHARA▽"); chara_menu = 0; stg = new dw::Button(v4, dw::FLAG_8); - stg->SetText("STG▽"); + stg->SetText(u8"STG▽"); stg_menu = 0; eff = new dw::Button(v4, dw::FLAG_8); - eff->SetText("EFF▽"); + eff->SetText(u8"EFF▽"); eff_menu = 0; nage = new dw::Button(v4, dw::FLAG_8); diff --git a/src/ReDIVA/data_test/equip_test.cpp b/src/ReDIVA/data_test/equip_test.cpp index f482d9ef..725dfa47 100644 --- a/src/ReDIVA/data_test/equip_test.cpp +++ b/src/ReDIVA/data_test/equip_test.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */ @@ -340,9 +340,9 @@ DataTestEquipDw::DataTestEquipDw() : chara_id() { data_test_item_array_load(); #if DW_TRANSLATE - const char* exclusive_check_text = "Switch to exclusive check window"; + const char* exclusive_check_text = u8"Switch to exclusive check window"; #else - const char* exclusive_check_text = "排他チェック窓に切替"; + const char* exclusive_check_text = u8"排他チェック窓に切替"; #endif dw::Button* exclusive_check = new dw::Button(this, dw::FLAG_8); diff --git a/src/ReDIVA/data_test/motion_test.cpp b/src/ReDIVA/data_test/motion_test.cpp index 60738357..735e1a7d 100644 --- a/src/ReDIVA/data_test/motion_test.cpp +++ b/src/ReDIVA/data_test/motion_test.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */ @@ -783,34 +783,34 @@ const char* DataTestMotA3d::GetStateText() { switch (state) { #if DW_TRANSLATE case 0: - return "A3D: Initializing..."; + return u8"A3D: Initializing..."; case 1: - return "A3D: Awaiting command..."; + return u8"A3D: Awaiting command..."; case 2: - return "A3D: Requesting data..."; + return u8"A3D: Requesting data..."; case 3: - return "A3D: Loading PV Stage..."; + return u8"A3D: Loading PV Stage..."; case 4: - return "A3D: Loading A3D Category..."; + return u8"A3D: Loading A3D Category..."; case 5: - return "A3D: Loading A3D Handle..."; + return u8"A3D: Loading A3D Handle..."; default: - return "A3D: Unknown mode"; + return u8"A3D: Unknown mode"; #else case 0: - return "A3D: 初期化中..."; + return u8"A3D: 初期化中..."; case 1: - return "A3D: 命令待機中..."; + return u8"A3D: 命令待機中..."; case 2: - return "A3D: データリクエスト中..."; + return u8"A3D: データリクエスト中..."; case 3: - return "A3D: PVステージ読込中..."; + return u8"A3D: PVステージ読込中..."; case 4: - return "A3D: A3Dカテゴリ読込中..."; + return u8"A3D: A3Dカテゴリ読込中..."; case 5: - return "A3D: A3Dハンドル読込中..."; + return u8"A3D: A3Dハンドル読込中..."; default: - return "A3D: 未知のモード"; + return u8"A3D: 未知のモード"; #endif } } @@ -1793,10 +1793,7 @@ DataTestFaceMotDw::Data DataTestFaceMotDw::GetData() { } uint32_t face_cl_mot_id = aft_mot_db->get_motion_id(face_cl_mot.c_str()); - if (face_cl_mot_id != -1) - face_cl->SetText(face_cl_mot); - else - face_cl->SetText("CLモーションなし"); + face_cl->SetText(face_cl_mot_id != -1 ? face_cl_mot : u8"CLモーションなし"); auto elem_eyelid = motion_id_mottbl_map.find(face_cl_mot_id); if (elem_eyelid != motion_id_mottbl_map.end()) @@ -2326,9 +2323,9 @@ DataTestMotDw::DataTestMotDw(int32_t chara_id, DtmMot* dtm_mot) { dtm_mot->SetPartialMot(false); #if DW_TRANSLATE - const char* save_only_start_frame_button_text = "Initialize only Start Frame Osage"; + const char* save_only_start_frame_button_text = u8"Initialize only Start Frame Osage"; #else - const char* save_only_start_frame_button_text = "Startフレームだけおさげ初期化"; + const char* save_only_start_frame_button_text = u8"Startフレームだけおさげ初期化"; #endif dw::Button* save_only_start_frame_button = new dw::Button(this, dw::CHECKBOX); @@ -2673,9 +2670,9 @@ DataTestMotA3dDw::DataTestMotA3dDw() { a3d_label->SetFont(dw::p_font_type_6x12); #if DW_TRANSLATE - const char* please_select_a_pv = "Please select a PV"; + const char* please_select_a_pv = u8"Please select a PV"; #else - const char* please_select_a_pv = "PVを選択して下さい"; + const char* please_select_a_pv = u8"PVを選択して下さい"; #endif a3d = new dw::ListBox(a3d_comp); diff --git a/src/ReDIVA/data_test/stage_test.cpp b/src/ReDIVA/data_test/stage_test.cpp index 8eef08ea..3e203a01 100644 --- a/src/ReDIVA/data_test/stage_test.cpp +++ b/src/ReDIVA/data_test/stage_test.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */ @@ -204,17 +204,17 @@ DtwStg::DtwStg() : Shell(0) { stage->AddSelectionListener(new dw::SelectionListenerOnHook(DtwStg::StageCallback)); #if DW_TRANSLATE - const char* stage_display_text = "Stage display"; - const char* ring_text = "[Ring]"; - const char* ground_text = "[Ground]"; - const char* sky_text = "[Sky]"; - const char* effect_display_text = "Effects display"; + const char* stage_display_text = u8"Stage display"; + const char* ring_text = u8"[Ring]"; + const char* ground_text = u8"[Ground]"; + const char* sky_text = u8"[Sky]"; + const char* effect_display_text = u8"Effects display"; #else - const char* stage_display_text = "ステージ表示"; - const char* ring_text = "【リング】"; - const char* ground_text = "【地面】"; - const char* sky_text = "【空】"; - const char* effect_display_text = "エフェクト表示"; + const char* stage_display_text = u8"ステージ表示"; + const char* ring_text = u8"【リング】"; + const char* ground_text = u8"【地面】"; + const char* sky_text = u8"【空】"; + const char* effect_display_text = u8"エフェクト表示"; #endif stage_display = new dw::Button(this, dw::CHECKBOX); diff --git a/src/ReDIVA/graphics/face_light.cpp b/src/ReDIVA/graphics/face_light.cpp index aebfe4a7..a8de26a9 100644 --- a/src/ReDIVA/graphics/face_light.cpp +++ b/src/ReDIVA/graphics/face_light.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */ @@ -78,11 +78,11 @@ DwFaceLight::DwFaceLight() { reset->callback = DwFaceLight::ResetCallback; #if DW_TRANSLATE - const char* set_for_each_cut_text = "Set for each PV cut"; - const char* strength_text = "Strength"; + const char* set_for_each_cut_text = u8"Set for each PV cut"; + const char* strength_text = u8"Strength"; #else - const char* set_for_each_cut_text = "PVのカットごとに設定"; - const char* strength_text = "強さ"; + const char* set_for_each_cut_text = u8"PVのカットごとに設定"; + const char* strength_text = u8"強さ"; #endif set_for_each_cut_button = new dw::Button(this, dw::CHECKBOX); diff --git a/src/ReDIVA/graphics/light.cpp b/src/ReDIVA/graphics/light.cpp index 14961899..d9d0a29a 100644 --- a/src/ReDIVA/graphics/light.cpp +++ b/src/ReDIVA/graphics/light.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */ @@ -282,15 +282,15 @@ LightDw::GAmbientSlider::GAmbientSlider(LightDw* light_dw, dw::Widget* parent) { light_data* light = &rctx_ptr->light_set[light_dw_light_set_id].lights[LIGHT_TONE_CURVE]; #if DW_TRANSLATE - const char* chara_f_tone_curve_adjustment_text = "CHARA(F) Tone Curve Adjustment"; - const char* start_point_text = "Start Point"; - const char* end_point_text = "End Point"; - const char* coefficient_text = "Coefficient"; + const char* chara_f_tone_curve_adjustment_text = u8"CHARA(F) Tone Curve Adjustment"; + const char* start_point_text = u8"Start Point"; + const char* end_point_text = u8"End Point"; + const char* coefficient_text = u8"Coefficient"; #else - const char* chara_f_tone_curve_adjustment_text = "CHARA(F)トーンカーブ調整"; - const char* start_point_text = "始点"; - const char* end_point_text = "終点"; - const char* coefficient_text = "係数"; + const char* chara_f_tone_curve_adjustment_text = u8"CHARA(F)トーンカーブ調整"; + const char* start_point_text = u8"始点"; + const char* end_point_text = u8"終点"; + const char* coefficient_text = u8"係数"; #endif dw::Label* label = new dw::Label(comp); @@ -344,9 +344,9 @@ LightDw::SyncPosButton::SyncPosButton(LightDw* light_dw, dw::Widget* parent) { dw::Composite* comp = dynamic_cast(parent); if (comp) { #if DW_TRANSLATE - const char* sync_pos_text = "Light 0-6 Sync Position"; + const char* sync_pos_text = u8"Light 0-6 Sync Position"; #else - const char* sync_pos_text = "Light 0-6 座標同期"; + const char* sync_pos_text = u8"Light 0-6 座標同期"; #endif sync_pos = new dw::Button(comp, dw::CHECKBOX); @@ -374,9 +374,9 @@ LightDw::LightAuthEnableButton::LightAuthEnableButton(LightDw* light_dw, dw::Wid dw::Composite* comp = dynamic_cast(parent); if (comp) { #if DW_TRANSLATE - const char* light_auth_enable_text = "Light Auth Enable"; + const char* light_auth_enable_text = u8"Light Auth Enable"; #else - const char* light_auth_enable_text = "ライトオーサ有効"; + const char* light_auth_enable_text = u8"ライトオーサ有効"; #endif light_auth_enable = new dw::Button(comp, dw::CHECKBOX); @@ -404,9 +404,9 @@ LightDw::CutLightEnableButton::CutLightEnableButton(LightDw* light_dw, dw::Widge dw::Composite* comp = dynamic_cast(parent); if (comp) { #if DW_TRANSLATE - const char* set_for_each_cut_text = "Set for each PV cut"; + const char* set_for_each_cut_text = u8"Set for each PV cut"; #else - const char* set_for_each_cut_text = "PVのカットごとに設定"; + const char* set_for_each_cut_text = u8"PVのカットごとに設定"; #endif set_for_each_cut = new dw::Button(comp, dw::CHECKBOX); @@ -1065,9 +1065,9 @@ LightDw::LightDw() { light_dw_get_light()->get_clip_plane(clip_plane); #if DW_TRANSLATE - const char* reflective_surface_clip_stage_text = "Reflective Surface Clip (STAGE)"; + const char* reflective_surface_clip_stage_text = u8"Reflective Surface Clip (STAGE)"; #else - const char* reflective_surface_clip_stage_text = "反射面クリップ(STAGE)"; + const char* reflective_surface_clip_stage_text = u8"反射面クリップ(STAGE)"; #endif dw::Button* reflective_surface_clip_stage = new dw::Button(comp, dw::CHECKBOX); diff --git a/src/ReDIVA/pv_game/player_data.cpp b/src/ReDIVA/pv_game/player_data.cpp index e888e976..b6bbf857 100644 --- a/src/ReDIVA/pv_game/player_data.cpp +++ b/src/ReDIVA/pv_game/player_data.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */ @@ -168,7 +168,7 @@ void PlayerData::Reset() { accept_index = -1; start_index = -1; - player_name.assign("NO-NAME"); + player_name.assign(u8"NO-NAME"); level_name.assign(""); level = 1; diff --git a/src/ReDIVA/pv_game/pv_game_pv_data.cpp b/src/ReDIVA/pv_game/pv_game_pv_data.cpp index 2a14cf18..b54bf97e 100644 --- a/src/ReDIVA/pv_game/pv_game_pv_data.cpp +++ b/src/ReDIVA/pv_game/pv_game_pv_data.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */ @@ -20,54 +20,54 @@ struct struc_595 { }; struct struc_595 stru_1409A0AA0[] = { - { "通常", 0xA7, 0, 0 }, - { "カメラ目線", 0xA7, 1, 0 }, - { "上", 0xA9, 0, 0 }, - { "下", 0xAB, 0, 0 }, - { "左", 0xAD, 0, 0 }, - { "右", 0xAF, 0, 0 }, - { "右上", 0xB3, 0, 0 }, - { "右下", 0xB7, 0, 0 }, - { "左上", 0xB1, 0, 0 }, - { "左下", 0xB5, 0, 0 }, - { "上 → 下", 0xB9, 2, 8 }, - { "下 → 上", 0xB9, 3, 8 }, - { "左 → 右", 0xBB, 2, 8 }, - { "右 → 左", 0xBB, 3, 8 }, - { "左上 → 右下", 0xBD, 2, 8 }, - { "右上 → 左下", 0xBF, 2, 8 }, - { "右下 → 左上", 0xBD, 3, 8 }, - { "左下 → 右上", 0xBF, 3, 8 }, - { "中央 → 上", 0xA9, 2, 8 }, - { "中央 → 下", 0xAB, 2, 8 }, - { "中央 → 左", 0xAD, 2, 8 }, - { "中央 → 右", 0xAF, 2, 8 }, - { "中央 → 右上", 0xB3, 2, 8 }, - { "中央 → 右下", 0xB7, 2, 8 }, - { "中央 → 左上", 0xB1, 2, 8 }, - { "中央 → 左下", 0xB5, 2, 8 }, - { "上 → 中央", 0xA9, 3, 8 }, - { "下 → 中央", 0xAB, 3, 8 }, - { "左 → 中央", 0xAD, 3, 8 }, - { "右 → 中央", 0xAF, 3, 8 }, - { "右上 → 中央", 0xB3, 3, 8 }, - { "右下 → 中央", 0xB7, 3, 8 }, - { "左上 → 中央", 0xB1, 3, 8 }, - { "左下 → 中央", 0xB5, 3, 8 }, + { u8"通常", 0xA7, 0, 0 }, + { u8"カメラ目線", 0xA7, 1, 0 }, + { u8"上", 0xA9, 0, 0 }, + { u8"下", 0xAB, 0, 0 }, + { u8"左", 0xAD, 0, 0 }, + { u8"右", 0xAF, 0, 0 }, + { u8"右上", 0xB3, 0, 0 }, + { u8"右下", 0xB7, 0, 0 }, + { u8"左上", 0xB1, 0, 0 }, + { u8"左下", 0xB5, 0, 0 }, + { u8"上 → 下", 0xB9, 2, 8 }, + { u8"下 → 上", 0xB9, 3, 8 }, + { u8"左 → 右", 0xBB, 2, 8 }, + { u8"右 → 左", 0xBB, 3, 8 }, + { u8"左上 → 右下", 0xBD, 2, 8 }, + { u8"右上 → 左下", 0xBF, 2, 8 }, + { u8"右下 → 左上", 0xBD, 3, 8 }, + { u8"左下 → 右上", 0xBF, 3, 8 }, + { u8"中央 → 上", 0xA9, 2, 8 }, + { u8"中央 → 下", 0xAB, 2, 8 }, + { u8"中央 → 左", 0xAD, 2, 8 }, + { u8"中央 → 右", 0xAF, 2, 8 }, + { u8"中央 → 右上", 0xB3, 2, 8 }, + { u8"中央 → 右下", 0xB7, 2, 8 }, + { u8"中央 → 左上", 0xB1, 2, 8 }, + { u8"中央 → 左下", 0xB5, 2, 8 }, + { u8"上 → 中央", 0xA9, 3, 8 }, + { u8"下 → 中央", 0xAB, 3, 8 }, + { u8"左 → 中央", 0xAD, 3, 8 }, + { u8"右 → 中央", 0xAF, 3, 8 }, + { u8"右上 → 中央", 0xB3, 3, 8 }, + { u8"右下 → 中央", 0xB7, 3, 8 }, + { u8"左上 → 中央", 0xB1, 3, 8 }, + { u8"左下 → 中央", 0xB5, 3, 8 }, }; struct struc_595 stru_1409A0DD0[] = { - { "上", 0xA8, 0, 0 }, - { "下", 0xAA, 0, 0 }, - { "右", 0xAE, 0, 0 }, - { "左", 0xAC, 0, 0 }, - { "右上", 0xB2, 0, 0 }, - { "左上", 0xB0, 0, 0 }, - { "右下", 0xB6, 0, 0 }, - { "左下", 0xB4, 0, 0 }, - { "カメラ目線", 0xA6, 1, 0 }, - { "通常", 0xA6, 0, 0 }, - { "通常", 0xA5, 0, 0 }, + { u8"上", 0xA8, 0, 0 }, + { u8"下", 0xAA, 0, 0 }, + { u8"右", 0xAE, 0, 0 }, + { u8"左", 0xAC, 0, 0 }, + { u8"右上", 0xB2, 0, 0 }, + { u8"左上", 0xB0, 0, 0 }, + { u8"右下", 0xB6, 0, 0 }, + { u8"左下", 0xB4, 0, 0 }, + { u8"カメラ目線", 0xA6, 1, 0 }, + { u8"通常", 0xA6, 0, 0 }, + { u8"通常", 0xA5, 0, 0 }, }; extern render_context* rctx_ptr; diff --git a/src/ReDIVA/x_pv_game.cpp b/src/ReDIVA/x_pv_game.cpp index 555b3d8c..8a22fe9a 100644 --- a/src/ReDIVA/x_pv_game.cpp +++ b/src/ReDIVA/x_pv_game.cpp @@ -1,4 +1,4 @@ -/* +/* by korenkonder GitHub/GitLab: korenkonder */