Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuria-Shikibe committed May 17, 2024
1 parent 10eadd0 commit 879d856
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 12 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 临时信息:
本仓库暂时用于南京航空航天大学2023级C++程序设计课设用途

本人学号162320129

## 模块关系总览(.svg)
![svg_img](D:\projects\GameEngine\doc\Core_Module_Relations.svg)


# What will this project about and be

## Wrong Project Name Currently: This is not an engine at all!
Expand Down
19 changes: 18 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,24 @@ void setupBaseDraw(){
});
}

int main(const int argc, char* argv[]){
int main(){
OS::File file{R"(D:\projects\GameEngine\src)"};
OS::File exportFile{R"(D:\projects\GameEngine\doc\export.txt)"};

std::ostringstream ss{};

file.forAllSubs([&](OS::File f){
ss << (f.filename() | std::ranges::views::transform([](const char c){return static_cast<char>(std::toupper(c));}) | std::ranges::to<std::string>()) << " BEGIN \n";
ss << f.readString();
ss << '\n';
ss << (f.filename() | std::ranges::views::transform([](const char c){return static_cast<char>(std::toupper(c));}) | std::ranges::to<std::string>()) << " END \n";
ss << '\n';
});

exportFile.writeString(std::move(ss).str());
}

int main_(const int argc, char* argv[]){
//Init
::Test::init(argc, argv);

Expand Down
20 changes: 10 additions & 10 deletions raw-assets/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.

PROJECT_NAME = ProjectDoc
PROJECT_NAME = GameEngine

# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
Expand All @@ -61,7 +61,7 @@ PROJECT_BRIEF =
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
# the logo to the output directory.

PROJECT_LOGO =
PROJECT_LOGO = D:/projects/GameEngine/properties/icon.ico

# With the PROJECT_ICON tag one can specify an icon that is included in the tabs
# when the HTML document is shown. Doxygen will copy the logo to the output
Expand All @@ -74,7 +74,7 @@ PROJECT_ICON =
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.

OUTPUT_DIRECTORY = D:/projects/temp
OUTPUT_DIRECTORY = ../doc

# If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096
# sub-directories (in 2 levels) under the output directory of each output format
Expand Down Expand Up @@ -2533,7 +2533,7 @@ EXTERNAL_PAGES = YES
# and usage relations if the target is undocumented or is not a class.
# The default value is: YES.

HIDE_UNDOC_RELATIONS = NO
HIDE_UNDOC_RELATIONS = YES

# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
# available from the path. This tool is part of Graphviz (see:
Expand All @@ -2552,7 +2552,7 @@ HAVE_DOT = YES
# Minimum value: 0, maximum value: 32, default value: 0.
# This tag requires that the tag HAVE_DOT is set to YES.

DOT_NUM_THREADS = 2
DOT_NUM_THREADS = 0

# DOT_COMMON_ATTR is common attributes for nodes, edges and labels of
# subgraphs. When you want a differently looking font in the dot files that
Expand Down Expand Up @@ -2605,7 +2605,7 @@ DOT_FONTPATH =
# Possible values are: NO, YES, TEXT, GRAPH and BUILTIN.
# The default value is: YES.

CLASS_GRAPH = GRAPH
CLASS_GRAPH = YES

# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
# graph for each documented class showing the direct and indirect implementation
Expand All @@ -2617,7 +2617,7 @@ CLASS_GRAPH = GRAPH
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.

COLLABORATION_GRAPH = YES
COLLABORATION_GRAPH = NO

# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
# groups, showing the direct groups dependencies. Explicit enabling a group
Expand All @@ -2628,7 +2628,7 @@ COLLABORATION_GRAPH = YES
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.

GROUP_GRAPHS = YES
GROUP_GRAPHS = NO

# If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
# collaboration diagrams in a style similar to the OMG's Unified Modeling
Expand Down Expand Up @@ -2679,7 +2679,7 @@ DOT_WRAP_THRESHOLD = 17
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.

TEMPLATE_RELATIONS = YES
TEMPLATE_RELATIONS = NO

# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
# YES then doxygen will generate a graph for each documented file showing the
Expand All @@ -2702,7 +2702,7 @@ INCLUDE_GRAPH = YES
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.

INCLUDED_BY_GRAPH = YES
INCLUDED_BY_GRAPH = NO

# If the CALL_GRAPH tag is set to YES then doxygen will generate a call
# dependency graph for every global function or class method.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion src/game-impl/ui/MainMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ void Game::Scenes::MainMenu::build(){
label.setText(label.getBundleEntry("main-test"));
}).expandY().setPad({.bottom = 150}).endLine();


std::vector<std::pair<std::string_view, std::function<void(UI::Button&, bool)>>>
tempTestBuilders{
{"game", [](const UI::Button& b, bool){
Expand Down

0 comments on commit 879d856

Please sign in to comment.