From 71f4c9bc8aa07a2cb1c95faf40087bf16385f58a Mon Sep 17 00:00:00 2001 From: wolfreak99 Date: Fri, 6 Jan 2017 08:30:23 -0500 Subject: [PATCH] Updated Coding Style (C plus plus) (markdown) --- Coding-Style-(C-plus-plus).md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Coding-Style-(C-plus-plus).md b/Coding-Style-(C-plus-plus).md index 4ef8fa7..c124c14 100644 --- a/Coding-Style-(C-plus-plus).md +++ b/Coding-Style-(C-plus-plus).md @@ -34,7 +34,9 @@ static sint32 _nextGuestIndex; /// Local function declarations static rct_peep * GetLastGuest(); -/// All functions should be prefixed with the name of the source file followed by '_'. In this case 'example_'. The name of the function should be lower case with underscores for spaces. +/// All functions should be prefixed with the name of the source file followed +/// by '_'. In this case 'example_'. The name of the function should be lower +/// case with underscores for spaces. /// Only local functions need documentation (javadoc style) /// Global functions should have their documentation in the header file. @@ -55,7 +57,8 @@ static rct_peep * GetLastGuest() return nullptr; } - /// Flag checking and integers representing booleans do not need to use boolean comparison operators. + /// Flag checking and integers representing booleans do not need + /// to use boolean comparison operators. if (!(gParkFlags & PARK_FLAG_OPEN)) { return nullptr;