@wwawing/all 3.13.0-unstable.based-on.3.12.11.p.11 → 4.0.0

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/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 1996-2015 NAO
4
- Copyright (c) 2015-2023 WWA Wing Team
3
+ Copyright (c) 1996-2025 NAO
4
+ Copyright (c) 2015-2025 WWA Wing Team
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 1996-2015 NAO
4
- Copyright (c) 2015-2023 WWA Wing Team
3
+ Copyright (c) 1996-2025 NAO
4
+ Copyright (c) 2015-2025 WWA Wing Team
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -63,8 +63,8 @@
63
63
  style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />
64
64
  また、このマニュアルについては <a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.ja">クリエイティブ・コモンズ
65
65
  表示 4.0 国際 ライセンスの下に提供されています。</a></p>
66
- <p> Internet RPG &quot;<a href="http://www.wwajp.com">World Wide Adventure</a>&quot; &copy;1996-2016 NAO</p>
67
- <p> &quot;<a href="http://wwawing.com/">WWA Wing</a>&quot; &copy;2013-2023 WWA Wing Team</p>
66
+ <p> Internet RPG &quot;<a href="http://www.wwajp.com">World Wide Adventure</a>&quot; &copy;1996-2025 NAO</p>
67
+ <p> &quot;<a href="http://wwawing.com/">WWA Wing</a>&quot; &copy;2015-2025 WWA Wing Team</p>
68
68
  </footer>
69
69
  </div>
70
70
 
