#include <pico.h>
int main() {
while (1) {
int timeout = 16, accum = 0;
while (timeout > 0) {
SDL_Event event;
if (event.type == SDL_QUIT) {
break;
}
timeout -= delta;
accum += delta;
}
float delta = 0.001f * accum;
}
return 0;
}
void pico_init(int on)
Initializes and terminates pico.
void pico_output_clear(void)
Clears screen with color set by pico_set_color_clear.
void pico_output_present(void)
Shows what has been drawn onto the screen. Only does anything on expert mode.
Uint32 pico_get_ticks(void)
Gets the amount of ticks that passed since pico was initialized.