From 0cee131b9f12668bf7395a5fd4e3c7b173b00d94 Mon Sep 17 00:00:00 2001 From: Benau Date: Fri, 13 Jul 2018 20:27:37 +0800 Subject: [PATCH] Add positional smoothing for physical objects in network --- data/stk_config.xml | 8 +- sources.cmake | 2 +- src/config/stk_config.cpp | 13 +-- src/config/stk_config.hpp | 7 -- src/karts/kart_rewinder.cpp | 2 + src/karts/kart_rewinder.hpp | 2 - src/karts/moveable.cpp | 158 ++------------------------ src/karts/moveable.hpp | 53 +++------ src/network/smooth_network_body.cpp | 170 ++++++++++++++++++++++++++++ src/network/smooth_network_body.hpp | 103 +++++++++++++++++ src/physics/physical_object.cpp | 16 ++- src/physics/physical_object.hpp | 4 +- 12 files changed, 320 insertions(+), 218 deletions(-) create mode 100644 src/network/smooth_network_body.cpp create mode 100644 src/network/smooth_network_body.hpp diff --git a/data/stk_config.xml b/data/stk_config.xml index c406ee076..acb22f19f 100644 --- a/data/stk_config.xml +++ b/data/stk_config.xml @@ -180,14 +180,8 @@ - +