|
Cavestory Mod API
|
Text script state object. More...
#include <CSMAPI_types.h>
Public Attributes | |
| char | path [PATH_LENGTH] |
| Path (reload when exit teleporter menu/inventory) | |
| int | size |
| Script buffer size. | |
| char * | data |
| Script buffer size. | |
| signed char | mode |
| Mode (ex. More... | |
| TextScriptTarget | target |
| signed char | flags |
| Flags. | |
| unsigned int | p_read |
| Current positions (read position in buffer, x position in line) | |
| int | p_write |
| Current write position in text. | |
| int | p_tur_x |
| When in instant text display mode, this stores how far along the pen's X offset is. | |
| int | line |
| Current line to write to. | |
| int | ypos_line [4] |
| Line y positions. | |
| int | wait |
| Event wait. | |
| int | wait_next |
| Wait Next. | |
| int | next_event |
| Next event. | |
| int | wait_npc |
| Wait NPC. | |
| int | wait_npc_act |
| Wait NPC act. | |
| signed char | select |
| Yes/no selected. | |
| int | face |
| Current face. | |
| int | face_x |
| Face X offset. | |
| int | item |
| Current item. | |
| int | item_y |
| Item Y offset. | |
| RECT | rcText |
| Text rect. | |
| int | offsetY |
| ..? | |
| bool | focus_on_plr |
| Whether to focus on the player who has context control. | |
| char | lock_mode |
| Lock mode. More... | |
| int | current_event |
| The event that is currently being ran. | |
| bool | transmit |
| Whether to transmit this to everyone on the server. | |
| int | focus_npc |
| Focusing: gNPC Index. | |
| int | focus_wait |
| Focusing: Camera speed. | |
| int * | old_focus_x |
| Focusing: Old focus X ptr. | |
| int * | old_focus_y |
| Focusing: Old focus Y ptr. | |
| unsigned char | wait_beam |
| NOD cursor blink. | |
| NPCHAR * | source_npc |
| The NPC that was used to start the event. | |
Text script state object.
| char TEXT_SCRIPT::lock_mode |
Lock mode.
0 = None\n1 = <KEY\n2 = <PRI
| signed char TEXT_SCRIPT::mode |
Mode (ex.
NOD, WAI)