summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2025-04-09 10:06:34 +0000
committeronelin <oscar@nelin.dk>2025-04-09 10:06:34 +0000
commit5a7c450282bc1164cd73e6a95c899a5bfeeeeb10 (patch)
treeef535dc646d9da1a8dad185df80acec845816832 /src
parent7352085dca54837fb60dbba4328ee0bc069bca16 (diff)
Add some light source overview documenation
Diffstat (limited to 'src')
-rw-r--r--src/README.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/README.md b/src/README.md
new file mode 100644
index 0000000..3b59c05
--- /dev/null
+++ b/src/README.md
@@ -0,0 +1,37 @@
+# DAW Source documenation
+
+The source code is "organized" (ha ha) into modules, where a light effort has
+been made to make each as contained as time has allowed.
+
+It is planned to put module-API documentation, and technical details in each
+sub-module under a `docs` folder, when time comes around to a consistent and
+stable API.
+
+# core
+
+Core loop and initialization module, couples it all together in the messiest way
+possible.
+
+
+# ctrl
+
+Input handling module. Arguably this could be a submodule of the "rendering"
+module as the ctrl module is heavily dependent on it.
+
+
+# rendering
+
+Rendering backend and window handling support. Currently The only platform
+library supported is GLFW with OpenGL support (using GLAD), but it would be neat
+to add SDL support back in at some point, once everything is nicely decoupled.
+
+
+# resources
+
+Resource loading and manipulation.
+
+
+# utils
+
+General utilities like common data structures and neat algorithms to make game
+development a little easier.