aboutsummaryrefslogtreecommitdiff
path: root/contributing.md
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-06 12:55:15 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-06 12:55:15 +0200
commit02d658a7ed92bacfdaed587102f0d2e5f6c5dc01 (patch)
tree1195a0a46b9ce4af470652fecd5c3a3a917c2c58 /contributing.md
parentb649adda67ed52c2e3bdcd5aa2cb4b9b0954cf16 (diff)
parentb5a5d9b1d4725f3001486c9bbd69263ed0918303 (diff)
Merge branch 'loek/cleanup' into loek/scripts
Diffstat (limited to 'contributing.md')
-rw-r--r--contributing.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/contributing.md b/contributing.md
index eec5bc0..2ff411a 100644
--- a/contributing.md
+++ b/contributing.md
@@ -22,6 +22,14 @@
- When using libraries of which the header include order is important, make
sure to separate the include statements using a blank line (clang-format may
sort include statements, but does not sort across empty lines).
+- All engine-related code is implemented under the `crepe` namespace,
+ user-facing APIs under `crepe::api` (the folder structure should also reflect
+ this).
+- `using namespace` may not be used in header files, only in source files.
+- Do not (indirectly) include private dependency headers in API header files,
+ as these are no longer accessible when the engine is installed
+- Getter and setter functions are appropriately prefixed with `get_` and
+ `set_`.
## CMakeLists specific