forked from metin2/client
add: Clip Mask and Mouse Wheel Top Window aliases.
This commit is contained in:
parent
59dc653993
commit
6f51e91788
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user