danoniplus 24.6.4 → 24.6.7
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/README.md +2 -2
- package/js/danoni_main.js +8 -8
- package/js/lib/danoni_constants.js +9 -1
- package/package.json +22 -22
package/README.md
CHANGED
|
@@ -73,9 +73,9 @@ Dancing☆Onigiri (CW Edition)では基本的にParaFla!版の仕様に準拠し
|
|
|
73
73
|
|
|
74
74
|
## How to Contribute / 開発者の方へ
|
|
75
75
|
開発にご協力いただける方は、下記をご覧ください。GitHubアカウントの無い方でも協力できます!
|
|
76
|
-
- [貢献の仕方 / How to Contribute](.github/CONTRIBUTING.md)
|
|
76
|
+
- [貢献の仕方 / How to Contribute](https://github.com/cwtickle/danoniplus/blob/develop/.github/CONTRIBUTING.md)
|
|
77
77
|
- [要望・不具合報告用Gitter](https://gitter.im/danonicw/community)
|
|
78
|
-
- [コントリビューター / Contributors](CONTRIBUTORS.md)
|
|
78
|
+
- [コントリビューター / Contributors](https://github.com/cwtickle/danoniplus/blob/develop/CONTRIBUTORS.md)
|
|
79
79
|
|
|
80
80
|
## Community / コミュニティ
|
|
81
81
|
- [得点報告用Gitter](https://gitter.im/danonicw/freeboard)
|
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/04/16
|
|
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.7`;
|
|
12
|
+
const g_revisedDate = `2022/04/16`;
|
|
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 document.currentScript.src;
|
|
43
|
+
return encodeURI(document.currentScript.src);
|
|
44
44
|
}
|
|
45
45
|
const scripts = document.getElementsByTagName(`script`);
|
|
46
46
|
const targetScript = scripts[scripts.length - 1];
|
|
47
|
-
return targetScript.src;
|
|
47
|
+
return encodeURI(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;
|
|
@@ -1336,7 +1336,7 @@ function loadDos(_afterFunc, _scoreId = g_stateObj.scoreId, _cyclicFlg = false)
|
|
|
1336
1336
|
const externalDosInput = document.querySelector(`#externalDos`);
|
|
1337
1337
|
const divRoot = document.querySelector(`#divRoot`);
|
|
1338
1338
|
const queryDos = getQueryParamVal(`dos`) !== null ? `dos/${getQueryParamVal('dos')}.txt` :
|
|
1339
|
-
(externalDosInput !== null ? externalDosInput.value : ``);
|
|
1339
|
+
encodeURI(externalDosInput !== null ? externalDosInput.value : ``);
|
|
1340
1340
|
|
|
1341
1341
|
if (dosInput === null && queryDos === ``) {
|
|
1342
1342
|
makeWarningWindow(g_msgInfoObj.E_0023);
|
|
@@ -5118,8 +5118,8 @@ function createLblSetting(_settingName, _adjY = 0, _settingLabel = _settingName)
|
|
|
5118
5118
|
* @param {string} _name
|
|
5119
5119
|
*/
|
|
5120
5120
|
function getStgDetailName(_name) {
|
|
5121
|
-
return g_lblNameObj[`u_${_name}`]
|
|
5122
|
-
|
|
5121
|
+
return g_lblNameObj[`u_${_name}`] !== undefined && (typeof g_lblRenames !== C_TYP_OBJECT ||
|
|
5122
|
+
(typeof g_lblRenames === C_TYP_OBJECT && g_lblRenames[g_currentPage])) ? g_lblNameObj[`u_${_name}`] : _name;
|
|
5123
5123
|
}
|
|
5124
5124
|
|
|
5125
5125
|
/**
|
|
@@ -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],
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "danoniplus",
|
|
3
|
-
"version": "24.6.
|
|
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": "24.6.7",
|
|
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
|
}
|