Added descriptions for get/set_cursor_mode.

Added defines for cursor modes.
This commit is contained in:
NovaRain
2017-08-17 23:54:29 +08:00
parent 34eaddebb8
commit 6c65d8fe79
2 changed files with 11 additions and 0 deletions
+4
View File
@@ -174,6 +174,10 @@
#define OUTLINE_DARK_YELLOW (0x20) #define OUTLINE_DARK_YELLOW (0x20)
#define OUTLINE_PURPLE (0x40) #define OUTLINE_PURPLE (0x40)
#define CURSOR_MOVEMENT (0)
#define CURSOR_COMMAND (1)
#define CURSOR_TARGETING (2)
#define mstr_combat(x) (message_str_game(GAME_MSG_COMBAT, x)) #define mstr_combat(x) (message_str_game(GAME_MSG_COMBAT, x))
#define mstr_ai(x) (message_str_game(GAME_MSG_AI, x)) #define mstr_ai(x) (message_str_game(GAME_MSG_AI, x))
#define mstr_scrname(x) (message_str_game(GAME_MSG_SCRNAME, x)) #define mstr_scrname(x) (message_str_game(GAME_MSG_SCRNAME, x))
@@ -418,6 +418,13 @@ Some utility/math functions are available:
- should be called before going to worldmap - should be called before going to worldmap
- vanilla art index is 0x1B1 - vanilla art index is 0x1B1
> int sfall_func0("get_cursor_mode")
- returns the current cursor mode (0 - movement cursor, 1 - command cursor, 2 - targeting cursor)
- mode 4 to 10 are Skilldex skills (yellow targeting cursor)
> void sfall_func1("set_cursor_mode", int mode)
- sets the current cursor mode
------------------------ ------------------------
------ MORE INFO ------- ------ MORE INFO -------
------------------------ ------------------------