|
Cavestory Mod API
|
Modules | |
| Flags | |
| Sound | |
| In-house math functions. | |
Functions | |
| CAVESTORY_MOD_API void | CheckNewLine () |
| Check if a new messagebox line needs to be created. More... | |
| CAVESTORY_MOD_API void | SetNumberTextScript (int iIndex) |
| Type a specific number into the message box. More... | |
| CAVESTORY_MOD_API void | SetCharacterNameTextScript () |
| Append the character's name into the messagebox. | |
| CAVESTORY_MOD_API void | ClearTextLine () |
| Clear the messagebox. | |
| CAVESTORY_MOD_API void | Server_FocusOnCurrentPlayer () |
| Focus on the player that started the event. | |
| CAVESTORY_MOD_API void | Server_ClearFocusFromPlayer () |
| Stop focusing on the event executor. | |
| CAVESTORY_MOD_API int | GetTextScriptNo (int a) |
| Get a number argument from the script. More... | |
| CAVESTORY_MOD_API bool | ReturnTextScript () |
| Return execution to last call command. More... | |
| CAVESTORY_MOD_API bool | JumpTextScript (int no, BOOL call=FALSE) |
| Jump to another event. More... | |
| CAVESTORY_MOD_API void | ShowTextLines (const char *pLine4, const char *pLine3, const char *pLine2, const char *pLine1) |
| Display a custom message in the message box. More... | |
| CAVESTORY_MOD_API void | DisplayCustomTextToScript (const char *pString, bool bSanitize=false) |
| Appends text to the current messagebox text. More... | |
| CAVESTORY_MOD_API void CheckNewLine | ( | ) |
Check if a new messagebox line needs to be created.
If so, then create it.
| CAVESTORY_MOD_API void DisplayCustomTextToScript | ( | const char * | pString, |
| bool | bSanitize = false |
||
| ) |
Appends text to the current messagebox text.
| pString | The text to add. |
| bSanitize | Whether to remove TSC from the input string or not. |
| CAVESTORY_MOD_API int GetTextScriptNo | ( | int | a | ) |
Get a number argument from the script.
| a | The textscript offset to read the number from. Usually 'gTS.p_read + [offset]'. |
| CAVESTORY_MOD_API bool JumpTextScript | ( | int | no, |
| BOOL | call = FALSE |
||
| ) |
Jump to another event.
| no | The event number to jump to. |
| call | If this is TRUE, the execution will jump back to where it was before this jumpscript call when an END tag is reached. |
| CAVESTORY_MOD_API bool ReturnTextScript | ( | ) |
Return execution to last call command.
| CAVESTORY_MOD_API void SetNumberTextScript | ( | int | iIndex | ) |
Type a specific number into the message box.
| iIndex |
| CAVESTORY_MOD_API void ShowTextLines | ( | const char * | pLine4, |
| const char * | pLine3, | ||
| const char * | pLine2, | ||
| const char * | pLine1 | ||
| ) |
Display a custom message in the message box.
| pLine4 | The fourth line. |
| pLine3 | The third line. |
| pLine2 | The second line. |
| pLine1 | The first line. |