@@ -169,7 +169,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
169
169
* sender
170
170
* type (RAW, NORMAL, ANNOUNCE, SYSTEM)
171
171
* content
172
- Add TOCLIENT_CSM_FLAVOUR_LIMITS to define which CSM flavour should be
172
+ Add TOCLIENT_CSM_RESTRICTION_FLAGS to define which CSM features should be
173
173
limited
174
174
Add settable player collisionbox. Breaks compatibility with older
175
175
clients as a 1-node vertical offset has been removed from player's
@@ -283,9 +283,9 @@ enum ToClientCommand
283
283
f1000 time_speed
284
284
*/
285
285
286
- TOCLIENT_CSM_FLAVOUR_LIMITS = 0x2A ,
286
+ TOCLIENT_CSM_RESTRICTION_FLAGS = 0x2A ,
287
287
/*
288
- u32 CSMFlavourLimits byteflag
288
+ u32 CSMRestrictionFlags byteflag
289
289
*/
290
290
291
291
// (oops, there is some gap here)
@@ -928,12 +928,12 @@ enum PlayerListModifer: u8
928
928
PLAYER_LIST_REMOVE,
929
929
};
930
930
931
- enum CSMFlavourLimit : u64 {
932
- CSM_FL_NONE = 0x00000000 ,
933
- CSM_FL_LOAD_CLIENT_MODS = 0x00000001 , // Disable mods provided by clients
934
- CSM_FL_CHAT_MESSAGES = 0x00000002 , // Disable chat message sending from CSM
935
- CSM_FL_READ_ITEMDEFS = 0x00000004 , // Disable itemdef lookups
936
- CSM_FL_READ_NODEDEFS = 0x00000008 , // Disable nodedef lookups
937
- CSM_FL_LOOKUP_NODES = 0x00000010 , // Limit node lookups
938
- CSM_FL_ALL = 0xFFFFFFFF ,
931
+ enum CSMRestrictionFlags : u64 {
932
+ CSM_RF_NONE = 0x00000000 ,
933
+ CSM_RF_LOAD_CLIENT_MODS = 0x00000001 , // Disable mods provided by clients
934
+ CSM_RF_CHAT_MESSAGES = 0x00000002 , // Disable chat message sending from CSM
935
+ CSM_RF_READ_ITEMDEFS = 0x00000004 , // Disable itemdef lookups
936
+ CSM_RF_READ_NODEDEFS = 0x00000008 , // Disable nodedef lookups
937
+ CSM_RF_LOOKUP_NODES = 0x00000010 , // Limit node lookups
938
+ CSM_RF_ALL = 0xFFFFFFFF ,
939
939
};
0 commit comments