egordorichev / neko8

Fantasy console inspired by pico8, tic80 and liko12, written in c++
https://egordorichev.itch.io/neko8
112 stars 11 forks source link

Modularize and divide main.lua into multiple files #10

Closed pi-pi3 closed 7 years ago

pi-pi3 commented 7 years ago

This commit moves some parts of main.lua into various other files located in the src/ directory. It also moves the libraries that were located in root to libs/. This creater a nice distinction between the different source files.

  1. main.lua and conf.lua This is the core of neko8.
  2. src/, ui/, editors/ Here are the various smaller modules that don't fit into core.
  3. libs/ Here are all the libraries from external sources, i.e. not made by us directly.