From 0e84cdf091b5026922c4ae2ac90438beea8c9800 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Thu, 2 Sep 2010 00:19:06 +0000 Subject: [PATCH] Modified behaviour of startup boost: instead of giving it to the first two karts, it is now given for all karts starting withint a certain amount of time. These times and boost value are specified in stk-config.xml. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5855 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- data/stk_config.xml | 15 ++++++++++----- src/config/stk_config.cpp | 8 +------- src/config/stk_config.hpp | 3 --- src/karts/kart.cpp | 15 +++++++++------ src/karts/kart.hpp | 11 ++++++++--- src/karts/kart_properties.cpp | 32 ++++++++++++++++++++++++++++++-- src/karts/kart_properties.hpp | 9 +++++++++ src/modes/world.cpp | 4 +--- src/modes/world.hpp | 11 ----------- 9 files changed, 68 insertions(+), 40 deletions(-) diff --git a/data/stk_config.xml b/data/stk_config.xml index 1792e9348..770c41201 100644 --- a/data/stk_config.xml +++ b/data/stk_config.xml @@ -22,11 +22,9 @@ The last values applies for all remaining karts. --> - - + @@ -43,7 +41,7 @@ - + @@ -105,6 +103,13 @@ + + +