refactor: modularize the codebase

Splits the monolith file into individual modules with as little code refactoring as possible.

Not too happy with it, mainly because of the weird language server behavior where it doesn't recognize types or variables unless the files defining them are open...

It'd also be better to refactor everything from the ground up to not depend on global variables but if I had that much time to invest I'd straight up just rewrite everything in typescript and use TS→Lua transpiler.
This commit is contained in:
tomasklaen
2022-10-25 12:14:50 +02:00
parent e6ebb9c4e4
commit c00e296953
22 changed files with 5238 additions and 5248 deletions

File diff suppressed because it is too large Load Diff