danoniplus 24.6.6 → 24.6.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.
- package/js/danoni_main.js +10 -10
- package/js/lib/danoni_constants.js +9 -1
- 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 : 2022/
|
|
7
|
+
* Revised : 2022/08/03
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 24.6.
|
|
12
|
-
const g_revisedDate = `2022/
|
|
11
|
+
const g_version = `Ver 24.6.9`;
|
|
12
|
+
const g_revisedDate = `2022/08/03`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
15
15
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -40,11 +40,11 @@ let g_localVersion2 = ``;
|
|
|
40
40
|
*/
|
|
41
41
|
const current = _ => {
|
|
42
42
|
if (document.currentScript) {
|
|
43
|
-
return
|
|
43
|
+
return document.currentScript.src;
|
|
44
44
|
}
|
|
45
45
|
const scripts = document.getElementsByTagName(`script`);
|
|
46
46
|
const targetScript = scripts[scripts.length - 1];
|
|
47
|
-
return
|
|
47
|
+
return targetScript.src;
|
|
48
48
|
};
|
|
49
49
|
const g_rootPath = current().match(/(^.*\/)/)[0];
|
|
50
50
|
const g_remoteFlg = g_rootPath.match(`^https://cwtickle.github.io/danoniplus/`) !== null;
|
|
@@ -4370,7 +4370,7 @@ function createOptionWindow(_sprite) {
|
|
|
4370
4370
|
context.font = `${C_SIZ_DIFSELECTOR}px ${getBasicFont()}`;
|
|
4371
4371
|
context.fillText(speedType, lineX + 35, 218);
|
|
4372
4372
|
|
|
4373
|
-
updateScoreDetailLabel(`Speed`,
|
|
4373
|
+
updateScoreDetailLabel(`Speed`, `${speedType}S`, speedObj[speedType].cnt, j, g_lblNameObj[`s_${speedType}`]);
|
|
4374
4374
|
});
|
|
4375
4375
|
}
|
|
4376
4376
|
|
|
@@ -4393,10 +4393,10 @@ function createOptionWindow(_sprite) {
|
|
|
4393
4393
|
}
|
|
4394
4394
|
|
|
4395
4395
|
const obj = getScoreBaseData(_scoreId);
|
|
4396
|
-
updateScoreDetailLabel(`Density`,
|
|
4397
|
-
updateScoreDetailLabel(`Density`,
|
|
4398
|
-
updateScoreDetailLabel(`Density`,
|
|
4399
|
-
updateScoreDetailLabel(`Density`,
|
|
4396
|
+
updateScoreDetailLabel(`Density`, `APM`, obj.apm, 0, g_lblNameObj.s_apm);
|
|
4397
|
+
updateScoreDetailLabel(`Density`, `Time`, obj.playingTime, 1, g_lblNameObj.s_time);
|
|
4398
|
+
updateScoreDetailLabel(`Density`, `Arrow`, obj.arrowCnts, 3, g_lblNameObj.s_arrow);
|
|
4399
|
+
updateScoreDetailLabel(`Density`, `Frz`, obj.frzCnts, 4, g_lblNameObj.s_frz);
|
|
4400
4400
|
}
|
|
4401
4401
|
|
|
4402
4402
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Source by tickle
|
|
7
7
|
* Created : 2019/11/19
|
|
8
|
-
* Revised : 2022/
|
|
8
|
+
* Revised : 2022/04/16 (v24.6.7)
|
|
9
9
|
*
|
|
10
10
|
* https://github.com/cwtickle/danoniplus
|
|
11
11
|
*/
|
|
@@ -2194,11 +2194,19 @@ const g_keyObj = {
|
|
|
2194
2194
|
'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
|
|
2195
2195
|
'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
|
|
2196
2196
|
},
|
|
2197
|
+
assistPos9A_4: {
|
|
2198
|
+
'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
|
|
2199
|
+
'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
|
|
2200
|
+
},
|
|
2197
2201
|
|
|
2198
2202
|
assistPos11i_0: {
|
|
2199
2203
|
'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
|
|
2200
2204
|
'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
|
|
2201
2205
|
},
|
|
2206
|
+
assistPos11i_1: {
|
|
2207
|
+
'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
|
|
2208
|
+
'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
|
|
2209
|
+
},
|
|
2202
2210
|
|
|
2203
2211
|
assistPos17_0: {
|
|
2204
2212
|
'Left': [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|