pxt-common-packages 13.1.1 → 13.1.4
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/libs/accelerometer/built/debug/binary.js +9 -10
- package/libs/azureiot/built/debug/binary.js +462 -497
- package/libs/cable/_locales/cable-strings.json +1 -0
- package/libs/color/built/debug/binary.js +9 -10
- package/libs/color-sensor/built/debug/binary.js +9 -10
- package/libs/controller/built/debug/binary.js +7414 -7952
- package/libs/controller---none/built/debug/binary.js +7394 -7930
- package/libs/core/built/debug/binary.js +1 -2
- package/libs/core---samd/built/debug/binary.js +9 -10
- package/libs/datalogger/built/debug/binary.js +64 -72
- package/libs/edge-connector/built/debug/binary.js +9 -10
- package/libs/esp32/built/debug/binary.js +463 -498
- package/libs/game/_locales/game-strings.json +8 -0
- package/libs/game/built/debug/binary.js +7333 -7866
- package/libs/game/physics.ts +1 -0
- package/libs/game/sprite.d.ts +1 -0
- package/libs/game/sprite.ts +34 -0
- package/libs/game/tilemap.ts +8 -8
- package/libs/gamepad/built/debug/binary.js +9 -10
- package/libs/infrared/_locales/infrared-strings.json +1 -0
- package/libs/keyboard/built/debug/binary.js +9 -10
- package/libs/lcd/built/debug/binary.js +9 -10
- package/libs/light/built/debug/binary.js +9 -10
- package/libs/light-spectrum-sensor/built/debug/binary.js +9 -10
- package/libs/lora/built/debug/binary.js +9 -10
- package/libs/matrix-keypad/built/debug/binary.js +9 -10
- package/libs/microphone/built/debug/binary.js +9 -10
- package/libs/mouse/built/debug/binary.js +9 -10
- package/libs/mqtt/built/debug/binary.js +177 -193
- package/libs/music/built/debug/binary.js +9 -10
- package/libs/net/built/debug/binary.js +177 -193
- package/libs/net-game/built/debug/binary.js +9050 -9696
- package/libs/palette/built/debug/binary.js +7332 -7865
- package/libs/pixel/built/debug/binary.js +9 -10
- package/libs/power/built/debug/binary.js +9 -10
- package/libs/proximity/built/debug/binary.js +9 -10
- package/libs/pulse/built/debug/binary.js +9 -10
- package/libs/radio/_locales/radio-strings.json +5 -0
- package/libs/radio/built/debug/binary.js +9 -10
- package/libs/radio-broadcast/built/debug/binary.js +9 -10
- package/libs/rotary-encoder/built/debug/binary.js +9 -10
- package/libs/screen/built/debug/binary.js +51 -58
- package/libs/servo/built/debug/binary.js +9 -10
- package/libs/sprite-scaling/built/debug/binary.js +7332 -7865
- package/libs/storyboard/built/debug/binary.js +7332 -7865
- package/libs/tests/built/debug/binary.js +16 -17
- package/libs/thermometer/built/debug/binary.js +9 -10
- package/package.json +4 -4
package/libs/game/physics.ts
CHANGED
|
@@ -706,6 +706,7 @@ class ArcadePhysicsEngine extends PhysicsEngine {
|
|
|
706
706
|
|
|
707
707
|
// Attempt to resolve clipping by moving the sprite slightly up / down / left / right
|
|
708
708
|
protected canResolveClipping(s: Sprite, tm: tiles.TileMap) {
|
|
709
|
+
if (s.flags & sprites.Flag.GhostThroughWalls) return false;
|
|
709
710
|
if (!s.isStatic()) s.setHitbox();
|
|
710
711
|
const hbox = s._hitbox;
|
|
711
712
|
const sz = 1 << tm.scale;
|
package/libs/game/sprite.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare interface Sprite {
|
|
2
2
|
//% group="Physics" blockSetVariable="mySprite"
|
|
3
3
|
//% blockCombine block="z (depth)"
|
|
4
|
+
//% help=sprites/sprite/z
|
|
4
5
|
z: number;
|
|
5
6
|
// this is defined in the superclass BaseSprite, so it needs to be declared here to show up
|
|
6
7
|
// in the blocks for sprites.
|
package/libs/game/sprite.ts
CHANGED
|
@@ -109,97 +109,115 @@ class Sprite extends sprites.BaseSprite {
|
|
|
109
109
|
|
|
110
110
|
//% group="Physics" blockSetVariable="mySprite"
|
|
111
111
|
//% blockCombine block="x" callInDebugger
|
|
112
|
+
//% blockCombineGetHelp=sprites/sprite/x#get
|
|
112
113
|
get x(): number {
|
|
113
114
|
return Fx.toFloat(Fx.add(this._x, Fx.div(this._width, Fx.twoFx8)));
|
|
114
115
|
}
|
|
115
116
|
//% group="Physics" blockSetVariable="mySprite"
|
|
116
117
|
//% blockCombine block="x"
|
|
118
|
+
//% blockCombineSetHelp=sprites/sprite/x#set
|
|
117
119
|
set x(v: number) {
|
|
118
120
|
this.left = v - (this.width / 2)
|
|
119
121
|
}
|
|
120
122
|
|
|
121
123
|
//% group="Physics" blockSetVariable="mySprite"
|
|
122
124
|
//% blockCombine block="y" callInDebugger
|
|
125
|
+
//% blockCombineGetHelp=sprites/sprite/y#get
|
|
123
126
|
get y(): number {
|
|
124
127
|
return Fx.toFloat(Fx.add(this._y, Fx.div(this._height, Fx.twoFx8)));
|
|
125
128
|
}
|
|
126
129
|
//% group="Physics" blockSetVariable="mySprite"
|
|
127
130
|
//% blockCombine block="y"
|
|
131
|
+
//% blockCombineSetHelp=sprites/sprite/y#set
|
|
128
132
|
set y(v: number) {
|
|
129
133
|
this.top = v - (this.height / 2)
|
|
130
134
|
}
|
|
131
135
|
|
|
132
136
|
//% group="Physics" blockSetVariable="mySprite"
|
|
133
137
|
//% blockCombine block="vx (velocity x)" callInDebugger
|
|
138
|
+
//% blockCombineGetHelp=sprites/sprite/vx#get
|
|
134
139
|
get vx(): number {
|
|
135
140
|
return Fx.toFloat(this._vx)
|
|
136
141
|
}
|
|
137
142
|
//% group="Physics" blockSetVariable="mySprite"
|
|
138
143
|
//% blockCombine block="vx (velocity x)"
|
|
144
|
+
//% blockCombineSetHelp=sprites/sprite/vx#set
|
|
139
145
|
set vx(v: number) {
|
|
140
146
|
this._vx = Fx8(v)
|
|
141
147
|
}
|
|
142
148
|
|
|
143
149
|
//% group="Physics" blockSetVariable="mySprite"
|
|
144
150
|
//% blockCombine block="vy (velocity y)" callInDebugger
|
|
151
|
+
//% blockCombineGetHelp=sprites/sprite/vy#get
|
|
145
152
|
get vy(): number {
|
|
146
153
|
return Fx.toFloat(this._vy)
|
|
147
154
|
}
|
|
148
155
|
//% group="Physics" blockSetVariable="mySprite"
|
|
149
156
|
//% blockCombine block="vy (velocity y)"
|
|
157
|
+
//% blockCombineSetHelp=sprites/sprite/vy#set
|
|
150
158
|
set vy(v: number) {
|
|
151
159
|
this._vy = Fx8(v)
|
|
152
160
|
}
|
|
153
161
|
|
|
154
162
|
//% group="Physics" blockSetVariable="mySprite"
|
|
155
163
|
//% blockCombine block="ax (acceleration x)" callInDebugger
|
|
164
|
+
//% blockCombineGetHelp=sprites/sprite/ax#get
|
|
156
165
|
get ax(): number {
|
|
157
166
|
return Fx.toFloat(this._ax)
|
|
158
167
|
}
|
|
159
168
|
//% group="Physics" blockSetVariable="mySprite"
|
|
160
169
|
//% blockCombine block="ax (acceleration x)"
|
|
170
|
+
//% blockCombineSetHelp=sprites/sprite/ax#set
|
|
161
171
|
set ax(v: number) {
|
|
162
172
|
this._ax = Fx8(v)
|
|
163
173
|
}
|
|
164
174
|
|
|
165
175
|
//% group="Physics" blockSetVariable="mySprite"
|
|
166
176
|
//% blockCombine block="ay (acceleration y)" callInDebugger
|
|
177
|
+
//% blockCombineGetHelp=sprites/sprite/ay#get
|
|
167
178
|
get ay(): number {
|
|
168
179
|
return Fx.toFloat(this._ay)
|
|
169
180
|
}
|
|
170
181
|
//% group="Physics" blockSetVariable="mySprite"
|
|
171
182
|
//% blockCombine block="ay (acceleration y)"
|
|
183
|
+
//% blockCombineSetHelp=sprites/sprite/ay#set
|
|
172
184
|
set ay(v: number) {
|
|
173
185
|
this._ay = Fx8(v)
|
|
174
186
|
}
|
|
175
187
|
|
|
176
188
|
//% group="Physics" blockSetVariable="mySprite"
|
|
177
189
|
//% blockCombine block="fx (friction x)" callInDebugger
|
|
190
|
+
//% blockCombineGetHelp=sprites/sprite/fx#get
|
|
178
191
|
get fx(): number {
|
|
179
192
|
return Fx.toFloat(this._fx)
|
|
180
193
|
}
|
|
181
194
|
//% group="Physics" blockSetVariable="mySprite"
|
|
182
195
|
//% blockCombine block="fx (friction x)"
|
|
196
|
+
//% blockCombineSetHelp=sprites/sprite/fx#set
|
|
183
197
|
set fx(v: number) {
|
|
184
198
|
this._fx = Fx8(Math.max(0, v))
|
|
185
199
|
}
|
|
186
200
|
//% group="Physics" blockSetVariable="mySprite"
|
|
187
201
|
//% blockCombine block="fy (friction y)" callInDebugger
|
|
202
|
+
//% blockCombineGetHelp=sprites/sprite/fy#get
|
|
188
203
|
get fy(): number {
|
|
189
204
|
return Fx.toFloat(this._fy)
|
|
190
205
|
}
|
|
191
206
|
//% group="Physics" blockSetVariable="mySprite"
|
|
192
207
|
//% blockCombine block="fy (friction y)"
|
|
208
|
+
//% blockCombineSetHelp=sprites/sprite/fy#set
|
|
193
209
|
set fy(v: number) {
|
|
194
210
|
this._fy = Fx8(Math.max(0, v))
|
|
195
211
|
}
|
|
196
212
|
//% group="Physics" blockSetVariable="mySprite"
|
|
197
213
|
//% blockCombine block="sx (scale x)" callInDebugger
|
|
214
|
+
//% blockCombineGetHelp=sprites/sprite/sx#get
|
|
198
215
|
get sx(): number {
|
|
199
216
|
return Fx.toFloat(this._sx);
|
|
200
217
|
}
|
|
201
218
|
//% group="Physics" blockSetVariable="mySprite"
|
|
202
219
|
//% blockCombine block="sx (scale x)"
|
|
220
|
+
//% blockCombineSetHelp=sprites/sprite/sx#set
|
|
203
221
|
set sx(v: number) {
|
|
204
222
|
const y = this.y;
|
|
205
223
|
const x = this.x;
|
|
@@ -210,11 +228,13 @@ class Sprite extends sprites.BaseSprite {
|
|
|
210
228
|
}
|
|
211
229
|
//% group="Physics" blockSetVariable="mySprite"
|
|
212
230
|
//% blockCombine block="sy (scale y)" callInDebugger
|
|
231
|
+
//% blockCombineGetHelp=sprites/sprite/sy#get
|
|
213
232
|
get sy(): number {
|
|
214
233
|
return Fx.toFloat(this._sy);
|
|
215
234
|
}
|
|
216
235
|
//% group="Physics" blockSetVariable="mySprite"
|
|
217
236
|
//% blockCombine block="sy (scale y)"
|
|
237
|
+
//% blockCombineSetHelp=sprites/sprite/sy#set
|
|
218
238
|
set sy(v: number) {
|
|
219
239
|
const y = this.y;
|
|
220
240
|
const x = this.x;
|
|
@@ -226,11 +246,13 @@ class Sprite extends sprites.BaseSprite {
|
|
|
226
246
|
|
|
227
247
|
//% group="Physics" blockSetVariable="mySprite"
|
|
228
248
|
//% blockCombine block="scale" callInDebugger
|
|
249
|
+
//% blockCombineGetHelp=sprites/sprite/scale#get
|
|
229
250
|
get scale(): number {
|
|
230
251
|
return Math.max(this.sx, this.sy);
|
|
231
252
|
}
|
|
232
253
|
//% group="Physics" blockSetVariable="mySprite"
|
|
233
254
|
//% blockCombine block="scale"
|
|
255
|
+
//% blockCombineGetHelp=sprites/sprite/scale#set
|
|
234
256
|
set scale(v: number) {
|
|
235
257
|
this.sx = this.sy = v;
|
|
236
258
|
}
|
|
@@ -297,6 +319,7 @@ class Sprite extends sprites.BaseSprite {
|
|
|
297
319
|
*/
|
|
298
320
|
//% group="Physics" blockSetVariable="mySprite"
|
|
299
321
|
//% blockCombine block="lifespan"
|
|
322
|
+
//% help=sprites/sprite/lifespan
|
|
300
323
|
lifespan: number;
|
|
301
324
|
private _image: Image;
|
|
302
325
|
private _obstacles: sprites.Obstacle[];
|
|
@@ -361,6 +384,7 @@ class Sprite extends sprites.BaseSprite {
|
|
|
361
384
|
//% group="Image"
|
|
362
385
|
//% blockId=spriteimage block="%sprite(mySprite) image"
|
|
363
386
|
//% weight=8 help=sprites/sprite/image
|
|
387
|
+
//% blockCombineGetHelp=sprites/sprite/image
|
|
364
388
|
get image(): Image {
|
|
365
389
|
return this._image;
|
|
366
390
|
}
|
|
@@ -421,22 +445,26 @@ class Sprite extends sprites.BaseSprite {
|
|
|
421
445
|
|
|
422
446
|
//% group="Physics" blockSetVariable="mySprite"
|
|
423
447
|
//% blockCombine block="width" callInDebugger
|
|
448
|
+
//% blockCombineGetHelp=sprites/sprite/width
|
|
424
449
|
get width() {
|
|
425
450
|
return Fx.toFloat(this._width);
|
|
426
451
|
}
|
|
427
452
|
//% group="Physics" blockSetVariable="mySprite"
|
|
428
453
|
//% blockCombine block="height" callInDebugger
|
|
454
|
+
//% blockCombineGetHelp=sprites/sprite/height
|
|
429
455
|
get height() {
|
|
430
456
|
return Fx.toFloat(this._height);
|
|
431
457
|
}
|
|
432
458
|
|
|
433
459
|
//% group="Physics" blockSetVariable="mySprite"
|
|
434
460
|
//% blockCombine block="left" callInDebugger
|
|
461
|
+
//% blockCombineGetHelp=sprites/sprite/left#get
|
|
435
462
|
get left() {
|
|
436
463
|
return Fx.toFloat(this._x)
|
|
437
464
|
}
|
|
438
465
|
//% group="Physics" blockSetVariable="mySprite"
|
|
439
466
|
//% blockCombine block="left"
|
|
467
|
+
//% blockCombineSetHelp=sprites/sprite/left#set
|
|
440
468
|
set left(value: number) {
|
|
441
469
|
const physics = game.currentScene().physicsEngine;
|
|
442
470
|
physics.moveSprite(
|
|
@@ -451,22 +479,26 @@ class Sprite extends sprites.BaseSprite {
|
|
|
451
479
|
|
|
452
480
|
//% group="Physics" blockSetVariable="mySprite"
|
|
453
481
|
//% blockCombine block="right" callInDebugger
|
|
482
|
+
//% blockCombineGetHelp=sprites/sprite/righty#get
|
|
454
483
|
get right() {
|
|
455
484
|
return this.left + this.width
|
|
456
485
|
}
|
|
457
486
|
//% group="Physics" blockSetVariable="mySprite"
|
|
458
487
|
//% blockCombine block="right"
|
|
488
|
+
//% blockCombineSetHelp=sprites/sprite/right#set
|
|
459
489
|
set right(value: number) {
|
|
460
490
|
this.left = value - this.width
|
|
461
491
|
}
|
|
462
492
|
|
|
463
493
|
//% group="Physics" blockSetVariable="mySprite"
|
|
464
494
|
//% blockCombine block="top" callInDebugger
|
|
495
|
+
//% blockCombineGetHelp=sprites/sprite/top#get
|
|
465
496
|
get top() {
|
|
466
497
|
return Fx.toFloat(this._y);
|
|
467
498
|
}
|
|
468
499
|
//% group="Physics" blockSetVariable="mySprite"
|
|
469
500
|
//% blockCombine block="top"
|
|
501
|
+
//% blockCombineSetHelp=sprites/sprite/top#set
|
|
470
502
|
set top(value: number) {
|
|
471
503
|
const physics = game.currentScene().physicsEngine;
|
|
472
504
|
physics.moveSprite(
|
|
@@ -481,11 +513,13 @@ class Sprite extends sprites.BaseSprite {
|
|
|
481
513
|
|
|
482
514
|
//% group="Physics" blockSetVariable="mySprite"
|
|
483
515
|
//% blockCombine block="bottom" callInDebugger
|
|
516
|
+
//% blockCombineGetHelp=sprites/sprite/bottom#get
|
|
484
517
|
get bottom() {
|
|
485
518
|
return this.top + this.height;
|
|
486
519
|
}
|
|
487
520
|
//% group="Physics" blockSetVariable="mySprite"
|
|
488
521
|
//% blockCombine block="bottom"
|
|
522
|
+
//% blockCombineSetHelp=sprites/sprite/bottom#set
|
|
489
523
|
set bottom(value: number) {
|
|
490
524
|
this.top = value - this.height;
|
|
491
525
|
}
|
package/libs/game/tilemap.ts
CHANGED
|
@@ -30,21 +30,21 @@ namespace tiles {
|
|
|
30
30
|
|
|
31
31
|
//% group="Locations" blockSetVariable="location"
|
|
32
32
|
//% blockCombine block="column"
|
|
33
|
-
//% weight=100
|
|
33
|
+
//% weight=100 blockCombineGetHelp=tiles/location
|
|
34
34
|
get column() {
|
|
35
35
|
return this._col;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
//% group="Locations" blockSetVariable="location"
|
|
39
39
|
//% blockCombine block="row"
|
|
40
|
-
//% weight=100
|
|
40
|
+
//% weight=100 blockCombineGetHelp=tiles/location
|
|
41
41
|
get row() {
|
|
42
42
|
return this._row;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
//% group="Locations" blockSetVariable="location"
|
|
46
46
|
//% blockCombine block="x"
|
|
47
|
-
//% weight=100
|
|
47
|
+
//% weight=100 blockCombineGetHelp=tiles/location
|
|
48
48
|
get x(): number {
|
|
49
49
|
const scale = this.tileMap.scale;
|
|
50
50
|
return (this._col << scale) + (1 << (scale - 1));
|
|
@@ -52,7 +52,7 @@ namespace tiles {
|
|
|
52
52
|
|
|
53
53
|
//% group="Locations" blockSetVariable="location"
|
|
54
54
|
//% blockCombine block="y"
|
|
55
|
-
//% weight=100
|
|
55
|
+
//% weight=100 blockCombineGetHelp=tiles/location
|
|
56
56
|
get y(): number {
|
|
57
57
|
const scale = this.tileMap.scale;
|
|
58
58
|
return (this._row << scale) + (1 << (scale - 1));
|
|
@@ -60,28 +60,28 @@ namespace tiles {
|
|
|
60
60
|
|
|
61
61
|
//% group="Locations" blockSetVariable="location"
|
|
62
62
|
//% blockCombine block="left"
|
|
63
|
-
//% weight=100
|
|
63
|
+
//% weight=100 blockCombineGetHelp=tiles/location
|
|
64
64
|
get left(): number {
|
|
65
65
|
return (this._col << this.tileMap.scale);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
//% group="Locations" blockSetVariable="location"
|
|
69
69
|
//% blockCombine block="top"
|
|
70
|
-
//% weight=100
|
|
70
|
+
//% weight=100 blockCombineGetHelp=tiles/location
|
|
71
71
|
get top(): number {
|
|
72
72
|
return (this._row << this.tileMap.scale);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
//% group="Locations" blockSetVariable="location"
|
|
76
76
|
//% blockCombine block="right"
|
|
77
|
-
//% weight=100
|
|
77
|
+
//% weight=100 blockCombineGetHelp=tiles/location
|
|
78
78
|
get right(): number {
|
|
79
79
|
return this.left + (1 << this.tileMap.scale);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
//% group="Locations" blockSetVariable="location"
|
|
83
83
|
//% blockCombine block="bottom"
|
|
84
|
-
//% weight=100
|
|
84
|
+
//% weight=100 blockCombineGetHelp=tiles/location
|
|
85
85
|
get bottom(): number {
|
|
86
86
|
return this.top + (1 << this.tileMap.scale);
|
|
87
87
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2899 new=27.15% cached=0.00% other=72.85%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P24467(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___24711 = (undefined);
|
|
70
|
+
globals._pollEventQueue___24724 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P24467.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"gamepad.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P24467.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P24467_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P24467, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P24467
|
|
92
91
|
})
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"network.infraredSendNumber|block": "infrared send number %value",
|
|
3
3
|
"network.onInfraredPacketReceived|block": "on infrared received",
|
|
4
4
|
"network.onInfraredReceivedNumber|block": "on infrared received",
|
|
5
|
+
"network.onInfraredReceivedNumber|handlerParam|num": "num",
|
|
5
6
|
"network|block": "network",
|
|
6
7
|
"{id:category}InfraredPacket": "InfraredPacket",
|
|
7
8
|
"{id:category}Network": "Network",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2901 new=27.16% cached=0.00% other=72.84%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P29759(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___30003 = (undefined);
|
|
70
|
+
globals._pollEventQueue___30016 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P29759.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keyboard.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P29759.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P29759_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P29759, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P29759
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2900 new=27.31% cached=0.00% other=72.69%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P49528(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___49772 = (undefined);
|
|
70
|
+
globals._pollEventQueue___49785 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P49528.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"characterlcd.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P49528.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P49528_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P49528, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P49528
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2897 new=27.20% cached=0.00% other=72.80%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P5356(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___5600 = (undefined);
|
|
70
|
+
globals._pollEventQueue___5613 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P5356.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P5356.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P5356_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P5356, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P5356
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2921 new=27.18% cached=0.00% other=72.82%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P100875(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___101119 = (undefined);
|
|
70
|
+
globals._pollEventQueue___101132 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P100875.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"tsl2591.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P100875.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P100875_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P100875, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P100875
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2893 new=27.10% cached=0.00% other=72.90%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P60859(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___61103 = (undefined);
|
|
70
|
+
globals._pollEventQueue___61116 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P60859.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"lora.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P60859.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P60859_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P60859, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P60859
|
|
92
91
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2908 new=27.27% cached=0.00% other=72.73%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P197357(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___197601 = (undefined);
|
|
70
|
+
globals._pollEventQueue___197614 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P197357.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keypad.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P197357.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P197357_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P197357, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P197357
|
|
92
91
|
})
|