add gett_interface_id, fix crash in interface_draw, add doc for get_window_under_mouse

This commit is contained in:
phobos2077
2024-06-01 22:05:07 +02:00
parent c610499c29
commit ca5012b227
3 changed files with 11 additions and 0 deletions
+1
View File
@@ -320,6 +320,7 @@
#define get_interface_y(winType) sfall_func2("get_window_attribute", winType, 2)
#define get_interface_width(winType) sfall_func2("get_window_attribute", winType, 3)
#define get_interface_height(winType) sfall_func2("get_window_attribute", winType, 4)
#define get_interface_id(winType) sfall_func2("get_window_attribute", winType, 5)
#define get_inven_ap_cost sfall_func0("get_inven_ap_cost")
#define get_map_enter_position sfall_func0("get_map_enter_position")
#define get_metarule_table sfall_func0("get_metarule_table")