pxt-common-packages 13.1.5 → 13.1.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/built/common-sim.d.ts +0 -6
- package/built/common-sim.js +0 -23
- package/libs/accelerometer/built/debug/binary.js +8 -8
- package/libs/animation/legacy.ts +2 -0
- package/libs/azureiot/built/debug/binary.js +461 -461
- package/libs/color/built/debug/binary.js +8 -8
- package/libs/color-sensor/built/debug/binary.js +8 -8
- package/libs/controller/built/debug/binary.js +7348 -7348
- package/libs/controller---none/built/debug/binary.js +7328 -7328
- package/libs/core/_locales/core-jsdoc-strings.json +0 -13
- package/libs/core/_locales/core-strings.json +0 -2
- package/libs/core/pxt.json +0 -2
- package/libs/core/shims.d.ts +0 -30
- package/libs/core---samd/_locales/core---samd-jsdoc-strings.json +0 -13
- package/libs/core---samd/_locales/core---samd-strings.json +0 -2
- package/libs/core---samd/built/debug/binary.js +8 -8
- package/libs/core---samd/shims.d.ts +0 -30
- package/libs/datalogger/built/debug/binary.js +63 -63
- package/libs/edge-connector/built/debug/binary.js +8 -8
- package/libs/esp32/built/debug/binary.js +462 -462
- package/libs/game/animation.ts +3 -0
- package/libs/game/built/debug/binary.js +7267 -7267
- package/libs/game/controller.ts +2 -0
- package/libs/game/particleeffects.ts +1 -0
- package/libs/game/scenes.ts +1 -0
- package/libs/game/sprite.ts +2 -0
- package/libs/game/sprites.ts +1 -0
- package/libs/game/tilemap.ts +2 -0
- package/libs/gamepad/built/debug/binary.js +8 -8
- package/libs/keyboard/built/debug/binary.js +8 -8
- package/libs/lcd/built/debug/binary.js +8 -8
- package/libs/light/built/debug/binary.js +8 -8
- package/libs/light-spectrum-sensor/built/debug/binary.js +8 -8
- package/libs/lora/built/debug/binary.js +8 -8
- package/libs/matrix-keypad/built/debug/binary.js +8 -8
- package/libs/microphone/built/debug/binary.js +8 -8
- package/libs/mouse/built/debug/binary.js +8 -8
- package/libs/mqtt/built/debug/binary.js +176 -176
- package/libs/music/built/debug/binary.js +8 -8
- package/libs/net/built/debug/binary.js +176 -176
- package/libs/net-game/built/debug/binary.js +8984 -8984
- package/libs/palette/built/debug/binary.js +7266 -7266
- package/libs/pixel/built/debug/binary.js +8 -8
- package/libs/power/built/debug/binary.js +8 -8
- package/libs/proximity/built/debug/binary.js +8 -8
- package/libs/pulse/built/debug/binary.js +8 -8
- package/libs/radio/built/debug/binary.js +8 -8
- package/libs/radio-broadcast/built/debug/binary.js +8 -8
- package/libs/rotary-encoder/built/debug/binary.js +8 -8
- package/libs/screen/built/debug/binary.js +50 -50
- package/libs/servo/built/debug/binary.js +8 -8
- package/libs/sprite-scaling/built/debug/binary.js +7266 -7266
- package/libs/sprite-scaling/scaling.ts +4 -0
- package/libs/storyboard/built/debug/binary.js +7266 -7266
- package/libs/tests/built/debug/binary.js +15 -15
- package/libs/thermometer/built/debug/binary.js +8 -8
- package/package.json +1 -1
- package/libs/core/keyvaluestorage.cpp +0 -109
- package/libs/core/keyvaluestorage.ts +0 -43
- package/libs/core/sim/keyvaluestorage.ts +0 -15
package/libs/game/controller.ts
CHANGED
|
@@ -183,6 +183,7 @@ namespace controller {
|
|
|
183
183
|
//% blockId="ctrlgame_control_sprite" block="%controller move $sprite=variables_get(mySprite) with buttons||vx $vx vy $vy"
|
|
184
184
|
//% weight=100
|
|
185
185
|
//% expandableArgumentMode="toggle"
|
|
186
|
+
//% sprite.defl=mySprite
|
|
186
187
|
//% vx.defl=100 vy.defl=100
|
|
187
188
|
//% help=controller/move-sprite
|
|
188
189
|
//% group="Multiplayer"
|
|
@@ -433,6 +434,7 @@ namespace controller {
|
|
|
433
434
|
//% blockId="game_control_sprite" block="move $sprite=variables_get(mySprite) with buttons||vx $vx vy $vy"
|
|
434
435
|
//% weight=100
|
|
435
436
|
//% expandableArgumentMode="toggle"
|
|
437
|
+
//% sprite.defl=mySprite
|
|
436
438
|
//% vx.defl=100 vy.defl=100
|
|
437
439
|
//% help=controller/move-sprite
|
|
438
440
|
//% group="Single Player"
|
|
@@ -134,6 +134,7 @@ namespace effects {
|
|
|
134
134
|
*/
|
|
135
135
|
//% blockId=particlesclearparticles block="clear effects on %anchor=variables_get(mySprite)"
|
|
136
136
|
//% blockNamespace=sprites
|
|
137
|
+
//% anchor.defl=mySprite
|
|
137
138
|
//% group="Effects" weight=89
|
|
138
139
|
//% help=effects/clear-particles
|
|
139
140
|
export function clearParticles(anchor: Sprite | particles.ParticleAnchor) {
|
package/libs/game/scenes.ts
CHANGED
|
@@ -139,6 +139,7 @@ namespace scene {
|
|
|
139
139
|
*/
|
|
140
140
|
//% blockId=camerafollow block="camera follow sprite %sprite=variables_get(mySprite)"
|
|
141
141
|
//% group="Camera"
|
|
142
|
+
//% sprite.defl=mySprite
|
|
142
143
|
//% help=scene/camera-follow-sprite
|
|
143
144
|
//% weight=100
|
|
144
145
|
export function cameraFollowSprite(sprite: Sprite) {
|
package/libs/game/sprite.ts
CHANGED
|
@@ -767,6 +767,7 @@ class Sprite extends sprites.BaseSprite {
|
|
|
767
767
|
*/
|
|
768
768
|
//% group="Overlaps"
|
|
769
769
|
//% blockId=spriteoverlapswith block="%sprite(mySprite) overlaps with %other=variables_get(otherSprite)"
|
|
770
|
+
//% other.defl=otherSprite
|
|
770
771
|
//% help=sprites/sprite/overlaps-with
|
|
771
772
|
//% weight=90
|
|
772
773
|
overlapsWith(other: Sprite): boolean {
|
|
@@ -1015,6 +1016,7 @@ class Sprite extends sprites.BaseSprite {
|
|
|
1015
1016
|
//% group="Physics" weight=10
|
|
1016
1017
|
//% blockId=spriteFollowOtherSprite
|
|
1017
1018
|
//% block="set %sprite(myEnemy) follow %target=variables_get(mySprite) || with speed %speed"
|
|
1019
|
+
//% target.defl=mySprite
|
|
1018
1020
|
//% help=sprites/sprite/follow
|
|
1019
1021
|
follow(target: Sprite, speed = 100, turnRate = 400) {
|
|
1020
1022
|
if (target === this) return;
|
package/libs/game/sprites.ts
CHANGED
|
@@ -125,6 +125,7 @@ namespace sprites {
|
|
|
125
125
|
//% blockId=spritescreateprojectilefromsprite block="projectile %img=screen_image_picker from %sprite=variables_get(mySprite) with vx %vx vy %vy"
|
|
126
126
|
//% vx.shadow=spriteSpeedPicker
|
|
127
127
|
//% vy.shadow=spriteSpeedPicker
|
|
128
|
+
//% sprite.defl=mySprite
|
|
128
129
|
//% weight=99 help=sprites/create-projectile-from-sprite
|
|
129
130
|
//% blockSetVariable=projectile
|
|
130
131
|
//% inlineInputMode=inline
|
package/libs/game/tilemap.ts
CHANGED
|
@@ -744,6 +744,7 @@ namespace tiles {
|
|
|
744
744
|
* @param loc
|
|
745
745
|
*/
|
|
746
746
|
//% blockId=mapplaceontile block="place $sprite=variables_get(mySprite) on top of $loc"
|
|
747
|
+
//% sprite.defl=mySprite
|
|
747
748
|
//% loc.shadow=mapgettile
|
|
748
749
|
//% blockNamespace="scene" group="Tilemap Operations" blockGap=8
|
|
749
750
|
//% help=tiles/place-on-tile
|
|
@@ -759,6 +760,7 @@ namespace tiles {
|
|
|
759
760
|
* @param tile
|
|
760
761
|
*/
|
|
761
762
|
//% blockId=mapplaceonrandomtile block="place $sprite=variables_get(mySprite) on top of random $tile"
|
|
763
|
+
//% sprite.defl=mySprite
|
|
762
764
|
//% tile.shadow=tileset_tile_picker
|
|
763
765
|
//% tile.decompileIndirectFixedInstances=true
|
|
764
766
|
//% blockNamespace="scene" group="Tilemap Operations"
|
|
@@ -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___P24355(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___24599 = (undefined);
|
|
70
|
+
globals._pollEventQueue___24612 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P24355.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"gamepad.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P24355.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P24355_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P24355, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P24467_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P24355
|
|
91
91
|
})
|
|
@@ -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___P29623(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___29867 = (undefined);
|
|
70
|
+
globals._pollEventQueue___29880 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P29623.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keyboard.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P29623.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P29623_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P29623, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P29759_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P29623
|
|
91
91
|
})
|
|
@@ -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___P49368(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___49612 = (undefined);
|
|
70
|
+
globals._pollEventQueue___49625 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P49368.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"characterlcd.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P49368.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P49368_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P49368, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P49528_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P49368
|
|
91
91
|
})
|
|
@@ -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___P5332(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___5576 = (undefined);
|
|
70
|
+
globals._pollEventQueue___5589 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P5332.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P5332.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P5332_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P5332, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P5356_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P5332
|
|
91
91
|
})
|
|
@@ -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___P100627(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___100871 = (undefined);
|
|
70
|
+
globals._pollEventQueue___100884 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P100627.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"tsl2591.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P100627.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P100627_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P100627, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P100875_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P100627
|
|
91
91
|
})
|
|
@@ -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___P60651(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___60895 = (undefined);
|
|
70
|
+
globals._pollEventQueue___60908 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P60651.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"lora.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P60651.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P60651_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P60651, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P60859_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P60651
|
|
91
91
|
})
|
|
@@ -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___P196981(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___197225 = (undefined);
|
|
70
|
+
globals._pollEventQueue___197238 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P196981.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keypad.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P196981.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P196981_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P196981, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P197357_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P196981
|
|
91
91
|
})
|
|
@@ -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___P9164(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___9408 = (undefined);
|
|
70
|
+
globals._pollEventQueue___9421 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P9164.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P9164.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P9164_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P9164, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P9204_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P9164
|
|
91
91
|
})
|
|
@@ -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___P27874(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,19 +66,19 @@ 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___28118 = (undefined);
|
|
70
|
+
globals._pollEventQueue___28131 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P27874.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"mouse.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P27874.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P27874_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P27874, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
@@ -87,5 +87,5 @@ function _main___P28002_mk(s) {
|
|
|
87
87
|
|
|
88
88
|
const breakpoints = setupDebugger(1, [])
|
|
89
89
|
|
|
90
|
-
return
|
|
90
|
+
return _main___P27874
|
|
91
91
|
})
|