Build against the real SpeedTree SDK; keep assert-based tests in release

SDK 62a5f5a carries the SpeedTree runtime, so the local mirror/shim is no
longer needed. attack_combo and ava2_render_3d tests called the code under
test inside assert() and segfaulted under NDEBUG; undefine it like
hardware_scene_test. android/build.sh prefers the SDK adb. Desktop ctest
59/59 incl. speedtree_forest; device 60 fps with real trees.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-13 11:03:57 +09:00
co-authored by Claude Opus 5.5
parent 8f96e7a143
commit 15b2397b54
4 changed files with 32 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
// Attack wiring (mobile step 3b): CRaceMotionData .msa parsing, the PythonPlayerSettingsModule combo
// tables, the ActorInstanceBattle combo state machine and __NormalAttackProcess hit detection.
// The checks call the code under test inside assert(); keep them in release builds.
#ifdef NDEBUG
#undef NDEBUG
#endif
#include "src/eter_render/ActorInstance.h"
#include "src/eter_render/RaceData.h"
#include "test_rundir.h"