WiiDuktape/types.d.ts
Fries 3362687710 get the bird to draw.
the bird now draws! i also got a font loaded too.
2024-06-21 00:45:28 -07:00

15 lines
557 B
TypeScript

declare interface RGBA {}
declare interface FilePtr {}
declare interface GRRLibTexture {}
declare namespace wii {
function exit(): void
function get_file(filename: string) : FilePtr
namespace grrlib {
function load_texture(file: FilePtr) : GRRLibTexture
function fill_screen(color: RGBA): void
function draw_img(xPos: number, yPos: number, texture: GRRLibTexture, degrees: number, scaleX: number, scaleY: number, color: RGBA) : void
function rectangle(x: number, y: number, width: number, height: number, color: RGBA, filled: bool) : void
}
}