/* Complete original callbacks; actor accessors and derived policy endpoints are * fixtures. No original constructor, entrypoint or full soldier knockback runs. */ #include "collision_dispatch_probe.c" static unsigned char complete_body[0x2400],box_body[0x500],test_material[32],test_chunk[32]; #define BODY (complete_body+0xc0) static uintptr_t body_methods[0x440/4],outer_methods[0x210/4],box_methods[0x440/4]; static Vec body_root,body_previous,body_velocity,body_acceleration,body_angular,knock_normal; static float body_radius,damping,knock_force; static int reflect,mutation,fresh_y,inhibited,knocks,cleanups,velocity_gets; static unsigned radius_count;static float radius_values[16]; static char event_log[1024];static unsigned event_length; typedef void(TC *Angles)(void*,short*,short*); static Angles original_angles; static Vec angle_vectors[8];static short angle_pitch[8],angle_yaw[8];static unsigned angle_count; static void event(const char*s){int n=snprintf(event_log+event_length,sizeof(event_log)-event_length,"%s%s",event_length?",":"",s);require(n>0&&event_length+(unsigned)n