some tweaks
This commit is contained in:
@ -18446,7 +18446,6 @@ var require_veryRawRenderCart = __commonJS((exports, module) => {
|
||||
let pico8_mouse;
|
||||
var _cartname = cartNames;
|
||||
var _cartdat = cartDatas.flat();
|
||||
console.log(_cartdat);
|
||||
let codo_key_buffer;
|
||||
let tempDouble;
|
||||
let tempI64;
|
||||
@ -18457,6 +18456,8 @@ var require_veryRawRenderCart = __commonJS((exports, module) => {
|
||||
let el;
|
||||
let button_i;
|
||||
let codo_mounted_filesystem;
|
||||
let codo_command;
|
||||
let jsString;
|
||||
let dx;
|
||||
let dy;
|
||||
let stat;
|
||||
@ -133282,6 +133283,12 @@ var require_veryRawRenderCart = __commonJS((exports, module) => {
|
||||
},
|
||||
set pico8_mouse(val) {
|
||||
pico8_mouse = val;
|
||||
},
|
||||
get codo_command() {
|
||||
return codo_command;
|
||||
},
|
||||
set codo_command(val) {
|
||||
codo_command = val;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
@ -22,6 +22,7 @@ type RenderCart = (Module: {canvas: HTMLCanvasElement}, cartNames: string[], car
|
||||
pico8_gpio?: number[]; // should be 128 length
|
||||
pico8_audio_context?: AudioContext;
|
||||
pico8_mouse?: [number, number, number];
|
||||
codo_command?: number;
|
||||
}
|
||||
|
||||
const typedRenderCart = (window as any).P8 as RenderCart;
|
||||
|
@ -138,6 +138,7 @@ export const makePicoConsole = async (props: {
|
||||
handle.p8_dropped_cart_name = cart.name;
|
||||
// TODO: make sure this is a dataURL first, and if not, load it and then pass it in
|
||||
// handle.p8_dropped_cart = cart.src;
|
||||
// handle.codo_command = 9;
|
||||
},
|
||||
modDragOver: (Module as any).pico8DragOver,
|
||||
modDragStop: (Module as any).pico8DragStop,
|
||||
|
@ -12,8 +12,6 @@ window.P8 = function (Module, cartNames, cartDatas) {
|
||||
var _cartname=cartNames;
|
||||
var _cartdat=cartDatas.flat();
|
||||
|
||||
console.log(_cartdat);
|
||||
|
||||
let codo_key_buffer;
|
||||
let tempDouble;
|
||||
let tempI64;
|
||||
@ -24,6 +22,8 @@ window.P8 = function (Module, cartNames, cartDatas) {
|
||||
let el;
|
||||
let button_i;
|
||||
let codo_mounted_filesystem;
|
||||
let codo_command;
|
||||
let jsString;
|
||||
|
||||
let dx;
|
||||
let dy;
|
||||
@ -116,5 +116,11 @@ window.P8 = function (Module, cartNames, cartDatas) {
|
||||
set pico8_mouse(val) {
|
||||
pico8_mouse = val;
|
||||
},
|
||||
get codo_command() {
|
||||
return codo_command;
|
||||
},
|
||||
set codo_command(val) {
|
||||
codo_command = val;
|
||||
},
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user