- Forked from Godot Engine 4.7-dev (MIT License) - Rebranded to AeThex Engine with cyan/purple theme - Added AI-powered development assistant module - Integrated Claude API for code completion & error fixing - Custom hexagon logo and branding - Multi-platform CI/CD (Windows, Linux, macOS) - Built Linux editor binary (151MB) - Complete source code with all customizations Tech Stack: - C++ game engine core - AI Module: Claude 3.5 Sonnet integration - Build: SCons, 14K+ source files - License: MIT (Godot) + Custom (AeThex features) Ready for Windows build via GitHub Actions!
54 lines
1.3 KiB
Python
54 lines
1.3 KiB
Python
#!/usr/bin/env python
|
|
from misc.utility.scons_hints import *
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_csg = env_modules.Clone()
|
|
|
|
env_csg.Append(CPPDEFINES=[("MANIFOLD_PAR", -1)])
|
|
|
|
# Thirdparty source files
|
|
|
|
thirdparty_obj = []
|
|
|
|
thirdparty_dir = "#thirdparty/manifold/"
|
|
thirdparty_sources = [
|
|
"src/boolean_result.cpp",
|
|
"src/boolean3.cpp",
|
|
"src/constructors.cpp",
|
|
"src/csg_tree.cpp",
|
|
"src/edge_op.cpp",
|
|
"src/face_op.cpp",
|
|
"src/impl.cpp",
|
|
"src/manifold.cpp",
|
|
"src/polygon.cpp",
|
|
"src/properties.cpp",
|
|
"src/quickhull.cpp",
|
|
"src/sdf.cpp",
|
|
"src/smoothing.cpp",
|
|
"src/sort.cpp",
|
|
"src/subdivision.cpp",
|
|
"src/tree2d.cpp",
|
|
]
|
|
|
|
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
|
env_csg.Prepend(CPPPATH=[thirdparty_dir + "include"])
|
|
env_thirdparty = env_csg.Clone()
|
|
env_thirdparty.disable_warnings()
|
|
env_thirdparty.add_source_files(thirdparty_obj, thirdparty_sources)
|
|
env.modules_sources += thirdparty_obj
|
|
|
|
# Godot source files
|
|
|
|
module_obj = []
|
|
|
|
env_csg.add_source_files(module_obj, "*.cpp")
|
|
|
|
if env.editor_build:
|
|
env_csg.add_source_files(module_obj, "editor/*.cpp")
|
|
|
|
env.modules_sources += module_obj
|
|
|
|
# Needed to force rebuilding the module files when the thirdparty library is updated.
|
|
env.Depends(module_obj, thirdparty_obj)
|