@@ -0,0 +1,307 @@
1
+ // wwa-server.exe LICENSE INFORMATION
2
+
3
+ /*!
4
+ * Node.js
5
+ * Copyright Node.js contributors. All rights reserved.
6
+ * MIT Licensed
7
+ * https://raw.githubusercontent.com/nodejs/node/refs/heads/main/LICENSE
8
+ */
9
+
10
+ /*!
11
+ * @wwawing/debug-server
12
+ * Copyright (c) 2018-2025 WWA Wing Team
13
+ * MIT Licensed
14
+ * https://github.com/WWAWing/WWAWing/blob/develop/packages/debug-server/LICENSE
15
+ */
16
+
17
+ /*!
18
+ * Default template.
19
+ */
20
+
21
+ /*!
22
+ * Icon cache.
23
+ */
24
+
25
+ /*!
26
+ * accepts
27
+ * Copyright(c) 2014 Jonathan Ong
28
+ * Copyright(c) 2015 Douglas Christopher Wilson
29
+ * MIT Licensed
30
+ */
31
+
32
+ /*!
33
+ * body-parser
34
+ * Copyright(c) 2014 Jonathan Ong
35
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
36
+ * MIT Licensed
37
+ */
38
+
39
+ /*!
40
+ * body-parser
41
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
42
+ * MIT Licensed
43
+ */
44
+
45
+ /*!
46
+ * bytes
47
+ * Copyright(c) 2012-2014 TJ Holowaychuk
48
+ * Copyright(c) 2015 Jed Watson
49
+ * MIT Licensed
50
+ */
51
+
52
+ /*!
53
+ * content-disposition
54
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
55
+ * MIT Licensed
56
+ */
57
+
58
+ /*!
59
+ * content-type
60
+ * Copyright(c) 2015 Douglas Christopher Wilson
61
+ * MIT Licensed
62
+ */
63
+
64
+ /*!
65
+ * cookie
66
+ * Copyright(c) 2012-2014 Roman Shtylman
67
+ * Copyright(c) 2015 Douglas Christopher Wilson
68
+ * MIT Licensed
69
+ */
70
+
71
+ /*!
72
+ * depd
73
+ * Copyright(c) 2014 Douglas Christopher Wilson
74
+ * MIT Licensed
75
+ */
76
+
77
+ /*!
78
+ * depd
79
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
80
+ * MIT Licensed
81
+ */
82
+
83
+ /*!
84
+ * depd
85
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
86
+ * MIT Licensed
87
+ */
88
+
89
+ /*!
90
+ * depd
91
+ * Copyright(c) 2014-2018 Douglas Christopher Wilson
92
+ * MIT Licensed
93
+ */
94
+
95
+ /*!
96
+ * depd
97
+ * Copyright(c) 2015 Douglas Christopher Wilson
98
+ * MIT Licensed
99
+ */
100
+
101
+ /*!
102
+ * destroy
103
+ * Copyright(c) 2014 Jonathan Ong
104
+ * Copyright(c) 2015-2022 Douglas Christopher Wilson
105
+ * MIT Licensed
106
+ */
107
+
108
+ /*!
109
+ * ee-first
110
+ * Copyright(c) 2014 Jonathan Ong
111
+ * MIT Licensed
112
+ */
113
+
114
+ /*!
115
+ * encodeurl
116
+ * Copyright(c) 2016 Douglas Christopher Wilson
117
+ * MIT Licensed
118
+ */
119
+
120
+ /*!
121
+ * escape-html
122
+ * Copyright(c) 2012-2013 TJ Holowaychuk
123
+ * Copyright(c) 2015 Andreas Lubbe
124
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
125
+ * MIT Licensed
126
+ */
127
+
128
+ /*!
129
+ * etag
130
+ * Copyright(c) 2014-2016 Douglas Christopher Wilson
131
+ * MIT Licensed
132
+ */
133
+
134
+ /*!
135
+ * express
136
+ * Copyright(c) 2009-2013 TJ Holowaychuk
137
+ * Copyright(c) 2013 Roman Shtylman
138
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
139
+ * MIT Licensed
140
+ */
141
+
142
+ /*!
143
+ * express
144
+ * Copyright(c) 2009-2013 TJ Holowaychuk
145
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
146
+ * MIT Licensed
147
+ */
148
+
149
+ /*!
150
+ * finalhandler
151
+ * Copyright(c) 2014-2022 Douglas Christopher Wilson
152
+ * MIT Licensed
153
+ */
154
+
155
+ /*!
156
+ * forwarded
157
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
158
+ * MIT Licensed
159
+ */
160
+
161
+ /*!
162
+ * fresh
163
+ * Copyright(c) 2012 TJ Holowaychuk
164
+ * Copyright(c) 2016-2017 Douglas Christopher Wilson
165
+ * MIT Licensed
166
+ */
167
+
168
+ /*!
169
+ * http-errors
170
+ * Copyright(c) 2014 Jonathan Ong
171
+ * Copyright(c) 2016 Douglas Christopher Wilson
172
+ * MIT Licensed
173
+ */
174
+
175
+ /*!
176
+ * media-typer
177
+ * Copyright(c) 2014 Douglas Christopher Wilson
178
+ * MIT Licensed
179
+ */
180
+
181
+ /*!
182
+ * merge-descriptors
183
+ * Copyright(c) 2014 Jonathan Ong
184
+ * Copyright(c) 2015 Douglas Christopher Wilson
185
+ * MIT Licensed
186
+ */
187
+
188
+ /*!
189
+ * methods
190
+ * Copyright(c) 2013-2014 TJ Holowaychuk
191
+ * Copyright(c) 2015-2016 Douglas Christopher Wilson
192
+ * MIT Licensed
193
+ */
194
+
195
+ /*!
196
+ * mime-db
197
+ * Copyright(c) 2014 Jonathan Ong
198
+ * Copyright(c) 2015-2022 Douglas Christopher Wilson
199
+ * MIT Licensed
200
+ */
201
+
202
+ /*!
203
+ * mime-types
204
+ * Copyright(c) 2014 Jonathan Ong
205
+ * Copyright(c) 2015 Douglas Christopher Wilson
206
+ * MIT Licensed
207
+ */
208
+
209
+ /*!
210
+ * negotiator
211
+ * Copyright(c) 2012 Federico Romero
212
+ * Copyright(c) 2012-2014 Isaac Z. Schlueter
213
+ * Copyright(c) 2015 Douglas Christopher Wilson
214
+ * MIT Licensed
215
+ */
216
+
217
+ /*!
218
+ * on-finished
219
+ * Copyright(c) 2013 Jonathan Ong
220
+ * Copyright(c) 2014 Douglas Christopher Wilson
221
+ * MIT Licensed
222
+ */
223
+
224
+ /*!
225
+ * parseurl
226
+ * Copyright(c) 2014 Jonathan Ong
227
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
228
+ * MIT Licensed
229
+ */
230
+
231
+ /*!
232
+ * proxy-addr
233
+ * Copyright(c) 2014-2016 Douglas Christopher Wilson
234
+ * MIT Licensed
235
+ */
236
+
237
+ /*!
238
+ * range-parser
239
+ * Copyright(c) 2012-2014 TJ Holowaychuk
240
+ * Copyright(c) 2015-2016 Douglas Christopher Wilson
241
+ * MIT Licensed
242
+ */
243
+
244
+ /*!
245
+ * raw-body
246
+ * Copyright(c) 2013-2014 Jonathan Ong
247
+ * Copyright(c) 2014-2022 Douglas Christopher Wilson
248
+ * MIT Licensed
249
+ */
250
+
251
+ /*!
252
+ * send
253
+ * Copyright(c) 2012 TJ Holowaychuk
254
+ * Copyright(c) 2014-2022 Douglas Christopher Wilson
255
+ * MIT Licensed
256
+ */
257
+
258
+ /*!
259
+ * serve-index (WWA Wing Edition)
260
+ * Copyright(c) 2011 Sencha Inc.
261
+ * Copyright(c) 2011 TJ Holowaychuk
262
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
263
+ * Copyright(c) 2015-2025 WWA Wing Team
264
+ * MIT Licensed
265
+ */
266
+
267
+ /*!
268
+ * serve-static
269
+ * Copyright(c) 2010 Sencha Inc.
270
+ * Copyright(c) 2011 TJ Holowaychuk
271
+ * Copyright(c) 2014-2016 Douglas Christopher Wilson
272
+ * MIT Licensed
273
+ */
274
+
275
+ /*!
276
+ * statuses
277
+ * Copyright(c) 2014 Jonathan Ong
278
+ * Copyright(c) 2016 Douglas Christopher Wilson
279
+ * MIT Licensed
280
+ */
281
+
282
+ /*!
283
+ * toidentifier
284
+ * Copyright(c) 2016 Douglas Christopher Wilson
285
+ * MIT Licensed
286
+ */
287
+
288
+ /*!
289
+ * type-is
290
+ * Copyright(c) 2014 Jonathan Ong
291
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
292
+ * MIT Licensed
293
+ */
294
+
295
+ /*!
296
+ * unpipe
297
+ * Copyright(c) 2015 Douglas Christopher Wilson
298
+ * MIT Licensed
299
+ */
300
+
301
+ /*!
302
+ * vary
303
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
304
+ * MIT Licensed
305
+ */
306
+
307
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
@@ -16,8 +16,8 @@
16
16
  <!-- 下記 div 要素内にデバッグコンソールが出ます。実際に公開する WWA では表示させないよう、次の行は消してください。-->
