[oden] Garbage assets, need to rewrite to IO

This commit is contained in:
John Doty 2023-06-27 17:16:37 -07:00
parent 75fcc427ac
commit 17805fa4a6
17 changed files with 240 additions and 94 deletions

View file

@ -51,3 +51,12 @@ export function spr(
sh = sh || h;
core.spr(x, y, w, h, sx, sy, sw, sh);
}
/**
* Set the specified texture as the current texture for calls to e.g. spr().
*
* @param id - The identifier of the texture to use.
*/
export function use_texture(id: number) {
core.use_texture(id);
}