From d0834e74e5605ecf5b90c7fe14f2985578deacff Mon Sep 17 00:00:00 2001 From: "Dennis E. Hamilton" Date: Mon, 30 Aug 2021 10:24:42 -0700 Subject: [PATCH] remove extra ")" in conventions some lines that are not completely empty are replaced with empty lines. This might be a Markdown space-ending line glitch --- CONVENTIONS.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CONVENTIONS.md b/CONVENTIONS.md index 9f2ceb6..3428dee 100644 --- a/CONVENTIONS.md +++ b/CONVENTIONS.md @@ -49,7 +49,7 @@ switch (value) ``` - All conditions are always between parenthesis, but not boolean values: ```c -if ((value > 1) && (value < 50) && valueActive)) +if ((value > 1) && (value < 50) && valueActive) { } @@ -63,14 +63,14 @@ void SomeFunction() ``` ## Files and Directories Naming Conventions - + - Directories are named using `snake_case`: `resources/models`, `resources/fonts` - Files are named using `snake_case`: `main_title.png`, `cubicmap.png`, `sound.wav` - + _NOTE: Spaces and special characters are always avoided in the files/dir naming!_ - + ## Games/Examples Directories Organization Conventions - + - Resource files are organized by context and usage in the game. Loading requirements for data are also considered (grouping data when required). - Descriptive names are used for the files, just reading the name of the file it should be possible to know what is that file and where fits in the game.