文件结构重构

This commit is contained in:
EmsiaetKadosh
2025-03-21 21:39:49 +08:00
parent 20f4ef1cee
commit 037e532748
43 changed files with 539 additions and 134 deletions
+33 -25
View File
@@ -20,32 +20,40 @@ include(CTest)
enable_testing()
add_executable(${PROJECT_NAME}
main.cpp
def.cpp
def.h
InteractManager.cpp
InteractManager.h
Renderer.cpp
Renderer.h
Game.cpp
Game.h
Window.cpp
Window.h
Hud.cpp
Hud.h
IText.cpp
IText.h
exception.cpp
exception.h
File.h
File.cpp
TextureManager.cpp
TextureManager.h
src/main.cpp
src/def.h
src/def.cpp
src/interact/InteractManager.h
src/interact/InteractManager.cpp
src/render/Renderer.h
src/render/Renderer.cpp
src/game/Game.h
src/game/Game.cpp
src/ui/Window.h
src/ui/Window.cpp
src/ui/Hud.h
src/ui/Hud.cpp
src/utils/IText.h
src/utils/IText.cpp
src/utils/exception.h
src/utils/exception.cpp
src/utils/File.h
src/utils/File.cpp
src/render/TextureManager.h
src/render/TextureManager.cpp
includes.h
Chars.h
xWindows.h
TestCode.h
src/includes.h
src/utils/Chars.h
src/ui/xWindows.h
src/utils/TestCode.h
src/game/entity/Entity.h
src/game/entity/Player.h
src/game/entity/Player.cpp
src/game/entity/Damage.h
src/utils/math.h
src/game/world/World.h
src/game/world/Location.h
src/game/world/Block.h
)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})