diff options
| author | Ray <[email protected]> | 2021-06-24 19:03:05 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-24 19:03:05 +0200 |
| commit | a226e11aac964c503f8102061b5d6efc7ffd920e (patch) | |
| tree | dcfbb01949515405824de1cf1a430d441a2765de /CONVENTIONS.md | |
| parent | d3d362090cf0f956681acf364cbac64680b32238 (diff) | |
| download | raylib-a226e11aac964c503f8102061b5d6efc7ffd920e.tar.gz raylib-a226e11aac964c503f8102061b5d6efc7ffd920e.zip | |
Update CONVENTIONS.md
Diffstat (limited to 'CONVENTIONS.md')
| -rw-r--r-- | CONVENTIONS.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/CONVENTIONS.md b/CONVENTIONS.md index e6b20969..f963f1e0 100644 --- a/CONVENTIONS.md +++ b/CONVENTIONS.md @@ -25,10 +25,9 @@ Functions params | lowerCase | `width`, `height` Ternary Operator | (condition)? result1 : result2 | `printf("Value is 0: %s", (value == 0)? "yes" : "no");` Some other conventions to follow: - - - raylib code **does not use TABS**, use 4 spaces instead. - - Avoid trailing spaces, please, avoid them - **ALWAYS** initialize all defined variables. + - **Do not use TABS**, use 4 spaces instead. + - Avoid trailing spaces, please, avoid them - Control flow statements always are followed **by a space**: ```c if (condition) value = 0; @@ -89,7 +88,7 @@ resources/screens/logo/logo.png resources/screens/title/title.png resources/screens/gameplay/background.png resources/characters/player.png -resources/caracters/enemy_slime.png +resources/characters/enemy_slime.png resources/common/font_arial.ttf resources/common/gui.png ``` |
