| 705 | } |
| 706 | |
| 707 | static void Classic_RelPositionUpdate(cc_uint8* data) { |
| 708 | struct LocationUpdate update; |
| 709 | EntityID id = data[0]; |
| 710 | |
| 711 | update.flags = LU_HAS_POS | LU_POS_RELATIVE_SMOOTH | LU_ORI_INTERPOLATE; |
| 712 | update.pos.x = (cc_int8)data[1] / 32.0f; |
| 713 | update.pos.y = (cc_int8)data[2] / 32.0f; |
| 714 | update.pos.z = (cc_int8)data[3] / 32.0f; |
| 715 | UpdateLocation(id, &update); |
| 716 | } |
| 717 | |
| 718 | static void Classic_OrientationUpdate(cc_uint8* data) { |
| 719 | struct LocationUpdate update; |
nothing calls this directly
no test coverage detected