16 lines
557 B
TypeScript
16 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
|
||
|
}
|
||
|
}
|
||
|
|