Cavestory Mod API
Classes | Macros | Functions
TextScript

Classes

class  ModTextScriptCommand
 Automatically sets up every textscript command in the mod after calling ModTextScriptCommand::Init(). More...
 

Macros

#define TSC_NAME_TO_HEX(A, B, C)   (int(A) | (int(B) << 8) | (int(C) << 16))
 Convert three characters to a unique identifier for textscript commands. More...
 

Functions

 ModTextScriptCommand::ModTextScriptCommand (TSCRunFunc pCommand, char pFirst, char pSecond, char pThird, const char *pShortDesc, const char *pDesc, const char *pArgs)
 Constructor.
 
 ModTextScriptCommand::~ModTextScriptCommand ()
 Deconstructor.
 
static void ModTextScriptCommand::Init ()
 Initialize the text script commands.
 

Detailed Description

Macro Definition Documentation

◆ TSC_NAME_TO_HEX

#define TSC_NAME_TO_HEX (   A,
  B,
 
)    (int(A) | (int(B) << 8) | (int(C) << 16))

Convert three characters to a unique identifier for textscript commands.

Parameters
AThe first character.
BThe second character.
CThe third character.