Extract standalone Playground SDK source foundation

This commit is contained in:
CRTkafa 2026-10-02 16:54:36 +00:00
commit d49c22a06c
3567 changed files with 1657902 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#include "core/vfs.h"
#include "ui/controls.h"
extern "C" {
#include "lua.h"
}
int main() {
playground::Rollover button({0, 0, 10, 10});
if (!button.down(5, 5) || !button.up(5, 5)) return 1;
lua_State* state = lua_open();
if (!state) return 2;
lua_close(state);
return playground::normalizePath("A\\B") == "a/b" ? 0 : 3;
}