From 60b1fb29563becebda1a3f1575ad36584f13a30c Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Tue, 3 Dec 2024 21:13:51 +0200 Subject: [PATCH] update indicators --- src/utils/ObjectIDs.hpp | 73 ++--------------------------------------- 1 file changed, 2 insertions(+), 71 deletions(-) diff --git a/src/utils/ObjectIDs.hpp b/src/utils/ObjectIDs.hpp index 96c98de..4ab31c2 100644 --- a/src/utils/ObjectIDs.hpp +++ b/src/utils/ObjectIDs.hpp @@ -4,76 +4,7 @@ using namespace geode::prelude; -class ObjectID { -private: - int m_id; - -public: - ObjectID(int id) : m_id(id) {} - - ccColor3B getTriggerColor() const { - switch (m_id) { - case MOVE_TRIGGER: case AREA_MOVE_TRIGGER: case EDIT_AREA_MOVE_TRIGGER: - return ccc3(255, 0, 255); - - case ROTATE_TRIGGER: case AREA_ROTATE_TRIGGER: case EDIT_AREA_ROTATE_TRIGGER: - return ccc3(127, 127, 255); - - case SCALE_TRIGGER: case AREA_SCALE_TRIGGER: case EDIT_AREA_SCALE_TRIGGER: - return ccc3(63, 191, 255); - - case PULSE_TRIGGER: case AREA_TINT_TRIGGER: case EDIT_AREA_TINT_TRIGGER: - return ccc3(255, 255, 0); - - case ALPHA_TRIGGER: case AREA_FADE_TRIGGER: case EDIT_AREA_FADE_TRIGGER: - return ccc3(0, 255, 255); - - case TOGGLE_TRIGGER: return ccc3(255, 63, 63); - case SPAWN_TRIGGER: return ccc3(35, 204, 127); - case FOLLOW_TRIGGER: return ccc3(255, 127, 127); - - case ADVANCED_FOLLOW_TRIGGER: case EDIT_ADVANCED_FOLLOW_TRIGGER: case RE_TARGET_ADVANCED_FOLLOW_TRIGGER: - return ccc3(204, 255, 199); - - case ANIMATE_TRIGGER: return ccc3(255, 183, 0); - case FOLLOW_PLAYER_Y_TRIGGER: return ccc3(255, 255, 127); - case CHANGE_BG_TRIGGER: return ccc3(127, 255, 255); - case CHANGE_GROUND_TRIGGER: return ccc3(255, 255, 127); - case CHANGE_MIDGROUND_TRIGGER: return ccc3(255, 127, 255); - case TOUCH_TRIGGER: return ccc3(0, 137, 178); - case COUNT_TRIGGER: return ccc3(255, 183, 252); - case INSTANT_COUNT_TRIGGER: return ccc3(255, 135, 255); - case PICKUP_TRIGGER: return ccc3(255, 109, 0); - case RANDOM_TRIGGER: return ccc3(63, 127, 255); - case STOP_TRIGGER: return ccc3(163, 0, 86); - - case ADVANCED_RANDOM_TRIGGER: case SEQUENCE_TRIGGER: - return ccc3(165, 94, 255); - - case SPAWN_PARTICLE_TRIGGER: return ccc3(150, 150, 150); - case RESET_TRIGGER: return ccc3(255, 100, 0); - case CAMERA_ZOOM_TRIGGER: return ccc3(127, 127, 255); - case CAMERA_STATIC_TRIGGER: return ccc3(255, 127, 127); - case CAMERA_ROTATE_TRIGGER: return ccc3(255, 245, 0); - case CAMERA_EDGE_TRIGGER: return ccc3(0, 199, 255); - case CAMERA_MODE_TRIGGER: return ccc3(191, 255, 0); - case COLLISION_TRIGGER: return ccc3(83, 66, 250); - case TIME_WARP_TRIGGER: return ccc3(153, 127, 153); - case BG_SPEED_TRIGGER: return ccc3(127, 255, 255); - case ON_DEATH_TRIGGER: return ccc3(204, 101, 101); - case PLAYER_CONTROL_TRIGGER: return ccc3(101, 255, 255); - - case MIDGROUND_SETUP_TRIGGER: case MIDGROUND_SPEED_TRIGGER: - return ccc3(255, 127, 255); - - case CAMERA_OFFSET_TRIGGER: case CAMERA_GP_OFFSET_TRIGGER: - return ccc3(127, 255, 127); - - default: - return ccWHITE; - } - } - +namespace object_ids { static constexpr int MOVE_TRIGGER = 901; static constexpr int STOP_TRIGGER = 1616; static constexpr int PULSE_TRIGGER = 1006; @@ -125,4 +56,4 @@ class ObjectID { static constexpr int INSTANT_COLLISION_TRIGGER = 3609; static constexpr int ON_DEATH_TRIGGER = 1812; static constexpr int PLAYER_CONTROL_TRIGGER = 1932; -}; +}