diff options
author | Hop311 <Hop3114@gmail.com> | 2023-05-17 20:11:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 20:11:57 +0200 |
commit | 6c7a1a7c8f55d92882d9364c0ad36a61a3f5614f (patch) | |
tree | 64dd37032c36da8e48d5d519ac840e11cc64dc58 /docs/styleguide-cpp.md | |
parent | af6a96ed26bca3eaa28c6dca635918061fab7c80 (diff) | |
parent | 578eb8c332810656842f72e0bb94bb0d4dcb9f5e (diff) |
Merge pull request #117 from OpenVicProject/openvic-rename
Changed from OpenVic2 to OpenVic
Diffstat (limited to 'docs/styleguide-cpp.md')
-rw-r--r-- | docs/styleguide-cpp.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/styleguide-cpp.md b/docs/styleguide-cpp.md index c48b5f6..83a2647 100644 --- a/docs/styleguide-cpp.md +++ b/docs/styleguide-cpp.md @@ -1,4 +1,4 @@ -# OpenVic2 C++ Style Guidelines +# OpenVic C++ Style Guidelines ## Table of Contents 1. [Why Style?](styleguide-cpp.md#1-why-style) @@ -298,22 +298,22 @@ Source code files should adhere to the following: return true; } ``` -- The include order should be: C++ standard headers, followed by Godot headers, then OpenVic2 headers +- The include order should be: C++ standard headers, followed by Godot headers, then OpenVic headers - C++ standard headers and Godot headers should be enclosed by angle brackets `<>` - - OpenVic2 headers should be enclosed by double quotes `""` + - OpenVic headers should be enclosed by double quotes `""` ```c++ //Correct #include <vector> #include <string> #include <godot_cpp/classes/object.hpp> #include <godot_cpp/core/class_db.hpp> - #include "openvic2/src/SampleHeader.hpp" - #include "openvic2/src/SampleHeader2.hpp" + #include "openvic/src/SampleHeader.hpp" + #include "openvic/src/SampleHeader2.hpp" //Incorrect - #include "openvic2/src/SampleHeader.hpp" + #include "openvic/src/SampleHeader.hpp" #include <godot_cpp/classes/object.hpp> - #include "openvic2/src/SampleHeader2.hpp" + #include "openvic/src/SampleHeader2.hpp" #include <godot_cpp/core/class_db.hpp> #include <vector> #include <string> |