diff --git a/README.md b/README.md index 92c832a99..f2d54af31 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To build Pilot, you must first install the following tools. - CMake 3.19 (or more recent) - Git 2.1 (or more recent) -### MacOS >= 10.15 (x86_64) +### macOS >= 10.15 (x86_64) - Xcode 12.3 (or more recent) - CMake 3.19 (or more recent) - Git 2.1 (or more recent) @@ -45,7 +45,7 @@ Or you can use the following command to generate the **Visual Studio** project f cmake -S engine/ -B build ``` -### Build on MacOS +### Build on macOS > The following build instructions only tested on specific hardware of x86_64, and do not support M1 chips. For M1 compatible, we will release later. diff --git a/engine/source/editor/include/editor_ui.h b/engine/source/editor/include/editor_ui.h index c32065b57..ded72f981 100644 --- a/engine/source/editor/include/editor_ui.h +++ b/engine/source/editor/include/editor_ui.h @@ -49,7 +49,7 @@ namespace Pilot void showEditorWorldObjectsWindow(bool* p_open); void showEditorFileContentWindow(bool* p_open); void showEditorGameWindow(bool* p_open); - void showEditorDetialWindow(bool* p_open); + void showEditorDetailWindow(bool* p_open); void onReset(); void onCursorPos(double xpos, double ypos); diff --git a/engine/source/editor/source/editor_ui.cpp b/engine/source/editor/source/editor_ui.cpp index 533441d66..08f165838 100644 --- a/engine/source/editor/source/editor_ui.cpp +++ b/engine/source/editor/source/editor_ui.cpp @@ -1,6 +1,6 @@ #include "editor/include/editor_ui.h" -#include "editor//include/editor.h" +#include "editor/include/editor.h" #include "runtime/core/base/macro.h" #include "runtime/core/meta/reflection/reflection.h" @@ -284,7 +284,7 @@ namespace Pilot showEditorWorldObjectsWindow(&asset_window_open); showEditorGameWindow(&game_engine_window_open); showEditorFileContentWindow(&file_content_window_open); - showEditorDetialWindow(&detail_window_open); + showEditorDetailWindow(&detail_window_open); } void EditorUI::showEditorMenu(bool* p_open) @@ -490,7 +490,7 @@ namespace Pilot delete[] fields; } - void EditorUI::showEditorDetialWindow(bool* p_open) + void EditorUI::showEditorDetailWindow(bool* p_open) { ImGuiWindowFlags window_flags = ImGuiWindowFlags_None; diff --git a/engine/source/editor/source/main.cpp b/engine/source/editor/source/main.cpp index 824590473..b69006d03 100644 --- a/engine/source/editor/source/main.cpp +++ b/engine/source/editor/source/main.cpp @@ -3,7 +3,7 @@ #include #include -#include "editor//include/editor.h" +#include "editor/include/editor.h" #include "runtime/engine.h" // https://gcc.gnu.org/onlinedocs/cpp/Stringizing.html