danoniplus 46.5.1 → 46.5.2
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 +11 -9
- package/js/lib/danoni_constants.js +4 -3
- 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 : 2026/03/
|
|
7
|
+
* Revised : 2026/03/31
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 46.5.
|
|
12
|
-
const g_revisedDate = `2026/03/
|
|
11
|
+
const g_version = `Ver 46.5.2`;
|
|
12
|
+
const g_revisedDate = `2026/03/31`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -155,6 +155,8 @@ const C_FLG_ON = `ON`;
|
|
|
155
155
|
const C_FLG_OFF = `OFF`;
|
|
156
156
|
const C_FLG_HYPHEN = `---`;
|
|
157
157
|
const C_FLG_ALL = `ALL`;
|
|
158
|
+
const C_FLG_REVERSE = `Reverse`;
|
|
159
|
+
const C_FLG_REVERSE2 = `Rev`;
|
|
158
160
|
const C_DIS_NONE = `none`;
|
|
159
161
|
const C_DIS_AUTO = `auto`;
|
|
160
162
|
const C_DIS_INHERIT = `inherit`;
|
|
@@ -7593,7 +7595,7 @@ const setDifficulty = (_initFlg) => {
|
|
|
7593
7595
|
document.getElementById(`${hiddenScr}Sprite`).style.display = C_DIS_NONE;
|
|
7594
7596
|
setSetting(0, visibleScr);
|
|
7595
7597
|
|
|
7596
|
-
g_shortcutObj.option.KeyR.id = g_settings.scrolls.includes(
|
|
7598
|
+
g_shortcutObj.option.KeyR.id = g_settings.scrolls.includes(C_FLG_REVERSE) ?
|
|
7597
7599
|
g_shortcutObj.option.KeyR.exId : g_shortcutObj.option.KeyR.dfId;
|
|
7598
7600
|
|
|
7599
7601
|
if (g_settings.scrolls.length > 1) {
|
|
@@ -8142,7 +8144,7 @@ const setReverseDefault = () => {
|
|
|
8142
8144
|
};
|
|
8143
8145
|
|
|
8144
8146
|
const setReverse = _btn => {
|
|
8145
|
-
if (!g_settings.scrolls.includes(
|
|
8147
|
+
if (!g_settings.scrolls.includes(C_FLG_REVERSE) && g_headerObj.reverseUse) {
|
|
8146
8148
|
g_settings.reverseNum = (g_settings.reverseNum + 1) % 2;
|
|
8147
8149
|
g_stateObj.reverse = g_settings.reverses[g_settings.reverseNum];
|
|
8148
8150
|
setReverseView(_btn);
|
|
@@ -8153,7 +8155,7 @@ const setReverse = _btn => {
|
|
|
8153
8155
|
const setReverseView = _btn => {
|
|
8154
8156
|
_btn.classList.replace(g_cssObj[`button_Rev${g_settings.reverses[(g_settings.reverseNum + 1) % 2]}`],
|
|
8155
8157
|
g_cssObj[`button_Rev${g_settings.reverses[g_settings.reverseNum]}`]);
|
|
8156
|
-
if (!g_settings.scrolls.includes(
|
|
8158
|
+
if (!g_settings.scrolls.includes(C_FLG_REVERSE) && g_headerObj.reverseUse) {
|
|
8157
8159
|
_btn.textContent = `${g_lblNameObj.Reverse}:${getStgDetailName(g_stateObj.reverse)}`;
|
|
8158
8160
|
} else {
|
|
8159
8161
|
_btn.textContent = `X`;
|
|
@@ -11894,7 +11896,7 @@ const getArrowSettings = () => {
|
|
|
11894
11896
|
|
|
11895
11897
|
if (g_stateObj.playWindow === `SideScroll`) {
|
|
11896
11898
|
if (g_stateObj.rotateEnabled) {
|
|
11897
|
-
const sign = g_stateObj.playWindowType ===
|
|
11899
|
+
const sign = g_stateObj.playWindowType === C_FLG_REVERSE2 ? -1 : 1;
|
|
11898
11900
|
changeStepRtn(`stepRtn`, 90 * sign);
|
|
11899
11901
|
changeStepRtn(`stepHitRtn`, 90 * sign);
|
|
11900
11902
|
changeStepRtn(`arrowRtn`, 90 * sign);
|
|
@@ -15467,12 +15469,12 @@ const getSelectedSettingList = (_orgShuffleFlg) => {
|
|
|
15467
15469
|
`${g_stateObj.speed}${g_lblNameObj.multi}`,
|
|
15468
15470
|
withOptions(g_stateObj.motion, C_FLG_OFF),
|
|
15469
15471
|
`${withOptions(g_stateObj.reverse, C_FLG_OFF,
|
|
15470
|
-
getStgDetailName(g_stateObj.scroll !== C_FLG_HYPHEN ? 'R-' :
|
|
15472
|
+
getStgDetailName(g_stateObj.scroll !== C_FLG_HYPHEN ? 'R-' : C_FLG_REVERSE))}${withOptions(g_stateObj.scroll, C_FLG_HYPHEN)}`,
|
|
15471
15473
|
withOptions(g_stateObj.appearance, `Visible`) +
|
|
15472
15474
|
((g_appearanceRanges.includes(g_stateObj.appearance) && g_stateObj.filterLock === C_FLG_ON) ? `(${g_hidSudObj.filterPos}%)` : ``),
|
|
15473
15475
|
withOptions(g_stateObj.gauge, g_settings.gauges[0]),
|
|
15474
15476
|
withOptions(g_stateObj.playWindow, `Default`,
|
|
15475
|
-
`${getStgDetailName(g_stateObj.playWindowType ===
|
|
15477
|
+
`${getStgDetailName(g_stateObj.playWindowType === C_FLG_REVERSE2 ? `R-` : ``)}${getStgDetailName(g_stateObj.playWindow)}`),
|
|
15476
15478
|
withOptions(g_stateObj.stepArea, `Default`),
|
|
15477
15479
|
withOptions(g_stateObj.frzReturn, C_FLG_OFF,
|
|
15478
15480
|
`FR:${getStgDetailName(g_stateObj.frzReturn)}(${getStgDetailName(g_stateObj.frzReturnType)})`),
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Source by tickle
|
|
7
7
|
* Created : 2019/11/19
|
|
8
|
-
* Revised : 2026/03/
|
|
8
|
+
* Revised : 2026/03/31 (v46.5.2)
|
|
9
9
|
*
|
|
10
10
|
* https://github.com/cwtickle/danoniplus
|
|
11
11
|
*/
|
|
@@ -1350,7 +1350,7 @@ const g_settings = {
|
|
|
1350
1350
|
playWindows: [`Default`, `Stairs`, `Slope`, `Distorted`, `SideScroll`],
|
|
1351
1351
|
playWindowNum: 0,
|
|
1352
1352
|
|
|
1353
|
-
playWindowTypes: [C_FLG_HYPHEN,
|
|
1353
|
+
playWindowTypes: [C_FLG_HYPHEN, C_FLG_REVERSE2],
|
|
1354
1354
|
playWindowTypeNum: 0,
|
|
1355
1355
|
|
|
1356
1356
|
stepAreas: [`Default`, `Halfway`, `2Step`, `Mismatched`, `R-Mismatched`, `X-Flower`, `Alt-Crossing`],
|
|
@@ -1737,7 +1737,7 @@ const motionAlphaToggle = (_obj, _property) => {
|
|
|
1737
1737
|
* PlayWindow適用関数
|
|
1738
1738
|
* - 対応するキー名: g_settings.playWindows
|
|
1739
1739
|
*/
|
|
1740
|
-
const g_playWindowDir = () => g_stateObj.playWindowType ===
|
|
1740
|
+
const g_playWindowDir = () => g_stateObj.playWindowType === C_FLG_REVERSE2 ? 1 : -1;
|
|
1741
1741
|
const g_changeStairs = (_rad) => `rotate(${_rad * g_playWindowDir()}deg)`;
|
|
1742
1742
|
const g_changeSkew = (_rad) => `Skew(${_rad * g_playWindowDir()}deg, ${_rad * g_playWindowDir()}deg) scaleY(0.9)`;
|
|
1743
1743
|
|
|
@@ -4465,6 +4465,7 @@ const g_lblNameObj = {
|
|
|
4465
4465
|
'u_R-': `R-`,
|
|
4466
4466
|
'u_---': `---`,
|
|
4467
4467
|
'u_Reverse': `Reverse`,
|
|
4468
|
+
'u_Rev': `Reverse`,
|
|
4468
4469
|
|
|
4469
4470
|
'u_Mirror': `Mirror`,
|
|
4470
4471
|
'u_X-Mirror': `X-Mirror`,
|