From a1c51d61a53ad9c61e591a4ff28dd7e90fe73b23 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Thu, 23 Aug 2012 22:00:36 +0000 Subject: [PATCH] Added first and early version of an item-collecting AI (within SkiddingAI). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11517 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- data/stk_config.xml | 27 +- src/ide/vc9/supertuxkart.vcproj | 8 + src/karts/controller/ai_base_controller.cpp | 10 +- src/karts/controller/ai_properties.cpp | 71 ++++ src/karts/controller/ai_properties.hpp | 72 ++++ src/karts/controller/skidding_ai.cpp | 368 ++++++++++++++++++-- src/karts/controller/skidding_ai.hpp | 28 +- src/karts/kart_properties.cpp | 16 +- src/karts/kart_properties.hpp | 17 +- src/karts/skidding.cpp | 18 +- src/karts/skidding.hpp | 10 + 11 files changed, 579 insertions(+), 66 deletions(-) create mode 100644 src/karts/controller/ai_properties.cpp create mode 100644 src/karts/controller/ai_properties.hpp diff --git a/data/stk_config.xml b/data/stk_config.xml index 0ca524422..aacd024b7 100644 --- a/data/stk_config.xml +++ b/data/stk_config.xml @@ -200,6 +200,22 @@ post-skid-rotate-factor="1" jump-time="0.4" reduce-turn-min="0.2" reduce-turn-max="0.8"/> + + + + --> + time-full-steer ="0.2" />