longturn / freeciv21

Develop your civilization from humble roots to a global empire
GNU General Public License v3.0
217 stars 42 forks source link

Organize the client code in folders #1097

Open lmoureaux opened 2 years ago

lmoureaux commented 2 years ago

The client code should be organized in semantic folders rather than a single flat directory.

Take this chance to move layers to a separate folder ? I think something like, client/layers/layer_*.cpp/h is better. But I'll approve anyways, since that can be done in a different PR, where we reorganize everything within client. Apart from that, rest look good to me.

Originally posted by @pranavtifr in https://github.com/longturn/freeciv21/pull/1083#pullrequestreview-1033535980

jwrober commented 2 years ago

We need some proposals, so added the question flag.

lmoureaux commented 2 years ago

Loose categories that come to mind: