TheOpenSpaceProgram / osp-magnum

A spaceship game
https://www.openspaceprogram.org/
MIT License
216 stars 32 forks source link

Reorganize directory structure and other clean-ups #246

Closed Capital-Asterisk closed 1 year ago

Capital-Asterisk commented 1 year ago

It was getting difficult to navigate as lots of code was in the wrong place. This reorganizes the directory structure and moves some code around to stay sane.

The src/osp directory now has 10 subdirectories: core, tasks, universe, scientific, vehicles, link, activescene, drawing, util, drawing_gl which depend on each other in a clean way: ospdirs src/osp, src/adera, and src/ospnewton is used 'as a library' by the test application src/testapp to make the executable.

Other important changes: