Window management
-
SetupWindow(w, h, title)
Sets the upwindow
-
SetupFullscreen(w, h)
Sets the upfullscreen
- Update()
- Shutdown()
- Print(s)
- ShowMessageDialog(message, title)
- Sleep(milliseconds)
-
ReadLine()
Reads Line data
-
GetTime()
Gets the time
-
GetFPS()
Gets the fps
-
GetFrameTime()
Gets the frametime
Input
- KeyDown(key)
- KeyTrigger(key)
- MouseX()
- MouseY()
- MouseLock()
- MouseDeltaX()
- MouseDeltaY()
- MouseDown(btn)
- MouseTrigger(btn)
- JoystickCount()
- JoystickAxisCount(joystick)
- JoystickButtonCount(joystick)
- JoystickAxis(joystick, axis)
- JoystickButtonDown(joystick, button)
- JoystickButtonTrigger(joystick, button)
File system
-
WriteString(filename, string)
Writes String data
-
ReadString(filename)
Reads String data
Current framebuffer
- PushFramebuffer(framebuffer)
- PopFramebuffer()
- Clear(r=0, g=0, b=0, a=0, depth=1, stencil=0)
- ClearColor(r=0, g=0, b=0, a=0)
- ClearDepth(depth=1)
- ClearStencil(value=0)