From: Nick S Date: Wed, 15 Feb 2023 18:33:51 +0000 (+0200) Subject: Merge remote-tracking branch 'origin/Juhu/velocity_pads' into morosophos/server-current4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8aa2ca8d8a3aee2a02f2876e0dddc8c9826212f2;p=xonotic%2Fxonotic-data.pk3dir.git Merge remote-tracking branch 'origin/Juhu/velocity_pads' into morosophos/server-current4 --- 8aa2ca8d8a3aee2a02f2876e0dddc8c9826212f2 diff --cc qcsrc/common/mapobjects/trigger/jumppads.qh index 70845017c,e655c08d7..3f63fc8f4 --- a/qcsrc/common/mapobjects/trigger/jumppads.qh +++ b/qcsrc/common/mapobjects/trigger/jumppads.qh @@@ -3,15 -3,14 +3,15 @@@ const int PUSH_ONCE = BIT(0); // legacy, deactivate with relay instead const int PUSH_SILENT = BIT(1); // not used? +const int PUSH_STATIC = BIT(12); - const int PUSH_VELOCITY_PLAYERDIR_XY = BIT(0); - const int PUSH_VELOCITY_ADD_XY = BIT(1); - const int PUSH_VELOCITY_PLAYERDIR_Z = BIT(2); - const int PUSH_VELOCITY_ADD_Z = BIT(3); - const int PUSH_VELOCITY_BIDIRECTIONAL_XY = BIT(4); - const int PUSH_VELOCITY_BIDIRECTIONAL_Z = BIT(5); - const int PUSH_VELOCITY_CLAMP_NEGATIVE_ADDS = BIT(6); + #define PUSH_VELOCITY_PLAYERDIR_XY BIT(0) + #define PUSH_VELOCITY_ADD_XY BIT(1) + #define PUSH_VELOCITY_PLAYERDIR_Z BIT(2) + #define PUSH_VELOCITY_ADD_Z BIT(3) + #define PUSH_VELOCITY_BIDIRECTIONAL_XY BIT(4) + #define PUSH_VELOCITY_BIDIRECTIONAL_Z BIT(5) + #define PUSH_VELOCITY_CLAMP_NEGATIVE_ADDS BIT(6) IntrusiveList g_jumppads; STATIC_INIT(g_jumppads) { g_jumppads = IL_NEW(); }