danoniplus 36.3.2 → 36.4.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/css/danoni_main.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
本体cssファイル
|
|
5
5
|
|
|
6
6
|
Created : 2018/10/08
|
|
7
|
-
Revised : 2024/
|
|
7
|
+
Revised : 2024/05/12 (v36.4.0)
|
|
8
8
|
|
|
9
9
|
https://github.com/cwtickle/danoniplus
|
|
10
10
|
------------------------------------------ */
|
|
@@ -470,6 +470,23 @@ input[type="color"] {
|
|
|
470
470
|
color: var(--settings-fadeinBar-x, #ffffff);
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
+
.settings_Difficulty:hover,
|
|
474
|
+
.settings_Speed:hover,
|
|
475
|
+
.settings_Motion:hover,
|
|
476
|
+
.settings_Reverse:hover,
|
|
477
|
+
.settings_Scroll:hover,
|
|
478
|
+
.settings_Shuffle:hover,
|
|
479
|
+
.settings_AutoPlay:hover,
|
|
480
|
+
.settings_Gauge:hover,
|
|
481
|
+
.settings_Adjustment:hover,
|
|
482
|
+
.settings_Fadein:hover,
|
|
483
|
+
.settings_Volume:hover,
|
|
484
|
+
.settings_Appearance:hover,
|
|
485
|
+
.settings_Opacity:hover,
|
|
486
|
+
.settings_HitPosition:hover {
|
|
487
|
+
border-bottom: solid 1px;
|
|
488
|
+
}
|
|
489
|
+
|
|
473
490
|
/* 設定画面:ゲージ設定詳細 */
|
|
474
491
|
.settings_lifeVal {
|
|
475
492
|
color: var(--settings-lifeVal-x, #ff9966);
|
|
@@ -497,6 +514,18 @@ input[type="color"] {
|
|
|
497
514
|
color: var(--keyconfig-colorType-x, #ffdd99);
|
|
498
515
|
}
|
|
499
516
|
|
|
517
|
+
.keyconfig_ColorGr::first-letter {
|
|
518
|
+
color: var(--keyconfig-colorGr-x, var(--keyconfig-colorType-x, #ffdd99));
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.keyconfig_ShuffleGr::first-letter {
|
|
522
|
+
color: var(--keyconfig-shuffleGr-x, var(--settings-shuffle-x, #99ff99));
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.keyconfig_StepRtnGr::first-letter {
|
|
526
|
+
color: var(--keyconfig-stepRtnGr-x, var(--settings-adjustment-x, #99ffff));
|
|
527
|
+
}
|
|
528
|
+
|
|
500
529
|
.keyconfig_Changekey {
|
|
501
530
|
color: var(--keyconfig-changekey-x, #ffff00);
|
|
502
531
|
}
|
package/js/danoni_main.js
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Source by tickle
|
|
6
6
|
* Created : 2018/10/08
|
|
7
|
-
* Revised : 2024/05/
|
|
7
|
+
* Revised : 2024/05/12
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 36.
|
|
12
|
-
const g_revisedDate = `2024/05/
|
|
11
|
+
const g_version = `Ver 36.4.0`;
|
|
12
|
+
const g_revisedDate = `2024/05/12`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -5455,7 +5455,10 @@ const createOptionWindow = _sprite => {
|
|
|
5455
5455
|
);
|
|
5456
5456
|
g_settings.scoreDetails.forEach((sd, j) => {
|
|
5457
5457
|
scoreDetail.appendChild(
|
|
5458
|
-
makeDifLblCssButton(`lnk${sd}G`, getStgDetailName(sd), j, _ => changeScoreDetail(j), {
|
|
5458
|
+
makeDifLblCssButton(`lnk${sd}G`, getStgDetailName(sd), j, _ => changeScoreDetail(j), {
|
|
5459
|
+
w: g_limitObj.difCoverWidth, h: 20, title: g_msgObj[`s_${sd}`],
|
|
5460
|
+
btnStyle: (g_stateObj.scoreDetail === sd ? `Setting` : `Default`),
|
|
5461
|
+
})
|
|
5459
5462
|
);
|
|
5460
5463
|
createScText(document.getElementById(`lnk${sd}G`), `${sd}G`, { targetLabel: `lnk${sd}G`, x: -5 });
|
|
5461
5464
|
});
|
|
@@ -5560,6 +5563,12 @@ const createOptionWindow = _sprite => {
|
|
|
5560
5563
|
title: g_msgObj.excessive, cxtFunc: evt => setExcessive(evt.target),
|
|
5561
5564
|
}), g_cssObj.button_Default, g_cssObj[`button_Rev${g_stateObj.excessive}`])
|
|
5562
5565
|
);
|
|
5566
|
+
} else if (g_headerObj.excessiveJdgUse) {
|
|
5567
|
+
spriteList.gauge.appendChild(
|
|
5568
|
+
createDivCss2Label(`lnkExcessive`, `${g_lblNameObj.Excessive}:${C_FLG_ON}`,
|
|
5569
|
+
Object.assign(g_lblPosObj.btnExcessive, { x: 0, w: 100, border: C_DIS_NONE }), g_cssObj[`button_Disabled${C_FLG_ON}`]
|
|
5570
|
+
)
|
|
5571
|
+
);
|
|
5563
5572
|
}
|
|
5564
5573
|
|
|
5565
5574
|
// ---------------------------------------------------
|
|
@@ -6070,9 +6079,10 @@ const makeSettingLblCssButton = (_id, _name, _heightPos, _func, { x, y, w, h, si
|
|
|
6070
6079
|
* @param {number} _heightPos 上からの配置順
|
|
6071
6080
|
* @param {function} _func
|
|
6072
6081
|
*/
|
|
6073
|
-
const makeDifLblCssButton = (_id, _name, _heightPos, _func,
|
|
6082
|
+
const makeDifLblCssButton = (_id, _name, _heightPos, _func,
|
|
6083
|
+
{ x = 0, w = g_limitObj.difSelectorWidth, h = g_limitObj.setLblHeight, btnStyle = `Default` } = {}) =>
|
|
6074
6084
|
createCss2Button(_id, _name, _func, {
|
|
6075
|
-
x, y: h * _heightPos, w, h, siz: g_limitObj.difSelectorSiz, borderStyle: `solid`,
|
|
6085
|
+
x, y: h * _heightPos, w, h, siz: g_limitObj.difSelectorSiz, borderStyle: `solid`, title: g_msgObj[_id] ?? ``,
|
|
6076
6086
|
}, g_cssObj[`button_${btnStyle}`], g_cssObj.button_ON);
|
|
6077
6087
|
|
|
6078
6088
|
/**
|
|
@@ -6675,9 +6685,9 @@ const keyConfigInit = (_kcType = g_kcType) => {
|
|
|
6675
6685
|
}
|
|
6676
6686
|
|
|
6677
6687
|
// カラー/シャッフルグループ切替ボタン(カラー/シャッフルパターンが複数ある場合のみ)
|
|
6678
|
-
makeGroupButton(`color`, { cssName: g_cssObj.
|
|
6679
|
-
makeGroupButton(`shuffle`, { baseX: g_btnX(11 / 12) - 10, cssName: g_cssObj.
|
|
6680
|
-
makeGroupButton(`stepRtn`, { baseY: 37, cssName: g_cssObj.
|
|
6688
|
+
makeGroupButton(`color`, { cssName: g_cssObj.keyconfig_ColorGr });
|
|
6689
|
+
makeGroupButton(`shuffle`, { baseX: g_btnX(11 / 12) - 10, cssName: g_cssObj.keyconfig_ShuffleGr });
|
|
6690
|
+
makeGroupButton(`stepRtn`, { baseY: 37, cssName: g_cssObj.keyconfig_StepRtnGr });
|
|
6681
6691
|
|
|
6682
6692
|
/**
|
|
6683
6693
|
* カーソル位置の設定
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Source by tickle
|
|
7
7
|
* Created : 2019/11/19
|
|
8
|
-
* Revised : 2024/05/
|
|
8
|
+
* Revised : 2024/05/12 (v36.4.0)
|
|
9
9
|
*
|
|
10
10
|
* https://github.com/cwtickle/danoniplus
|
|
11
11
|
*/
|
|
@@ -200,9 +200,9 @@ const g_lblPosObj = {};
|
|
|
200
200
|
const updateWindowSiz = _ => {
|
|
201
201
|
Object.assign(g_windowObj, {
|
|
202
202
|
optionSprite: { x: (g_sWidth - 450) / 2, y: 65, w: 450, h: 325 },
|
|
203
|
-
difList: { x: 165, y: 60, w: 280, h:
|
|
204
|
-
difCover: { x:
|
|
205
|
-
difFilter: { x: 0, y: 61, w: 140, h:
|
|
203
|
+
difList: { x: 165, y: 60, w: 280, h: 265 + g_sHeight - 500, overflow: `auto` },
|
|
204
|
+
difCover: { x: 20, y: 60, w: 145, h: 265 + g_sHeight - 500, opacity: 0.95 },
|
|
205
|
+
difFilter: { x: 0, y: 61, w: 140, h: 204 + g_sHeight - 500, overflow: `auto` },
|
|
206
206
|
displaySprite: { x: 25, y: 30, w: (g_sWidth - 450) / 2, h: g_limitObj.setLblHeight * 5 },
|
|
207
207
|
scoreDetail: { x: 20, y: 85, w: (g_sWidth - 500) / 2 + 420, h: 240, visibility: `hidden` },
|
|
208
208
|
detailObj: { w: (g_sWidth - 500) / 2 + 420, h: 230, visibility: `hidden` },
|
|
@@ -1799,6 +1799,9 @@ const g_cssObj = {
|
|
|
1799
1799
|
keyconfig_warning: `keyconfig_warning`,
|
|
1800
1800
|
keyconfig_ConfigType: `keyconfig_ConfigType`,
|
|
1801
1801
|
keyconfig_ColorType: `keyconfig_ColorType`,
|
|
1802
|
+
keyconfig_ColorGr: `keyconfig_ColorGr`,
|
|
1803
|
+
keyconfig_ShuffleGr: `keyconfig_ShuffleGr`,
|
|
1804
|
+
keyconfig_StepRtnGr: `keyconfig_StepRtnGr`,
|
|
1802
1805
|
keyconfig_Changekey: `keyconfig_Changekey`,
|
|
1803
1806
|
keyconfig_Defaultkey: `keyconfig_Defaultkey`,
|
|
1804
1807
|
|
|
@@ -2861,7 +2864,7 @@ const g_lang_msgInfoObj = {
|
|
|
2861
2864
|
E_0012: `The song title information is not set. (E-0012)<br>
|
|
2862
2865
|
|musicTitle=Song title,Artist name,Artist's site URL|`,
|
|
2863
2866
|
E_0021: `Music information is not set or the format is incorrect.(E-0021)<br>
|
|
2864
|
-
|difData=
|
|
2867
|
+
|difData=Key type's name,chart's name,Specified speed|`,
|
|
2865
2868
|
E_0022: `The format of the external music file is incorrect.(E-0022)<br>
|
|
2866
2869
|
function externalDosInit() { g_externalDos = \`(Chart data)\`; }`,
|
|
2867
2870
|
E_0023: `Music information is not set. (E-0023)<br>
|
|
@@ -3253,6 +3256,14 @@ const g_lang_msgObj = {
|
|
|
3253
3256
|
d_arroweffect: `矢印・フリーズアローモーションの有効化設定`,
|
|
3254
3257
|
d_special: `作品固有の特殊演出の有効化設定`,
|
|
3255
3258
|
|
|
3259
|
+
lnkSpeedG: `譜面の進行別の速度変化状況を表示`,
|
|
3260
|
+
lnkDensityG: `譜面の密度状況を表示`,
|
|
3261
|
+
lnkToolDifG: `譜面の難易度、矢印・フリーズアローの分布状況を表示`,
|
|
3262
|
+
lnkHighScoreG: `譜面のハイスコアを表示`,
|
|
3263
|
+
lnkDifInfo: `譜面の難易度、矢印・フリーズアローの分布状況をクリップボードへコピー`,
|
|
3264
|
+
lnkResetHighScore: `譜面のハイスコア情報を消去`,
|
|
3265
|
+
lnkHighScore: `譜面のハイスコアをクリップボードへコピー`,
|
|
3266
|
+
|
|
3256
3267
|
appearance: `流れる矢印の見え方を制御します。`,
|
|
3257
3268
|
opacity: `判定キャラクタ、コンボ数、Fast/Slow、Hidden+/Sudden+の\n境界線表示の透明度を設定します。`,
|
|
3258
3269
|
hitPosition: `判定位置にズレを感じる場合、\n数値を変えることで判定の中央位置を1px単位(プラス:手前, マイナス:奥側)で調整することができます。\n早押し・遅押し傾向にある場合に使用します。`,
|
|
@@ -3315,6 +3326,14 @@ const g_lang_msgObj = {
|
|
|
3315
3326
|
d_arroweffect: `Enable sequences' animations`,
|
|
3316
3327
|
d_special: `Enable setting of special effects to the work`,
|
|
3317
3328
|
|
|
3329
|
+
lnkSpeedG: `Displays the speed change status by progression of the chart.`,
|
|
3330
|
+
lnkDensityG: `Displays the density status of the chart.`,
|
|
3331
|
+
lnkToolDifG: `Displays the difficulty level of the chart and the distribution of arrows and freeze arrows.`,
|
|
3332
|
+
lnkHighScoreG: `Displays the high score of the chart.`,
|
|
3333
|
+
lnkDifInfo: `Copy the difficulty of the chart and the distribution of arrows and freeze arrows to the clipboard.`,
|
|
3334
|
+
lnkResetHighScore: `Erase the high score information in the chart.`,
|
|
3335
|
+
lnkHighScore: `Copies the high score of the chart to the clipboard.`,
|
|
3336
|
+
|
|
3318
3337
|
appearance: `Controls how the flowing sequences look.`,
|
|
3319
3338
|
opacity: `Set the transparency of some objects such as judgment, combo counts, fast and slow`,
|
|
3320
3339
|
hitPosition: `If you feel a discrepancy in the judgment position, \nyou can adjust the center position of the judgment in 1px increments \n (plus: in front, minus: at the back) by changing the numerical value. \nUse this function when there is a tendency to push too fast or too slow.`,
|
package/package.json
CHANGED
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
--keyconfig-colorType-x: #ffdd99;
|
|
68
68
|
--keyconfig-changekey-x: #ffff00;
|
|
69
69
|
--keyconfig-defaultkey-x: #99ccff;
|
|
70
|
+
/* --keyconfig-colorGr-x: var(--settings-colorType-x); */
|
|
71
|
+
/* --keyconfig-shuffleGr-x: var(--settings-shuffle-x); */
|
|
72
|
+
/* --keyconfig-stepRtnGr-x: var(--settings-adjustment-x); */
|
|
70
73
|
|
|
71
74
|
/* 判定 */
|
|
72
75
|
--common-ii: #66ffff;
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
--keyconfig-colorType-x: #773300;
|
|
68
68
|
--keyconfig-changekey-x: #999900;
|
|
69
69
|
--keyconfig-defaultkey-x: #000099;
|
|
70
|
+
/* --keyconfig-colorGr-x: var(--settings-colorType-x); */
|
|
71
|
+
/* --keyconfig-shuffleGr-x: var(--settings-shuffle-x); */
|
|
72
|
+
/* --keyconfig-stepRtnGr-x: var(--settings-adjustment-x); */
|
|
70
73
|
|
|
71
74
|
/* 判定 */
|
|
72
75
|
--common-ii: #009999;
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
--keyconfig-colorType-x: #773300;
|
|
68
68
|
--keyconfig-changekey-x: #999900;
|
|
69
69
|
--keyconfig-defaultkey-x: #000099;
|
|
70
|
+
/* --keyconfig-colorGr-x: var(--settings-colorType-x); */
|
|
71
|
+
/* --keyconfig-shuffleGr-x: var(--settings-shuffle-x); */
|
|
72
|
+
/* --keyconfig-stepRtnGr-x: var(--settings-adjustment-x); */
|
|
70
73
|
|
|
71
74
|
/* 判定 */
|
|
72
75
|
--common-ii: #009999;
|