17
17
  <div id="wwa-debug-console-area"></div>
18
18
  <footer id="copyright">
19
- <p>Internet RPG &quot;<a class="wwa-copyright" href="https://wwajp.com/">World Wide Adventure</a>&quot; 1996-2016 &copy; NAO</p>
20
- <p> &quot;<a class="wwa-copyright" href="https://wwawing.com/">WWA Wing</a>&quot; 2013-2024 &copy; WWA Wing Team</p>
19
+ <p>Internet RPG &quot;<a class="wwa-copyright" href="https://wwajp.com/">World Wide Adventure</a>&quot; 1996-2025 &copy; NAO</p>
20
+ <p> &quot;<a class="wwa-copyright" href="https://wwawing.com/">WWA Wing</a>&quot; 2013-2025 &copy; WWA Wing Team</p>
21
21
  </footer>
22
22
  </body>
23
23
  </html>
@@ -16,8 +16,8 @@
16
16
  <!-- 下記 div 要素内にデバッグコンソールが出ます。実際に公開する WWA では表示させないよう、次の行は消してください。-->
17
17
  <div id="wwa-debug-console-area"></div>
18
18
  <footer id="copyright">
19
- <p>Internet RPG &quot;<a class="wwa-copyright" href="https://wwajp.com/">World Wide Adventure</a>&quot; 1996-2016 &copy; NAO</p>
20
- <p> &quot;<a class="wwa-copyright" href="https://wwawing.com/">WWA Wing</a>&quot; 2013-2024 &copy; WWA Wing Team</p>
19
+ <p>Internet RPG &quot;<a class="wwa-copyright" href="https://wwajp.com/">World Wide Adventure</a>&quot; 1996-2025 &copy; NAO</p>
20
+ <p> &quot;<a class="wwa-copyright" href="https://wwawing.com/">WWA Wing</a>&quot; 2013-2025 &copy; WWA Wing Team</p>
21
21
  </footer>
