feat(ground-ai): return bot movement control on failure

Grant custom physics control per LocalMP bot and let the native layer release it when the script stops renewing control. Verified both TypeScript checks, the MSVC build, native resolution and check-patches on .37 and .58, and isolated .58 script loading.
This commit is contained in:
N0VAN0M4LY committed 2026-12-03 14:24:32 +08:00
1 parent bb680c6abd
commit 885e3bbb5d
15 files changed
+325 -63

No files matched your search

+3
View File
@@ -87,6 +87,9 @@ typedef struct LmpValues {
uint8_t *air_event_orientation, *send_unit_respawn, *mpi_sendto;
size_t mis_mode_name, gp_ks_rules, gp_ks_rule_count, ks_rule_tag, ks_rule_air_ai_mult, ks_rule_ground_ai_mult;
size_t ks_rule_spawn_pos, ks_rule_spawn_pos_count, ks_spawn_pos_stride, mp_ks_progress, app_terrain;
/* local_mp_ground_ai */
uint8_t *ground_ai_mission_action, *ground_ai_as_ground_model;
size_t ground_ai_move_system, ground_ai_move_inactive;
} LmpValues;
extern LmpValues g_lmp;