mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Added a new attrType value to get_window_attribute
Added PAUSEWIN (Ctrl+P) to LoadGameHook game modes. Fixed crash in interface_art_draw (when drawing beyond window bounds). Fixed assert fail when calling sfall_func7+ Edits to documents.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#define HEROWIN (0x40000)
|
||||
#define DIALOGVIEW (0x80000)
|
||||
#define COUNTERWIN (0x100000) // counter window for moving multiple items or setting a timer
|
||||
#define PAUSEWIN (0x200000) // Ctrl+P pause window
|
||||
#define SPECIAL (0x80000000)
|
||||
|
||||
// Valid arguments to register_hook_proc
|
||||
@@ -320,6 +321,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")
|
||||
|
||||
Reference in New Issue
Block a user