danoniplus 24.6.5 → 26.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -8
- package/js/danoni_main.js +665 -485
- package/js/lib/danoni_constants.js +297 -9
- package/js/template/danoni_setting.js +63 -3
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Source by tickle
|
|
7
7
|
* Created : 2019/11/19
|
|
8
|
-
* Revised : 2022/
|
|
8
|
+
* Revised : 2022/02/05 (v26.1.0)
|
|
9
9
|
*
|
|
10
10
|
* https://github.com/cwtickle/danoniplus
|
|
11
11
|
*/
|
|
@@ -197,16 +197,16 @@ let g_imgExtensions = [`png`, `gif`, `bmp`, `jpg`, `jpeg`, `svg`];
|
|
|
197
197
|
// オブジェクト種別
|
|
198
198
|
const g_typeLists = {
|
|
199
199
|
arrow: [`arrow`, `dummyArrow`, `frz`, `dummyFrz`],
|
|
200
|
-
color: [`color`, `acolor
|
|
200
|
+
color: [`color`, `acolor`],
|
|
201
201
|
frzColor: [`Normal`, `NormalBar`, `Hit`, `HitBar`],
|
|
202
202
|
dataList: [
|
|
203
203
|
`Arrow`, `FrzArrow`, `FrzLength`,
|
|
204
|
-
`Color`, `ColorCd`,
|
|
205
|
-
`
|
|
206
|
-
`
|
|
207
|
-
`AshadowColor`, `AshadowColorCd`, `FAshadowColor`, `FAshadowColorCd`,
|
|
204
|
+
`Color`, `ColorCd`,
|
|
205
|
+
`FColorNormal`, `FColorNormalCd`, `FColorNormalBar`, `FColorNormalBarCd`,
|
|
206
|
+
`FColorHit`, `FColorHitCd`, `FColorHitBar`, `FColorHitBarCd`,
|
|
208
207
|
`ArrowCssMotion`, `ArrowCssMotionName`,
|
|
209
208
|
`FrzCssMotion`, `FrzCssMotionName`,
|
|
209
|
+
`ArrowColorChangeAll`, `FrzColorChangeAll`,
|
|
210
210
|
],
|
|
211
211
|
};
|
|
212
212
|
|
|
@@ -245,6 +245,15 @@ const C_CLR_DENSITY_MAX = `#990000cc`;
|
|
|
245
245
|
const C_CLR_DENSITY_DEFAULT = `#999999cc`;
|
|
246
246
|
const C_LEN_DENSITY_DIVISION = 16;
|
|
247
247
|
|
|
248
|
+
const g_graphColorObj = {
|
|
249
|
+
max: `#993333cc`,
|
|
250
|
+
default: `#999999cc`,
|
|
251
|
+
max2Push: `#9933cccc`,
|
|
252
|
+
default2Push: `#777777cc`,
|
|
253
|
+
max3Push: `#003399cc`,
|
|
254
|
+
default3Push: `#555555cc`,
|
|
255
|
+
};
|
|
256
|
+
|
|
248
257
|
const g_settingBtnObj = {
|
|
249
258
|
chara: {
|
|
250
259
|
L: `<`,
|
|
@@ -503,6 +512,15 @@ const g_settings = {
|
|
|
503
512
|
g_settings.volumeNum = g_settings.volumes.length - 1;
|
|
504
513
|
g_settings.opacityNum = g_settings.opacitys.length - 1;
|
|
505
514
|
|
|
515
|
+
/**
|
|
516
|
+
* 設定画面間移動
|
|
517
|
+
*/
|
|
518
|
+
const g_jumpSettingWindow = {
|
|
519
|
+
option: _ => settingsDisplayInit(),
|
|
520
|
+
difSelector: _ => settingsDisplayInit(),
|
|
521
|
+
settingsDisplay: _ => optionInit(),
|
|
522
|
+
};
|
|
523
|
+
|
|
506
524
|
/**
|
|
507
525
|
* シャッフル適用関数
|
|
508
526
|
*/
|
|
@@ -1659,10 +1677,10 @@ const g_keyObj = {
|
|
|
1659
1677
|
keyCtrl12_0: [[85, 0], [73, 0], [56, 57], [79, 0], [32, 0], [78, 0], [74, 0], [77, 0], [75, 0], [188, 0], [76, 0], [190, 0]],
|
|
1660
1678
|
keyCtrl13_0: [[37, 0], [40, 0], [38, 0], [39, 0], [83, 0], [68, 0], [69, 82], [70, 0], [32, 0], [74, 0], [75, 0], [73, 0], [76, 0]],
|
|
1661
1679
|
keyCtrl14_0: [[84, 89], [85, 0], [73, 0], [56, 55, 57, 48], [79, 0], [192, 80], [32, 0], [78, 0], [74, 0], [77, 0], [75, 0], [188, 0], [76, 0], [190, 0]],
|
|
1662
|
-
keyCtrl14i_0: [[90,
|
|
1680
|
+
keyCtrl14i_0: [[90, 87], [88, 69], [67, 82], [37, 0], [40, 0], [38, 0], [39, 0], [83, 0], [68, 0], [70, 0], [32, 0], [74, 0], [75, 0], [76, 0]],
|
|
1663
1681
|
keyCtrl15A_0: [[87, 0], [69, 0], [51, 52], [82, 0], [37, 0], [40, 0], [38, 0], [39, 0], [83, 0], [68, 0], [70, 0], [32, 0], [74, 0], [75, 0], [76, 0]],
|
|
1664
1682
|
keyCtrl15B_0: [[87, 0], [69, 0], [51, 52], [82, 0], [85, 0], [73, 0], [56, 57], [79, 0], [83, 0], [68, 0], [70, 0], [32, 0], [74, 0], [75, 0], [76, 0]],
|
|
1665
|
-
keyCtrl16i_0: [[90,
|
|
1683
|
+
keyCtrl16i_0: [[90, 87], [88, 69], [67, 82], [37, 0], [40, 0], [38, 0], [39, 0], [65, 0], [83, 0], [68, 0], [70, 0], [32, 0], [74, 0], [75, 0], [76, 0], [187, 0]],
|
|
1666
1684
|
keyCtrl17_0: [[65, 0], [90, 0], [83, 0], [88, 0], [68, 0], [67, 0], [70, 0], [86, 0], [32, 0], [78, 0], [74, 0], [77, 0], [75, 0], [188, 0], [76, 0], [190, 0], [187, 0]],
|
|
1667
1685
|
keyCtrl23_0: [[87, 0], [69, 0], [51, 52], [82, 0], [85, 0], [73, 0], [56, 57], [79, 0],
|
|
1668
1686
|
[90, 0], [83, 0], [88, 0], [68, 0], [67, 0], [70, 0], [86, 0], [32, 0], [78, 0], [74, 0], [77, 0], [75, 0], [188, 0], [76, 0], [190, 0]],
|
|
@@ -2250,6 +2268,22 @@ const g_titleLists = {
|
|
|
2250
2268
|
|
|
2251
2269
|
const g_animationData = [`back`, `mask`];
|
|
2252
2270
|
|
|
2271
|
+
let g_fadeinStockList = [`word`, `back`, `mask`];
|
|
2272
|
+
|
|
2273
|
+
/** フェードイン時でもプリロードを除外しないリスト */
|
|
2274
|
+
const g_preloadExceptList = {
|
|
2275
|
+
word: [`[left]`, `[center]`, `[right]`],
|
|
2276
|
+
back: [],
|
|
2277
|
+
mask: [],
|
|
2278
|
+
};
|
|
2279
|
+
|
|
2280
|
+
/** フェードイン時、プリロードを強制削除するリスト(初期値は空) */
|
|
2281
|
+
const g_stockForceDelList = {
|
|
2282
|
+
word: [],
|
|
2283
|
+
back: [],
|
|
2284
|
+
mask: [],
|
|
2285
|
+
};
|
|
2286
|
+
|
|
2253
2287
|
/**
|
|
2254
2288
|
* データ種, 最小データ長のセット
|
|
2255
2289
|
*/
|
|
@@ -2364,7 +2398,7 @@ const g_escapeStr = {
|
|
|
2364
2398
|
escapeTag: [
|
|
2365
2399
|
[`*amp*`, `&`], [`*pipe*`, `|`], [`*dollar*`, `$`], [`*rsquo*`, `’`],
|
|
2366
2400
|
[`*quot*`, `"`], [`*comma*`, `‚`], [`*squo*`, `'`], [`*bkquo*`, ```],
|
|
2367
|
-
[`*lt*`, `<`], [`*gt*`, `>`],
|
|
2401
|
+
[`*lt*`, `<`], [`*gt*`, `>`], [`*lbrace*`, `{`], [`*rbrace*`, `}`],
|
|
2368
2402
|
],
|
|
2369
2403
|
unEscapeTag: [
|
|
2370
2404
|
[`&`, `&`], [`’`, `’`], [`"`, `"`], [`‚`, `,`],
|
|
@@ -2407,6 +2441,7 @@ const g_lang_msgInfoObj = {
|
|
|
2407
2441
|
W_0012: `現在の設定では音源再生方法により小数の Adjustment が利用できません。<br>
|
|
2408
2442
|
また、Fadein を使用した場合は通常よりズレが発生することがあります。<br>
|
|
2409
2443
|
音源ファイルを js/txt 化するか、サーバー上動作とすれば解消します。(W-0012)`,
|
|
2444
|
+
W_0021: `クリップボードのコピーに失敗しました。`,
|
|
2410
2445
|
|
|
2411
2446
|
E_0011: `アーティスト名が未入力です。(E-0011)`,
|
|
2412
2447
|
E_0012: `曲名情報が未設定です。(E-0012)<br>
|
|
@@ -2453,6 +2488,7 @@ const g_lang_msgInfoObj = {
|
|
|
2453
2488
|
Also, if you use "Fadein", it may be out of alignment.<br>
|
|
2454
2489
|
It can be solved by converting the sound source file to encoded data (js, txt) or
|
|
2455
2490
|
operating it on the server. (W-0012)`,
|
|
2491
|
+
W_0021: `Failed to copy the clipboard.`,
|
|
2456
2492
|
|
|
2457
2493
|
E_0011: `The artist name is not set. (E-0011)`,
|
|
2458
2494
|
E_0012: `The song title information is not set. (E-0012)<br>
|
|
@@ -2589,6 +2625,8 @@ const g_lblNameObj = {
|
|
|
2589
2625
|
|
|
2590
2626
|
'u_x': `x`,
|
|
2591
2627
|
'u_%': `%`,
|
|
2628
|
+
'u_key': `key`,
|
|
2629
|
+
'u_k-': `k-`,
|
|
2592
2630
|
|
|
2593
2631
|
'u_OFF': `OFF`,
|
|
2594
2632
|
'u_ON': `ON`,
|
|
@@ -2718,6 +2756,8 @@ const g_lang_lblNameObj = {
|
|
|
2718
2756
|
|
|
2719
2757
|
j_kita: "(゚∀゚)キタ-!!",
|
|
2720
2758
|
j_iknai: "(・A・)イクナイ",
|
|
2759
|
+
|
|
2760
|
+
j_adj: `推定Adj`,
|
|
2721
2761
|
},
|
|
2722
2762
|
En: {
|
|
2723
2763
|
kcDesc: `[{0}:Skip / {1}:Key invalidation (Alternate keys only)]`,
|
|
@@ -2744,6 +2784,8 @@ const g_lang_lblNameObj = {
|
|
|
2744
2784
|
|
|
2745
2785
|
j_kita: ":) O.K.",
|
|
2746
2786
|
j_iknai: ":( N.G.",
|
|
2787
|
+
|
|
2788
|
+
j_adj: `Est-Adj.`,
|
|
2747
2789
|
},
|
|
2748
2790
|
};
|
|
2749
2791
|
|
|
@@ -2871,4 +2913,250 @@ const g_errMsgObj = {
|
|
|
2871
2913
|
loading: [],
|
|
2872
2914
|
main: [],
|
|
2873
2915
|
result: [],
|
|
2916
|
+
};
|
|
2917
|
+
|
|
2918
|
+
/**
|
|
2919
|
+
* カスタム関数の定義
|
|
2920
|
+
* - 挿入場所ごとに名前を分けて定義
|
|
2921
|
+
*/
|
|
2922
|
+
const g_customJsObj = {
|
|
2923
|
+
title: [],
|
|
2924
|
+
titleEnterFrame: [],
|
|
2925
|
+
option: [],
|
|
2926
|
+
difficulty: [],
|
|
2927
|
+
settingsDisplay: [],
|
|
2928
|
+
keyconfig: [],
|
|
2929
|
+
|
|
2930
|
+
preloading: [],
|
|
2931
|
+
loading: [],
|
|
2932
|
+
progress: [],
|
|
2933
|
+
main: [],
|
|
2934
|
+
dummyArrow: [],
|
|
2935
|
+
dummyFrz: [],
|
|
2936
|
+
|
|
2937
|
+
judg_ii: [],
|
|
2938
|
+
judg_shakin: [],
|
|
2939
|
+
judg_matari: [],
|
|
2940
|
+
judg_shobon: [],
|
|
2941
|
+
judg_uwan: [],
|
|
2942
|
+
judg_kita: [],
|
|
2943
|
+
judg_iknai: [],
|
|
2944
|
+
|
|
2945
|
+
mainEnterFrame: [],
|
|
2946
|
+
result: [],
|
|
2947
|
+
resultEnterFrame: [],
|
|
2948
|
+
};
|
|
2949
|
+
|
|
2950
|
+
/**
|
|
2951
|
+
* スキン関数の定義
|
|
2952
|
+
* - 挿入場所ごとに名前を分けて定義
|
|
2953
|
+
*/
|
|
2954
|
+
const g_skinJsObj = {
|
|
2955
|
+
title: [],
|
|
2956
|
+
option: [],
|
|
2957
|
+
settingsDisplay: [],
|
|
2958
|
+
keyconfig: [],
|
|
2959
|
+
|
|
2960
|
+
preloading: [],
|
|
2961
|
+
loading: [],
|
|
2962
|
+
main: [],
|
|
2963
|
+
result: [],
|
|
2964
|
+
};
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* 従来のカスタム関数をg_customJsObj, g_skinJsObjへ追加
|
|
2968
|
+
* - customjsファイルを読み込んだ直後にこの関数を呼び出している
|
|
2969
|
+
*/
|
|
2970
|
+
const loadLegacyCustomFunc = _ => {
|
|
2971
|
+
|
|
2972
|
+
// タイトル
|
|
2973
|
+
if (typeof customTitleInit === C_TYP_FUNCTION) {
|
|
2974
|
+
g_customJsObj.title.push(customTitleInit);
|
|
2975
|
+
}
|
|
2976
|
+
if (typeof customTitleInit2 === C_TYP_FUNCTION) {
|
|
2977
|
+
g_customJsObj.title.push(customTitleInit2);
|
|
2978
|
+
}
|
|
2979
|
+
if (typeof customTitleEnterFrame === C_TYP_FUNCTION) {
|
|
2980
|
+
g_customJsObj.titleEnterFrame.push(customTitleEnterFrame);
|
|
2981
|
+
}
|
|
2982
|
+
if (typeof customTitleEnterFrame2 === C_TYP_FUNCTION) {
|
|
2983
|
+
g_customJsObj.titleEnterFrame.push(customTitleEnterFrame2);
|
|
2984
|
+
}
|
|
2985
|
+
if (typeof skinTitleInit === C_TYP_FUNCTION) {
|
|
2986
|
+
g_skinJsObj.title.push(skinTitleInit);
|
|
2987
|
+
}
|
|
2988
|
+
if (typeof skinTitleInit2 === C_TYP_FUNCTION) {
|
|
2989
|
+
g_skinJsObj.title.push(skinTitleInit2);
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2992
|
+
// 主要設定
|
|
2993
|
+
if (typeof customOptionInit === C_TYP_FUNCTION) {
|
|
2994
|
+
g_customJsObj.option.push(customOptionInit);
|
|
2995
|
+
}
|
|
2996
|
+
if (typeof customOptionInit2 === C_TYP_FUNCTION) {
|
|
2997
|
+
g_customJsObj.option.push(customOptionInit2);
|
|
2998
|
+
}
|
|
2999
|
+
if (typeof skinOptionInit === C_TYP_FUNCTION) {
|
|
3000
|
+
g_skinJsObj.option.push(skinOptionInit);
|
|
3001
|
+
}
|
|
3002
|
+
if (typeof skinOptionInit2 === C_TYP_FUNCTION) {
|
|
3003
|
+
g_skinJsObj.option.push(skinOptionInit2);
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
if (typeof customSetDifficulty === C_TYP_FUNCTION) {
|
|
3007
|
+
g_customJsObj.difficulty.push(customSetDifficulty);
|
|
3008
|
+
}
|
|
3009
|
+
if (typeof customSetDifficulty2 === C_TYP_FUNCTION) {
|
|
3010
|
+
g_customJsObj.difficulty.push(customSetDifficulty2);
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
// ディスプレイ設定
|
|
3014
|
+
if (typeof customSettingsDisplayInit === C_TYP_FUNCTION) {
|
|
3015
|
+
g_customJsObj.settingsDisplay.push(customSettingsDisplayInit);
|
|
3016
|
+
}
|
|
3017
|
+
if (typeof customSettingsDisplayInit2 === C_TYP_FUNCTION) {
|
|
3018
|
+
g_customJsObj.settingsDisplay.push(customSettingsDisplayInit2);
|
|
3019
|
+
}
|
|
3020
|
+
if (typeof skinSettingsDisplayInit === C_TYP_FUNCTION) {
|
|
3021
|
+
g_skinJsObj.settingsDisplay.push(skinSettingsDisplayInit);
|
|
3022
|
+
}
|
|
3023
|
+
if (typeof skinSettingsDisplayInit2 === C_TYP_FUNCTION) {
|
|
3024
|
+
g_skinJsObj.settingsDisplay.push(skinSettingsDisplayInit2);
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
// キーコンフィグ
|
|
3028
|
+
if (typeof customKeyConfigInit === C_TYP_FUNCTION) {
|
|
3029
|
+
g_customJsObj.keyconfig.push(customKeyConfigInit);
|
|
3030
|
+
}
|
|
3031
|
+
if (typeof customKeyConfigInit2 === C_TYP_FUNCTION) {
|
|
3032
|
+
g_customJsObj.keyconfig.push(customKeyConfigInit2);
|
|
3033
|
+
}
|
|
3034
|
+
if (typeof skinKeyConfigInit === C_TYP_FUNCTION) {
|
|
3035
|
+
g_skinJsObj.keyconfig.push(skinKeyConfigInit);
|
|
3036
|
+
}
|
|
3037
|
+
if (typeof skinKeyConfigInit2 === C_TYP_FUNCTION) {
|
|
3038
|
+
g_skinJsObj.keyconfig.push(skinKeyConfigInit2);
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
// ローディング
|
|
3042
|
+
if (typeof customPreloadingInit === C_TYP_FUNCTION) {
|
|
3043
|
+
g_customJsObj.preloading.push(customPreloadingInit);
|
|
3044
|
+
}
|
|
3045
|
+
if (typeof customPreloadingInit2 === C_TYP_FUNCTION) {
|
|
3046
|
+
g_customJsObj.preloading.push(customPreloadingInit2);
|
|
3047
|
+
}
|
|
3048
|
+
if (typeof skinPreloadingInit === C_TYP_FUNCTION) {
|
|
3049
|
+
g_skinJsObj.preloading.push(skinPreloadingInit);
|
|
3050
|
+
}
|
|
3051
|
+
if (typeof skinPreloadingInit2 === C_TYP_FUNCTION) {
|
|
3052
|
+
g_skinJsObj.preloading.push(skinPreloadingInit2);
|
|
3053
|
+
}
|
|
3054
|
+
if (typeof customLoadingInit === C_TYP_FUNCTION) {
|
|
3055
|
+
g_customJsObj.loading.push(customLoadingInit);
|
|
3056
|
+
}
|
|
3057
|
+
if (typeof customLoadingInit2 === C_TYP_FUNCTION) {
|
|
3058
|
+
g_customJsObj.loading.push(customLoadingInit2);
|
|
3059
|
+
}
|
|
3060
|
+
if (typeof customLoadingProgress === C_TYP_FUNCTION) {
|
|
3061
|
+
g_customJsObj.progress.push(customLoadingProgress);
|
|
3062
|
+
}
|
|
3063
|
+
if (typeof customLoadingProgress2 === C_TYP_FUNCTION) {
|
|
3064
|
+
g_customJsObj.progress.push(customLoadingProgress2);
|
|
3065
|
+
}
|
|
3066
|
+
|
|
3067
|
+
// メイン
|
|
3068
|
+
if (typeof customMainInit === C_TYP_FUNCTION) {
|
|
3069
|
+
g_customJsObj.main.push(customMainInit);
|
|
3070
|
+
}
|
|
3071
|
+
if (typeof customMainInit2 === C_TYP_FUNCTION) {
|
|
3072
|
+
g_customJsObj.main.push(customMainInit2);
|
|
3073
|
+
}
|
|
3074
|
+
if (typeof customJudgeDummyArrow === C_TYP_FUNCTION) {
|
|
3075
|
+
g_customJsObj.dummyArrow.push(customJudgeDummyArrow);
|
|
3076
|
+
}
|
|
3077
|
+
if (typeof customJudgeDummyArrow2 === C_TYP_FUNCTION) {
|
|
3078
|
+
g_customJsObj.dummyArrow.push(customJudgeDummyArrow2);
|
|
3079
|
+
}
|
|
3080
|
+
if (typeof customJudgeDummyFrz === C_TYP_FUNCTION) {
|
|
3081
|
+
g_customJsObj.dummyFrz.push(customJudgeDummyFrz);
|
|
3082
|
+
}
|
|
3083
|
+
if (typeof customJudgeDummyFrz2 === C_TYP_FUNCTION) {
|
|
3084
|
+
g_customJsObj.dummyFrz.push(customJudgeDummyFrz2);
|
|
3085
|
+
}
|
|
3086
|
+
if (typeof customMainEnterFrame === C_TYP_FUNCTION) {
|
|
3087
|
+
g_customJsObj.mainEnterFrame.push(customMainEnterFrame);
|
|
3088
|
+
}
|
|
3089
|
+
if (typeof customMainEnterFrame2 === C_TYP_FUNCTION) {
|
|
3090
|
+
g_customJsObj.mainEnterFrame.push(customMainEnterFrame2);
|
|
3091
|
+
}
|
|
3092
|
+
if (typeof skinMainInit === C_TYP_FUNCTION) {
|
|
3093
|
+
g_skinJsObj.main.push(skinMainInit);
|
|
3094
|
+
}
|
|
3095
|
+
if (typeof skinMainInit2 === C_TYP_FUNCTION) {
|
|
3096
|
+
g_skinJsObj.main.push(skinMainInit2);
|
|
3097
|
+
}
|
|
3098
|
+
|
|
3099
|
+
// 判定
|
|
3100
|
+
if (typeof customJudgeIi === C_TYP_FUNCTION) {
|
|
3101
|
+
g_customJsObj.judg_ii.push(customJudgeIi);
|
|
3102
|
+
}
|
|
3103
|
+
if (typeof customJudgeIi2 === C_TYP_FUNCTION) {
|
|
3104
|
+
g_customJsObj.judg_ii.push(customJudgeIi2);
|
|
3105
|
+
}
|
|
3106
|
+
if (typeof customJudgeShakin === C_TYP_FUNCTION) {
|
|
3107
|
+
g_customJsObj.judg_shakin.push(customJudgeShakin);
|
|
3108
|
+
}
|
|
3109
|
+
if (typeof customJudgeShakin2 === C_TYP_FUNCTION) {
|
|
3110
|
+
g_customJsObj.judg_shakin.push(customJudgeShakin2);
|
|
3111
|
+
}
|
|
3112
|
+
if (typeof customJudgeMatari === C_TYP_FUNCTION) {
|
|
3113
|
+
g_customJsObj.judg_matari.push(customJudgeMatari);
|
|
3114
|
+
}
|
|
3115
|
+
if (typeof customJudgeMatari2 === C_TYP_FUNCTION) {
|
|
3116
|
+
g_customJsObj.judg_matari.push(customJudgeMatari2);
|
|
3117
|
+
}
|
|
3118
|
+
if (typeof customJudgeShobon === C_TYP_FUNCTION) {
|
|
3119
|
+
g_customJsObj.judg_shobon.push(customJudgeShobon);
|
|
3120
|
+
}
|
|
3121
|
+
if (typeof customJudgeShobon2 === C_TYP_FUNCTION) {
|
|
3122
|
+
g_customJsObj.judg_shobon.push(customJudgeShobon2);
|
|
3123
|
+
}
|
|
3124
|
+
if (typeof customJudgeUwan === C_TYP_FUNCTION) {
|
|
3125
|
+
g_customJsObj.judg_uwan.push(customJudgeUwan);
|
|
3126
|
+
}
|
|
3127
|
+
if (typeof customJudgeUwan2 === C_TYP_FUNCTION) {
|
|
3128
|
+
g_customJsObj.judg_uwan.push(customJudgeUwan2);
|
|
3129
|
+
}
|
|
3130
|
+
if (typeof customJudgeKita === C_TYP_FUNCTION) {
|
|
3131
|
+
g_customJsObj.judg_kita.push(customJudgeKita);
|
|
3132
|
+
}
|
|
3133
|
+
if (typeof customJudgeKita2 === C_TYP_FUNCTION) {
|
|
3134
|
+
g_customJsObj.judg_kita.push(customJudgeKita2);
|
|
3135
|
+
}
|
|
3136
|
+
if (typeof customJudgeIknai === C_TYP_FUNCTION) {
|
|
3137
|
+
g_customJsObj.judg_iknai.push(customJudgeIknai);
|
|
3138
|
+
}
|
|
3139
|
+
if (typeof customJudgeIknai2 === C_TYP_FUNCTION) {
|
|
3140
|
+
g_customJsObj.judg_iknai.push(customJudgeIknai2);
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
// リザルト
|
|
3144
|
+
if (typeof customResultInit === C_TYP_FUNCTION) {
|
|
3145
|
+
g_customJsObj.result.push(customResultInit);
|
|
3146
|
+
}
|
|
3147
|
+
if (typeof customResultInit2 === C_TYP_FUNCTION) {
|
|
3148
|
+
g_customJsObj.result.push(customResultInit2);
|
|
3149
|
+
}
|
|
3150
|
+
if (typeof customResultEnterFrame === C_TYP_FUNCTION) {
|
|
3151
|
+
g_customJsObj.resultEnterFrame.push(customResultEnterFrame);
|
|
3152
|
+
}
|
|
3153
|
+
if (typeof customResultEnterFrame2 === C_TYP_FUNCTION) {
|
|
3154
|
+
g_customJsObj.resultEnterFrame.push(customResultEnterFrame2);
|
|
3155
|
+
}
|
|
3156
|
+
if (typeof skinResultInit === C_TYP_FUNCTION) {
|
|
3157
|
+
g_skinJsObj.result.push(skinResultInit);
|
|
3158
|
+
}
|
|
3159
|
+
if (typeof skinResultInit2 === C_TYP_FUNCTION) {
|
|
3160
|
+
g_skinJsObj.result.push(skinResultInit2);
|
|
3161
|
+
}
|
|
2874
3162
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
3
|
* Dancing☆Onigiri 設定用jsファイル
|
|
4
|
-
* Template Update:
|
|
4
|
+
* Template Update: 2022/02/20 (v26.2.0)
|
|
5
5
|
*
|
|
6
6
|
* このファイルでは、作品全体に対しての初期設定を行うことができます。
|
|
7
7
|
* 譜面データ側で個別に同様の項目が設定されている場合は、譜面データ側の設定が優先されます。
|
|
@@ -19,7 +19,13 @@ const g_presetTuningUrl = `https://www.google.co.jp/`;
|
|
|
19
19
|
const g_presetSkinType = `default`;
|
|
20
20
|
|
|
21
21
|
// 既定カスタムJs (デフォルトは danoni_custom.js)
|
|
22
|
-
//const g_presetCustomJs = `danoni_custom.js`;
|
|
22
|
+
//const g_presetCustomJs = `danoni_custom.js,danoni_init.js`;
|
|
23
|
+
|
|
24
|
+
// 既定カスタムCss (デフォルトは指定なし、cssフォルダを参照)
|
|
25
|
+
//const g_presetCustomCss = `danoni_custom.css`;
|
|
26
|
+
|
|
27
|
+
// 背景・マスクモーションで使用する画像パスの指定方法を他の設定に合わせる設定 (trueで有効化)
|
|
28
|
+
// const g_presetSyncBackPath = true;
|
|
23
29
|
|
|
24
30
|
// ゲージ設定(デフォルト)
|
|
25
31
|
const g_presetGauge = {
|
|
@@ -32,6 +38,13 @@ const g_presetGauge = {
|
|
|
32
38
|
// フリーズアローのデフォルト色セットの利用有無 (true: 使用, false: 矢印色を優先してセット)
|
|
33
39
|
const g_presetFrzColors = true;
|
|
34
40
|
|
|
41
|
+
/**
|
|
42
|
+
矢印色変化に対応してフリーズアロー色を追随する範囲の設定 (Normal: 通常時、Hit: ヒット時)
|
|
43
|
+
※この設定は、g_presetFrzColors = false もしくは
|
|
44
|
+
譜面ヘッダー:defaultFrzColorUse=false のときにのみ有効です。
|
|
45
|
+
*/
|
|
46
|
+
// const g_presetFrzScopeFromAC = [`Normal`, `Hit`];
|
|
47
|
+
|
|
35
48
|
// ゲージ設定(デフォルト以外)
|
|
36
49
|
const g_presetGaugeCustom = {
|
|
37
50
|
Easy: {
|
|
@@ -232,4 +245,51 @@ const g_lblRenames = {
|
|
|
232
245
|
main: true,
|
|
233
246
|
keyConfig: true,
|
|
234
247
|
result: true,
|
|
235
|
-
};
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* フェードイン時にそれ以前のデータを蓄積しない種別(word, back, mask)を指定
|
|
252
|
+
*/
|
|
253
|
+
const g_presetUnStockCategories = [];
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* フェードイン時、プリロードを強制削除するリスト(英字は小文字で指定)
|
|
257
|
+
* 指定例) back: [`fade`] ※back_dataでアニメーション名に'fade'や'Fade'を含む
|
|
258
|
+
*/
|
|
259
|
+
const g_presetStockForceDelList = {
|
|
260
|
+
word: [],
|
|
261
|
+
back: [],
|
|
262
|
+
mask: [],
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* 特殊キー定義(共通)
|
|
267
|
+
* 指定方法は作品別に特殊キーを定義する方法と同じ(ただし、keyExtraList必須)
|
|
268
|
+
*
|
|
269
|
+
* 定義方法は下記を参照のこと
|
|
270
|
+
* https://github.com/cwtickle/danoniplus/wiki/keys
|
|
271
|
+
* https://github.com/cwtickle/danoniplus/wiki/tips-0004-extrakeys
|
|
272
|
+
*/
|
|
273
|
+
/*
|
|
274
|
+
const g_presetKeysData = `
|
|
275
|
+
|
|
276
|
+
|keyExtraList=6,9v|
|
|
277
|
+
|color6=0,1,0,1,0,2$2,0,1,0,1,0|
|
|
278
|
+
|chara6=left,leftdia,down,rightdia,right,space$space,left,leftdia,down,rightdia,right|
|
|
279
|
+
|div6=6$6|
|
|
280
|
+
|stepRtn6=0,45,-90,135,180,onigiri$onigiri,0,45,-90,135,180|
|
|
281
|
+
|keyCtrl6=75/0,79/0,76/0,80/0,187/0,32/0$32/0,75/0,79/0,76/0,80/0,187/0|
|
|
282
|
+
|shuffle6=1,1,1,1,1,0$0,1,1,1,1,1|
|
|
283
|
+
|
|
284
|
+
|chara9v=9B_0$9B_0|
|
|
285
|
+
|color9v=1,0,1,0,2,0,1,0,1$9B_0|
|
|
286
|
+
|div9v=9$9|
|
|
287
|
+
|keyCtrl9v=52/0,82/0,70/0,86/0,32/0,78/0,74/0,73/0,57/0$9B_0|
|
|
288
|
+
|pos9v=0,1,2,3,4,5,6,7,8$0,1,2,3,4,5,6,7,8|
|
|
289
|
+
|scroll9v=---::1,1,-1,-1,-1,-1,-1,1,1/flat::1,1,1,1,1,1,1,1,1$9B_0|
|
|
290
|
+
|shuffle9v=9B_0$9B_0|
|
|
291
|
+
|stepRtn9v=90,120,150,180,onigiri,0,30,60,90$9B_0|
|
|
292
|
+
|transKey9v=$9B|
|
|
293
|
+
|
|
294
|
+
`;
|
|
295
|
+
*/
|