danoniplus 26.7.1 → 26.7.4
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 26.7.
|
|
12
|
-
const g_revisedDate = `2022/
|
|
11
|
+
const g_version = `Ver 26.7.4`;
|
|
12
|
+
const g_revisedDate = `2022/08/03`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
15
15
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -41,11 +41,11 @@ let g_localVersion2 = ``;
|
|
|
41
41
|
*/
|
|
42
42
|
const current = _ => {
|
|
43
43
|
if (document.currentScript) {
|
|
44
|
-
return
|
|
44
|
+
return document.currentScript.src;
|
|
45
45
|
}
|
|
46
46
|
const scripts = document.getElementsByTagName(`script`);
|
|
47
47
|
const targetScript = scripts[scripts.length - 1];
|
|
48
|
-
return
|
|
48
|
+
return targetScript.src;
|
|
49
49
|
};
|
|
50
50
|
const g_rootPath = current().match(/(^.*\/)/)[0];
|
|
51
51
|
const g_remoteFlg = g_rootPath.match(`^https://cwtickle.github.io/danoniplus/`) !== null;
|
|
@@ -4403,7 +4403,7 @@ const createOptionWindow = _sprite => {
|
|
|
4403
4403
|
context.font = `${C_SIZ_DIFSELECTOR}px ${getBasicFont()}`;
|
|
4404
4404
|
context.fillText(speedType, lineX + 35, 218);
|
|
4405
4405
|
|
|
4406
|
-
updateScoreDetailLabel(`Speed`,
|
|
4406
|
+
updateScoreDetailLabel(`Speed`, `${speedType}S`, speedObj[speedType].cnt, j, g_lblNameObj[`s_${speedType}`]);
|
|
4407
4407
|
});
|
|
4408
4408
|
};
|
|
4409
4409
|
|
|
@@ -4443,10 +4443,10 @@ const createOptionWindow = _sprite => {
|
|
|
4443
4443
|
});
|
|
4444
4444
|
|
|
4445
4445
|
const obj = getScoreBaseData(_scoreId);
|
|
4446
|
-
updateScoreDetailLabel(`Density`,
|
|
4447
|
-
updateScoreDetailLabel(`Density`,
|
|
4448
|
-
updateScoreDetailLabel(`Density`,
|
|
4449
|
-
updateScoreDetailLabel(`Density`,
|
|
4446
|
+
updateScoreDetailLabel(`Density`, `APM`, obj.apm, 0, g_lblNameObj.s_apm);
|
|
4447
|
+
updateScoreDetailLabel(`Density`, `Time`, obj.playingTime, 1, g_lblNameObj.s_time);
|
|
4448
|
+
updateScoreDetailLabel(`Density`, `Arrow`, obj.arrowCnts, 3, g_lblNameObj.s_arrow);
|
|
4449
|
+
updateScoreDetailLabel(`Density`, `Frz`, obj.frzCnts, 4, g_lblNameObj.s_frz);
|
|
4450
4450
|
};
|
|
4451
4451
|
|
|
4452
4452
|
/**
|
|
@@ -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 (v26.7.2)
|
|
9
9
|
*
|
|
10
10
|
* https://github.com/cwtickle/danoniplus
|
|
11
11
|
*/
|
|
@@ -2212,11 +2212,19 @@ const g_keyObj = {
|
|
|
2212
2212
|
'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
|
|
2213
2213
|
'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
|
|
2214
2214
|
},
|
|
2215
|
+
assistPos9A_4: {
|
|
2216
|
+
'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
|
|
2217
|
+
'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
|
|
2218
|
+
},
|
|
2215
2219
|
|
|
2216
2220
|
assistPos11i_0: {
|
|
2217
2221
|
'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
|
|
2218
2222
|
'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
|
|
2219
2223
|
},
|
|
2224
|
+
assistPos11i_1: {
|
|
2225
|
+
'Left': [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
|
|
2226
|
+
'Right': [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
|
|
2227
|
+
},
|
|
2220
2228
|
|
|
2221
2229
|
assistPos17_0: {
|
|
2222
2230
|
'Left': [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|