Skip to content

Project Structure

Grégory Brivady edited this page Dec 4, 2022 · 2 revisions

Headers file are in the include folder, source code in src. CMake files are recursive to each folder to prepare for the complexity of the project structure. Executables are built to the bin folder - not included in the git repository.

Game, Engine, Graphics, Others

I have tried to separate source files in three big folder. The goal is to split as much as possible each "main system", so we have the option in the long term to create independant projects and reuse separate components on other projects.

Engine

Should contain most of the generic, engine-type stuff. A lot of virtual classes, the physic engine, and most of the internal logic of the project.

Game

Everything that will be game-specific, ie game characters, Entity class implementations, components implementations, ... The dev folder give the "spirit" of what should go there.

Graphics

Not to be a focus for quite some time! Everything fancy that will be required down the road, including f.e. texture loading, more advanced displaying, maybe particles, ...

Others

Currently only keybind loading. But we should probably put there saving, preferences, options loading as a whole, etc...

Clone this wiki locally