@wwawing/loader 3.13.0-unstable.based-on.3.12.11.p.12 → 4.1.0-unstable.based-on.3.12.11
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.
|
@@ -116,8 +116,10 @@ class TextLoader {
|
|
|
116
116
|
wwaData.moves = infra_1.WWAConsts.DEFAULT_MOVES;
|
|
117
117
|
wwaData.gameSpeedIndex = infra_1.WWAConsts.DEFAULT_SPEED_INDEX;
|
|
118
118
|
wwaData.permitChangeGameSpeed = true;
|
|
119
|
-
wwaData.userVar = Array
|
|
120
|
-
|
|
119
|
+
wwaData.userVar = new Array(infra_1.WWAConsts.USER_VAR_NUM);
|
|
120
|
+
for (let i = 0; i < infra_1.WWAConsts.USER_VAR_NUM; i++) {
|
|
121
|
+
wwaData.userVar[i] = 0;
|
|
122
|
+
}
|
|
121
123
|
wwaData.playTime = 0;
|
|
122
124
|
wwaData.isVisibleStatusEnergy = true;
|
|
123
125
|
wwaData.isVisibleStatusStrength = true;
|
package/lib/infra/index.js
CHANGED
|
@@ -113,8 +113,10 @@ export class TextLoader {
|
|
|
113
113
|
wwaData.moves = WWAConsts.DEFAULT_MOVES;
|
|
114
114
|
wwaData.gameSpeedIndex = WWAConsts.DEFAULT_SPEED_INDEX;
|
|
115
115
|
wwaData.permitChangeGameSpeed = true;
|
|
116
|
-
wwaData.userVar = Array
|
|
117
|
-
|
|
116
|
+
wwaData.userVar = new Array(WWAConsts.USER_VAR_NUM);
|
|
117
|
+
for (let i = 0; i < WWAConsts.USER_VAR_NUM; i++) {
|
|
118
|
+
wwaData.userVar[i] = 0;
|
|
119
|
+
}
|
|
118
120
|
wwaData.playTime = 0;
|
|
119
121
|
wwaData.isVisibleStatusEnergy = true;
|
|
120
122
|
wwaData.isVisibleStatusStrength = true;
|
package/module/infra/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wwawing/loader",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.0-unstable.based-on.3.12.11",
|
|
4
4
|
"description": "a World Wide Adventure mapdata loader for client-side web applications",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./module/index.js",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://github.com/WWAWing/WWALoader#readme",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@wwawing/event-emitter": "^
|
|
47
|
+
"@wwawing/event-emitter": "^4.1.0-unstable.based-on.3.12.11"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@wwawing/common-interface": "^
|
|
50
|
+
"@wwawing/common-interface": "^4.1.0-unstable.based-on.3.12.11",
|
|
51
51
|
"cross-env": "^7.0.3",
|
|
52
52
|
"html-loader": "^4.2.0",
|
|
53
53
|
"html-webpack-plugin": "^5.5.0",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"node": ">=18",
|
|
69
69
|
"npm": ">=8"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "b5cdb9edba2e42e7719000d99ed09d66e3595d3c"
|
|
72
72
|
}
|