danoniplus 41.4.7 → 41.4.9

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.
Files changed (2) hide show
  1. package/js/danoni_main.js +18 -9
  2. 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/25
7
+ * Revised : 2025/08/31
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 41.4.7`;
12
- const g_revisedDate = `2025/08/25`;
11
+ const g_version = `Ver 41.4.9`;
12
+ const g_revisedDate = `2025/08/31`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -3505,7 +3505,7 @@ const headerConvert = _dosObj => {
3505
3505
  obj.bpms[j] = musics[4] || obj.bpms[0];
3506
3506
 
3507
3507
  // 代替タイトル名
3508
- if (j === 0) {
3508
+ if (j === 0 && hasVal(_dosObj.musicNo)) {
3509
3509
  alternativeTitle = musics[3];
3510
3510
  }
3511
3511
  }
@@ -5125,8 +5125,11 @@ const titleInit = (_initFlg = false) => {
5125
5125
  }
5126
5126
  } else if (!g_headerObj.customTitleUse) {
5127
5127
  // 曲名文字描画(曲名は譜面データから取得)
5128
- divRoot.appendChild(drawTitle(g_headerObj.musicTitlesForView[g_settings.musicIdxNum],
5129
- g_headerObj.musicSelectUse ? g_headerObj.viewLists[0] + 1 : ``))
5128
+ divRoot.appendChild(
5129
+ g_headerObj.musicSelectUse
5130
+ ? drawTitle(g_headerObj.musicTitlesForView[g_settings.musicIdxNum], g_headerObj.viewLists[0] + 1)
5131
+ : drawTitle()
5132
+ );
5130
5133
  }
5131
5134
 
5132
5135
  // クレジット表示
@@ -12378,7 +12381,13 @@ const mainInit = () => {
12378
12381
  // フリーズアロー色の設定
12379
12382
  // - 通常時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Normal / NormalShadow / NormalBar
12380
12383
  // - ヒット時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Hit / HitShadow / HitBar
12381
- g_typeLists.frzColor.forEach(val => g_attrObj[frzName][val] = g_workObj[`${_name}${val}Colors`][_j]);
12384
+ // - ヒット時(矢印枠/矢印塗りつぶし/帯別の生成時全体色): g_attrObj[frzName].HitAll / HitShadowAll / HitBarAll
12385
+ g_typeLists.frzColor.forEach(val => {
12386
+ g_attrObj[frzName][val] = g_workObj[`${_name}${val}Colors`][_j];
12387
+ if (val.startsWith(`Hit`)) {
12388
+ g_attrObj[frzName][`${val}All`] = g_workObj[`${_name}${val}ColorsAll`][_j];
12389
+ }
12390
+ });
12382
12391
  arrowSprite[g_workObj.dividePos[_j]].appendChild(frzRoot);
12383
12392
  let shadowColor = _shadowColor === `Default` ? _normalColor : _shadowColor;
12384
12393
 
@@ -13106,9 +13115,9 @@ const changeHitFrz = (_j, _k, _name, _difFrame = 0) => {
13106
13115
  * @returns {string}
13107
13116
  */
13108
13117
  const getColor = (_type) => {
13109
- const cColor = g_workObj[`${_name}${_type}Colors`][_j];
13110
13118
  const cColorAll = g_workObj[`${_name}${_type}ColorsAll`][_j];
13111
- return currentFrz[_type] !== cColor && cColorAll === cColor ? cColorAll : currentFrz[_type];
13119
+ return currentFrz[_type] !== cColorAll && currentFrz[`${_type}All`] !== cColorAll
13120
+ ? cColorAll : currentFrz[_type];
13112
13121
  };
13113
13122
 
13114
13123
  const tmpHitColor = getColor(`Hit`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "41.4.7",
3
+ "version": "41.4.9",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "./js/danoni_main.js",
6
6
  "scripts": {