arkhaix / emunisce

GNU General Public License v2.0
0 stars 0 forks source link

Consider re-organizing the directory structure #54

Open arkhaix opened 4 years ago

arkhaix commented 4 years ago

Still thinking through it, but I want a better directory structure.

Initial thoughts off the top of my head:

app/
  linux/
  windows/

lib/
  audio/
    wave_out/
  render/
    gdi_plus/
    opengl/
  window/
    win32/
    wx/

machine/
  common/
  gameboy/

platform/ (remove?)

docs/ (remove?)

test/ (mirrors root structure)
  application/
  lib/
  machine/

I don't know about the lib folder. I like the grouping, but not the name.

I'd love to get rid of platform, but not sure where to put it yet.

docs is actually external documentation at the moment, and that needs to go away. For actual project documentation, it's probably enough to just have a readme in each directory.

I'm still entirely on the fence about all of this and may end up not touching anything at all, but I don't like seeing the base_application, windows_application, and wx_application folders all at the root.