From 9b4b283c4ca0c58ac69f0695d51dbe2ed47aa0ab Mon Sep 17 00:00:00 2001 From: Benau Date: Wed, 27 Feb 2019 11:31:19 +0800 Subject: [PATCH] Add check trigger to replace item trigger --- data/stk_config.xml | 4 +- sources.cmake | 2 +- src/items/item.cpp | 20 ------ src/items/item.hpp | 33 +--------- src/items/item_manager.cpp | 18 ------ src/items/item_manager.hpp | 2 - .../controller/local_player_controller.cpp | 3 - src/karts/controller/skidding_ai.cpp | 2 - src/karts/controller/test_ai.cpp | 2 - src/tracks/check_cylinder.cpp | 15 +++-- src/tracks/check_cylinder.hpp | 8 ++- src/tracks/check_sphere.cpp | 3 + src/tracks/check_structure.hpp | 6 +- src/tracks/check_trigger.cpp | 56 ++++++++++++++++ src/tracks/check_trigger.hpp | 64 +++++++++++++++++++ src/tracks/track_object_presentation.cpp | 35 +++++----- src/tracks/track_object_presentation.hpp | 41 ++++++------ 17 files changed, 191 insertions(+), 123 deletions(-) create mode 100644 src/tracks/check_trigger.cpp create mode 100644 src/tracks/check_trigger.hpp diff --git a/data/stk_config.xml b/data/stk_config.xml index 4803d1929..0e0a4b700 100644 --- a/data/stk_config.xml +++ b/data/stk_config.xml @@ -211,8 +211,8 @@ - + easter egg--> +