danoniplus 42.5.1 → 42.5.3
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/js/danoni_main.js +18 -9
- package/package.json +1 -1
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 : 2025/08/
|
|
7
|
+
* Revised : 2025/08/31
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 42.5.
|
|
12
|
-
const g_revisedDate = `2025/08/
|
|
11
|
+
const g_version = `Ver 42.5.3`;
|
|
12
|
+
const g_revisedDate = `2025/08/31`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -3574,7 +3574,7 @@ const headerConvert = _dosObj => {
|
|
|
3574
3574
|
obj.bpms[j] = musics[4] || obj.bpms[0];
|
|
3575
3575
|
|
|
3576
3576
|
// 代替タイトル名
|
|
3577
|
-
if (j === 0) {
|
|
3577
|
+
if (j === 0 && hasVal(_dosObj.musicNo)) {
|
|
3578
3578
|
alternativeTitle = musics[3];
|
|
3579
3579
|
}
|
|
3580
3580
|
}
|
|
@@ -5209,8 +5209,11 @@ const titleInit = (_initFlg = false) => {
|
|
|
5209
5209
|
}
|
|
5210
5210
|
} else if (!g_headerObj.customTitleUse) {
|
|
5211
5211
|
// 曲名文字描画(曲名は譜面データから取得)
|
|
5212
|
-
divRoot.appendChild(
|
|
5213
|
-
g_headerObj.musicSelectUse
|
|
5212
|
+
divRoot.appendChild(
|
|
5213
|
+
g_headerObj.musicSelectUse
|
|
5214
|
+
? drawTitle(g_headerObj.musicTitlesForView[g_settings.musicIdxNum], g_headerObj.viewLists[0] + 1)
|
|
5215
|
+
: drawTitle()
|
|
5216
|
+
);
|
|
5214
5217
|
}
|
|
5215
5218
|
|
|
5216
5219
|
// クレジット表示
|
|
@@ -12490,7 +12493,13 @@ const mainInit = () => {
|
|
|
12490
12493
|
// フリーズアロー色の設定
|
|
12491
12494
|
// - 通常時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Normal / NormalShadow / NormalBar
|
|
12492
12495
|
// - ヒット時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Hit / HitShadow / HitBar
|
|
12493
|
-
|
|
12496
|
+
// - ヒット時(矢印枠/矢印塗りつぶし/帯別の生成時全体色): g_attrObj[frzName].HitAll / HitShadowAll / HitBarAll
|
|
12497
|
+
g_typeLists.frzColor.forEach(val => {
|
|
12498
|
+
g_attrObj[frzName][val] = g_workObj[`${_name}${val}Colors`][_j];
|
|
12499
|
+
if (val.startsWith(`Hit`)) {
|
|
12500
|
+
g_attrObj[frzName][`${val}All`] = g_workObj[`${_name}${val}ColorsAll`][_j];
|
|
12501
|
+
}
|
|
12502
|
+
});
|
|
12494
12503
|
arrowSprite[g_workObj.dividePos[_j]].appendChild(frzRoot);
|
|
12495
12504
|
let shadowColor = _shadowColor === `Default` ? _normalColor : _shadowColor;
|
|
12496
12505
|
|
|
@@ -13242,9 +13251,9 @@ const changeHitFrz = (_j, _k, _name, _difFrame = 0) => {
|
|
|
13242
13251
|
* @returns {string}
|
|
13243
13252
|
*/
|
|
13244
13253
|
const getColor = (_type) => {
|
|
13245
|
-
const cColor = g_workObj[`${_name}${_type}Colors`][_j];
|
|
13246
13254
|
const cColorAll = g_workObj[`${_name}${_type}ColorsAll`][_j];
|
|
13247
|
-
return currentFrz[_type] !==
|
|
13255
|
+
return currentFrz[_type] !== cColorAll && currentFrz[`${_type}All`] !== cColorAll
|
|
13256
|
+
? cColorAll : currentFrz[_type];
|
|
13248
13257
|
};
|
|
13249
13258
|
|
|
13250
13259
|
const tmpHitColor = getColor(`Hit`);
|