first commit

This commit is contained in:
2021-09-25 19:13:55 +02:00
commit 5f4b111d06
75 changed files with 29775 additions and 0 deletions

27
main.cpp Normal file
View File

@@ -0,0 +1,27 @@
#include "mini.h"
int current_editor = 0;
void do_terminal() {
cls(0);
pdebug();
}
void do_sprite_editor() {
cls();
sspr(0, 0, 8, 8, 8, 8, 64, 64);
}
void loop() {
if (btnp(KEY_TAB)) {
current_editor = (++current_editor)%5;
}
switch(current_editor) {
case 0:
do_terminal();
break;
case 1:
do_sprite_editor();
break;
}
}