22
22
  </body>
23
23
  </html>
@@ -16,8 +16,8 @@
16
16
  <!-- 下記 div 要素内にデバッグコンソールが出ます。実際に公開する WWA では表示させないよう、次の行は消してください。-->
17
17
  <div id="wwa-debug-console-area"></div>
18
18
  <footer id="copyright">
19
- <p>Internet RPG &quot;<a class="wwa-copyright" href="https://wwajp.com/">World Wide Adventure</a>&quot; 1996-2016 &copy; NAO</p>
20
- <p> &quot;<a class="wwa-copyright" href="https://wwawing.com/">WWA Wing</a>&quot; 2013-2024 &copy; WWA Wing Team</p>
19
+ <p>Internet RPG &quot;<a class="wwa-copyright" href="https://wwajp.com/">World Wide Adventure</a>&quot; 1996-2025 &copy; NAO</p>
20
+ <p> &quot;<a class="wwa-copyright" href="https://wwawing.com/">WWA Wing</a>&quot; 2013-2025 &copy; WWA Wing Team</p>
21
21
  </footer>
22
22
  </body>
23
23
  </html>
@@ -0,0 +1,134 @@
1
+ /** セーブするごとに呼ばれる関数 */
2
+ function CALL_SAVE() {
3
+ MSG("セーブしました")
4
+ }
5
+
6
+ /** 1フレームごとに呼ばれる関数 */
7
+ function CALL_FRAME() {
8
+ }
9
+
10
+ /** Rボタンを押した際に呼ばれる関数 */
11
+ function CALL_PUSH_R() {
12
+ MSG("R keyが押されました")
13
+ }
14
+
15
+ /** Fボタンを押した際に呼ばれる関数 */
16
+ function CALL_PUSH_F() {
17
+ MSG("F keyが押されました")
18
+ }
19
+
20
+ /** Vボタンを押した際に呼ばれる関数 */
21
+ function CALL_PUSH_V() {
22
+ MSG("V keyが押されました")
23
+ }
24
+
25
+ /** Tボタンを押した際に呼ばれる関数 */
26
+ function CALL_PUSH_T() {
27
+ MSG("T keyが押されました")
28
+ }
29
+
30
+ /** Gボタンを押した際に呼ばれる関数 */
31
+ function CALL_PUSH_G() {
32
+ MSG("G keyが押されました")
33
+ }
34
+
35
+ /** Bボタンを押した際に呼ばれる関数 */
36
+ function CALL_PUSH_B() {
37
+ MSG("B keyが押されました")
38
+ }
39
+
40
+ /** Enterボタンを押した際に呼ばれる関数 */
41
+ function CALL_PUSH_ENTER() {
42
+ MSG("Enter keyが押されました")
43
+ }
44
+
45
+ /** Escボタンを押した際に呼ばれる関数 */
46
+ function CALL_PUSH_ESC() {
47
+ MSG("ESC keyが押されました")
48
+ }
49
+
50
+ /** WWAを開始した際に呼ばれる関数 */
51
+ function CALL_WWA_START() {
52
+ MSG("ゲームを開始します")
53
+ }
54
+
55
+ /** クイックロード時に呼ばれる関数 */
56
+ function CALL_QUICKLOAD() {
57
+ MSG("クイックロードされました")
58
+ }
59
+
60
+ /** リスタート時に呼ばれる関数 */
61
+ function CALL_RESTART() {
62
+ MSG("リスタートされました")
63
+ }
64
+
65
+ /** パスワードロード時に呼ばれる関数 */
66
+ function CALL_PASSWORDLOAD() {
67
+ MSG("パスワードロードされました")
68
+ }
69
+
70
+ /** ゲームオーバー時に呼ばれる関数 */
71
+ function CALL_GAMEOVER() {
72
+ MSG("ゲームオーバーになりました")
73
+ }
74
+
75
+ /**
76
+ * バトルレポートを見た時に呼ばれる関数
77
+ * この関数内で MSG を呼ぶとウィンドウが二重で表示されるので注意してください
78
+ **/
79
+ function CALL_BATTLE_REPORT() {
80
+ MSG("Battle Reportを見ました")
81
+ }
82
+
83
+ /**
84
+ * プレイヤーが動く度に呼ばれる関数
85
+ */
86
+ function CALL_MOVE() {
87
+ }
88
+
89
+ /**
90
+ * カメラ画面が動く度に呼ばれる関数
91
+ * CX と CY でカメラ画面の左上の座標が取得できます
92
+ */
93
+ function CALL_CAMERA_MOVE() {
94
+ }
95
+
96
+ /**
97
+ * 速度変更時に呼ばれる関数
98
+ */
99
+ function CALL_CHANGE_SPEED() {
100
+ MSG("速度変更をしました")
101
+ }
102
+
103
+ /**
104
+ * ジャンプゲートで移動した際に呼ばれる関数
105
+ */
106
+ function CALL_JUMPGATE() {
107
+ MSG("jumpgate移動しました")
108
+ }
109
+
110
+ /**
111
+ * プレイヤーから敵に与えるダメージ計算式
112
+ */
113
+ function CALC_PLAYER_TO_ENEMY_DAMAGE() {
114
+ // 試験的にHPが10000以上なら先頭を即座に打ち切る
115
+ if (HP > 10000) {
116
+ ABORT_BATTLE();
117
+ }
118
+ if (AT >= ENEMY_DF) {
119
+ return AT - ENEMY_DF;
120
+ } else {
121
+ return 0;
122
+ }
123
+ }
124
+
125
+ /**
126
+ * 敵からプレイヤーに与えるダメージ計算式
127
+ */
128
+ function CALC_ENEMY_TO_PLAYER_DAMAGE() {
129
+ if (ENEMY_AT >= DF) {
130
+ return ENEMY_AT - DF;
131
+ } else {
132
+ return 0;
133
+ }
134
+ }
@@ -0,0 +1,38 @@
1
+ function moveRand() {
2
+ AT=RAND(1000);
3
+ JUMPGATE(RAND(100), RAND(100));
4
+ }
5
+
6
+ function makeRandomParts() {
7
+ for(i = 0; i < 5; i=i+1) {
8
+ for(j = 0; j < 5; j=j+1) {
9
+ o[PX-5+(i*2)][PY-5+(j*2)] = RAND(100);
10
+ }
11
+ }
12
+ }
13
+
14
+ function makeRandomPartsAllMaps() {
15
+ for(i = 0; i < 100; i=i+1) {
16
+ for(j = 0; j < 100; j=j+1) {
17
+ if(RAND(3) > 1) {
18
+ o[i][j] = RAND(200);
19
+ }
20
+ if(RAND(3) > 1) {
21
+ m[i+1][j+1] = RAND(100);
22
+ }
23
+ }
24
+ }
25
+ MSG("配置完了");
26
+ }
27
+
28
+ function checkTriggerParts() {
29
+ MSG(`(ユーザー定義関数)\nこのパーツの座標は X:${X} Y:${Y} です。\nパーツ番号は ${ID} で、種類は ${TYPE} です。`);
30
+ }
31
+
32
+ function CALL_SAVE() {
33
+ MSG("セーブしました!")
34
+ }
35
+
36
+ function CALL_FRAME() {
37
+ v[0]=TIME;
38
+ }
@@ -0,0 +1,4 @@
1
+ [
2
+ "./script/index.js",
3
+ "./script/defined.js"
4
+ ]