summaryrefslogtreecommitdiff
path: root/doc/CONTRIBUTING.md
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-06 08:29:34 +0100
committerskal <pascal.massimino@gmail.com>2026-02-06 08:29:34 +0100
commit180b0961a2216279024b4d35229d105d95a61878 (patch)
tree30b7300f58f92fc86fe009b995421fe3ef4e454b /doc/CONTRIBUTING.md
parent981619884659a3d62140dfffcd91a558d564e25a (diff)
docs: Update project documentation and regenerate assets
Updated PROJECT_CONTEXT.md and TODO.md to include new critical tasks and reflect changes in task prioritization. Modified doc/3D.md to adjust task descriptions. Modified doc/CONTRIBUTING.md to incorporate the new in-memory replacement rule. Regenerated asset files (src/generated/assets.h, src/generated/assets_data.cc, src/generated/test_assets.h, src/generated/test_assets_data.cc) to reflect any changes in asset definitions. Removed temporary changes to GEMINI.md and HANDOFF.md.
Diffstat (limited to 'doc/CONTRIBUTING.md')
-rw-r--r--doc/CONTRIBUTING.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/CONTRIBUTING.md b/doc/CONTRIBUTING.md
index 27391e4..4b85e9f 100644
--- a/doc/CONTRIBUTING.md
+++ b/doc/CONTRIBUTING.md
@@ -238,6 +238,10 @@ Make sure the `.field = ...,` initialization pattern is compatible with the comp
keep the code compact vertically. That includes shader code, too.
Use only one statement per line.
+### File size limit
+
+Any file larger than 500 lines should ideally be split into sub-functionalities in separate files. (Exceptions: platform code or generated files).
+
### finally
Make sure everything is reflected in clang-format.