danoniplus 19.5.14 → 19.5.17
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 +9 -9
- package/package.json +22 -22
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 19.5.
|
|
12
|
-
const g_revisedDate = `2022/
|
|
11
|
+
const g_version = `Ver 19.5.17`;
|
|
12
|
+
const g_revisedDate = `2022/08/03`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
15
15
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -1301,7 +1301,7 @@ function loadDos(_afterFunc, _scoreId = g_stateObj.scoreId, _cyclicFlg = false)
|
|
|
1301
1301
|
const externalDosInput = document.querySelector(`#externalDos`);
|
|
1302
1302
|
const divRoot = document.querySelector(`#divRoot`);
|
|
1303
1303
|
const queryDos = getQueryParamVal(`dos`) !== null ? `dos/${getQueryParamVal('dos')}.txt` :
|
|
1304
|
-
(externalDosInput !== null ? externalDosInput.value : ``);
|
|
1304
|
+
encodeURI(externalDosInput !== null ? externalDosInput.value : ``);
|
|
1305
1305
|
|
|
1306
1306
|
if (dosInput === null && queryDos === ``) {
|
|
1307
1307
|
makeWarningWindow(g_msgInfoObj.E_0023);
|
|
@@ -4023,7 +4023,7 @@ function createOptionWindow(_sprite) {
|
|
|
4023
4023
|
context.font = `${C_SIZ_DIFSELECTOR}px ${getBasicFont()}`;
|
|
4024
4024
|
context.fillText(speedType, lineX + 35, 218);
|
|
4025
4025
|
|
|
4026
|
-
makeScoreDetailLabel(`Speed`,
|
|
4026
|
+
makeScoreDetailLabel(`Speed`, `${speedType}S`, speedObj[speedType].cnt, j, g_lblNameObj[`s_${speedType}`]);
|
|
4027
4027
|
});
|
|
4028
4028
|
}
|
|
4029
4029
|
|
|
@@ -4049,13 +4049,13 @@ function createOptionWindow(_sprite) {
|
|
|
4049
4049
|
}
|
|
4050
4050
|
|
|
4051
4051
|
const apm = Math.round((arrowCnts + frzCnts) / (g_detailObj.playingFrame[_scoreId] / g_fps / 60));
|
|
4052
|
-
makeScoreDetailLabel(`Density`,
|
|
4052
|
+
makeScoreDetailLabel(`Density`, `APM`, apm, 0, g_lblNameObj.s_apm);
|
|
4053
4053
|
const minutes = Math.floor(g_detailObj.playingFrameWithBlank[_scoreId] / g_fps / 60);
|
|
4054
4054
|
const seconds = `00${Math.floor((g_detailObj.playingFrameWithBlank[_scoreId] / g_fps) % 60)}`.slice(-2);
|
|
4055
4055
|
const playingTime = `${minutes}:${seconds}`;
|
|
4056
|
-
makeScoreDetailLabel(`Density`,
|
|
4057
|
-
makeScoreDetailLabel(`Density`,
|
|
4058
|
-
makeScoreDetailLabel(`Density`,
|
|
4056
|
+
makeScoreDetailLabel(`Density`, `Time`, playingTime, 1, g_lblNameObj.s_time);
|
|
4057
|
+
makeScoreDetailLabel(`Density`, `Arrow`, arrowCnts, 3, g_lblNameObj.s_arrow);
|
|
4058
|
+
makeScoreDetailLabel(`Density`, `Frz`, frzCnts, 4, g_lblNameObj.s_frz);
|
|
4059
4059
|
}
|
|
4060
4060
|
|
|
4061
4061
|
/**
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "danoniplus",
|
|
3
|
-
"version": "19.5.
|
|
4
|
-
"description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/cwtickle/danoniplus.git"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"rhythm-game",
|
|
15
|
-
"dancing-onigiri"
|
|
16
|
-
],
|
|
17
|
-
"author": "tickle <quc_tickle@cw7.sakura.ne.jp> (https://github.com/cwtickle/)",
|
|
18
|
-
"license": "MIT",
|
|
19
|
-
"bugs": {
|
|
20
|
-
"url": "https://github.com/cwtickle/danoniplus/issues"
|
|
21
|
-
},
|
|
22
|
-
"homepage": "https://github.com/cwtickle/danoniplus#readme"
|
|
1
|
+
{
|
|
2
|
+
"name": "danoniplus",
|
|
3
|
+
"version": "19.5.17",
|
|
4
|
+
"description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/cwtickle/danoniplus.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"rhythm-game",
|
|
15
|
+
"dancing-onigiri"
|
|
16
|
+
],
|
|
17
|
+
"author": "tickle <quc_tickle@cw7.sakura.ne.jp> (https://github.com/cwtickle/)",
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/cwtickle/danoniplus/issues"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/cwtickle/danoniplus#readme"
|
|
23
23
|
}
|