forked from metin2/client
1
0
Fork 0

add: Clip Mask and Mouse Wheel Top Window aliases.

This commit is contained in:
WildEgo 2024-06-01 19:16:09 +01:00
parent 59dc653993
commit 6f51e91788
1 changed files with 8 additions and 4 deletions

View File

@ -1568,15 +1568,19 @@ void initapp()
#endif
#if defined(__BL_CLIP_MASK__)
PyModule_AddIntConstant(poModule, "__BL_CLIP_MASK__", true);
PyModule_AddIntConstant(poModule, "__BL_CLIP_MASK__", 1);
PyModule_AddIntConstant(poModule, "ENABLE_CLIP_MASK", 1);
#else
PyModule_AddIntConstant(poModule, "__BL_CLIP_MASK__", false);
PyModule_AddIntConstant(poModule, "__BL_CLIP_MASK__", 0);
PyModule_AddIntConstant(poModule, "ENABLE_CLIP_MASK", 0);
#endif
#if defined(__BL_MOUSE_WHEEL_TOP_WINDOW__)
PyModule_AddIntConstant(poModule, "__BL_MOUSE_WHEEL_TOP_WINDOW__", true);
PyModule_AddIntConstant(poModule, "__BL_MOUSE_WHEEL_TOP_WINDOW__", 1);
PyModule_AddIntConstant(poModule, "ENABLE_MOUSE_WHEEL_TOP_WINDOW", 1);
#else
PyModule_AddIntConstant(poModule, "__BL_MOUSE_WHEEL_TOP_WINDOW__", false);
PyModule_AddIntConstant(poModule, "__BL_MOUSE_WHEEL_TOP_WINDOW__", 0);
PyModule_AddIntConstant(poModule, "ENABLE_MOUSE_WHEEL_TOP_WINDOW", 0);
#endif
#if defined(ENABLE_CONQUEROR_LEVEL)