|
Cavestory Mod API
|
Go to the source code of this file.
Classes | |
| struct | SDL_Rect |
| struct | RECT |
| Rect structure. More... | |
| struct | CSM_POINT |
| Point structure. More... | |
| struct | FRAME |
| Camera struct. More... | |
| struct | CUSTOM_FRAME_LIMITS |
| Custom frame limit object. More... | |
| class | FontManager |
| Manages fonts. More... | |
| class | FontHandle |
| A handle for fonts. More... | |
| struct | GUI_COLOR |
| Manages colors. More... | |
| struct | GUI_POINT |
| Manages points. More... | |
| struct | GUI_POINT_F |
| Manages points (float). More... | |
| struct | GUI_RECT |
| struct | BULLET |
| Bullet object. More... | |
| struct | PERMIT_STAGE |
| Permit stage object. More... | |
| struct | ARMS |
| Weapon object. More... | |
| struct | ITEM |
| Item object. More... | |
| struct | CARET |
| Stores particle information. More... | |
| struct | MYCHAR_PHYSICS |
| Physics specifier for MYCHAR. More... | |
| struct | CUSTOM_OBJECT |
| Custom object structure. More... | |
| struct | CUSTOM_PLAYER_ANIMATION_INFO |
| Animation information for CustomPlayerAnimation. More... | |
| struct | MYCHAR |
| Player character object. More... | |
| struct | SafeClientInterface |
| SafeClientInterface. More... | |
| struct | ShootInfo |
| ShootInfo structure. More... | |
| struct | NPCHAR |
| NPC object. More... | |
| struct | WHIMSICAL_STAR |
| Whimsical star object. More... | |
| struct | _NPCHAR_CACHE |
| struct | PROFILE |
| Stores information for save files. More... | |
| struct | TEXT_SCRIPT_PTR_DATA |
| Text script pointer data. More... | |
| struct | TEXT_SCRIPT |
| Text script state object. More... | |
| struct | TEXT_SCRIPT_CALLSTACK_DATA |
| Callstack data for text script. More... | |
| class | GuiBase |
| The base class for GUI elements. More... | |
| class | CenteredTextInfo |
| Draw centered text. More... | |
| class | LabelInfo |
| Text. More... | |
| class | SelectableLabelInfo |
| Text. More... | |
| class | ScrollAreaInfo |
| A scroll area. More... | |
| class | TextInputInfo |
| Show a text input box. More... | |
| class | KeyInputInfo |
| Show a text input box. More... | |
| class | CheckBoxInfo |
| Show a toggleable checkbox. More... | |
| class | SliderIntInfo |
| Show a number slider. More... | |
| class | ButtonInfo |
| Show a clickable button. More... | |
| class | DropdownBoxInfo |
| Show a dropdown box. More... | |
| struct | DropdownBoxInfo::DBI_Item |
| Dropdown box item struct. More... | |
| class | ColorPickerInfo |
| Several combined GUI elements to form a color picker. More... | |
| class | DraggableWindowInfo |
| Show a clickable button. More... | |
| class | GroupBoxInfo |
| Show a windows-style group box. More... | |
| class | TabBookInfo |
| Show a tab selector. More... | |
| struct | TabBookInfo::TAB |
| Dropdown box item struct. More... | |
| class | CustomDrawInfo |
| Custom draw GUI element. More... | |
| class | DrawBitmapInfo |
| Custom draw GUI element. More... | |
| class | CaveStoryDialogBoxInfo |
| Custom draw GUI element. More... | |
| struct | SystemMenuItem |
| System menu info struct. More... | |
| class | SystemMenuInfo |
| Show a dropdown box. More... | |
| class | SelectableListInfo |
| Text. More... | |
| struct | SelectableListInfo::SEL_LIST_ENTRY |
| Stores info for an entry. More... | |
| struct | RAYCAST_QUERY |
| Stores information from CSM_CastRay(). More... | |
| struct | MAP_CHANGED_TILE |
| class | MAP_ZONE |
| A map zone to be used for network optimization. More... | |
| struct | MAP_ZONE::MAP_ZONE_RECT_STRUCT |
| The rect for this zone. More... | |
| struct | MAP_ANIMATED_TILE |
| Contains an animated map tile's information. More... | |
| struct | MAP_DATA |
| Contains the currently loaded stage's map data. More... | |
| struct | MYCHAR_STATE_ARG_INFO |
| Player state argument info. More... | |
| struct | MYCHAR_STATE_INFO |
| Player state information. More... | |
| struct | CSM_RANKED_CLIENT_INFO |
| A client's ranked info. More... | |
| struct | DYNAMIC_WINDOW_CONFIG |
| DynamicWindowMode config struct. More... | |
| struct | CSM_QSA_Data |
| Quick Surface Access data. More... | |
Typedefs | |
| typedef struct SDL_Rect | SDL_Rect |
| typedef int | BOOL |
| typedef void * | NetClientPointer |
| typedef int | NetClientGhostId |
| typedef void(* | PutNPCFunc) (NPCHAR *npc, int fx, int fy) |
| A custom draw function for NPCHAR. More... | |
| typedef void(* | FreeNPCFunc) (NPCHAR *npc) |
| A custom free function for NPCHAR. More... | |
| typedef BOOL(* | CollideNPCFunc) (NPCHAR *npc) |
| Custom collision detection function. More... | |
| typedef struct FontObject | FontObject |
| typedef void(* | SystemMenuInfo_OnItemClickFunc) (SystemMenuInfo *pSMI, SystemMenuItem *pItem) |
| typedef void(* | PlayerState_ActFuncType) (BOOL bKey, SafeClientInterface *pInterface, MYCHAR *pMC, const MYCHAR_PHYSICS *pPhysics) |
| The act function for this player state. More... | |
| typedef unsigned int(* | PlayerState_AnimFuncType) (BOOL bKey, MYCHAR *pMC, SafeClientInterface *pInterface) |
| The animation function for this player state. More... | |
| typedef void(* | PlayerState_DrawFuncType) (int iFrameX, int iFrameY, MYCHAR *pMC, SafeClientInterface *pInterface) |
| The draw function for this player state. More... | |
| typedef float(* | CSM_NetScore_GetScoreModifyAmount) (CaveNet::DataStructures::NetClient *pClient, CaveNet::DataStructures::NetScoreInstance *pInstance) |
| Determine the amount of score to be modified for a client. More... | |
| typedef void(* | CSM_Weapon_ShootFunc) (ShootInfo *sData, int iLevel) |
| Called every frame a weapon is equipped, for every client. More... | |
| typedef void(* | CSM_Bullet_ActFunc) (BULLET *pBul, int iLevel) |
| Called every frame a bullet is active. More... | |
| typedef void(* | CSM_Npc_ActFunc) (NPCHAR *pNpc) |
| Called every frame an NPC is active. More... | |
| typedef void(* | CSM_Caret_ActFunc) (CARET *caret) |
| Called every frame a caret is active. More... | |
Functions | |
| CAVESTORY_MOD_API void | GetTrg () |
| typedef BOOL(* CollideNPCFunc) (NPCHAR *npc) |
Custom collision detection function.
| npc | A pointer to the NPC. |
| typedef void(* CSM_Bullet_ActFunc) (BULLET *pBul, int iLevel) |
Called every frame a bullet is active.
| pBul | A pointer to the bullet. |
| iLevel | The level of the bullet. |
| typedef void(* CSM_Caret_ActFunc) (CARET *caret) |
Called every frame a caret is active.
| caret | A pointer to the caret. |
| typedef float(* CSM_NetScore_GetScoreModifyAmount) (CaveNet::DataStructures::NetClient *pClient, CaveNet::DataStructures::NetScoreInstance *pInstance) |
Determine the amount of score to be modified for a client.
| pClient | The client to modify the score of. |
| pInstance | The instance that holds the point info. |
| typedef void(* CSM_Npc_ActFunc) (NPCHAR *pNpc) |
Called every frame an NPC is active.
| pNpc | A pointer to the NPC. |
| typedef void(* CSM_Weapon_ShootFunc) (ShootInfo *sData, int iLevel) |
Called every frame a weapon is equipped, for every client.
| sData | The shoot information. |
| iLevel | The level of the weapon, starting from 1. |
| typedef void(* FreeNPCFunc) (NPCHAR *npc) |
A custom free function for NPCHAR.
Called just before an NPC is changed.
| npc | A pointer to the NPC. |
| typedef void(* PlayerState_ActFuncType) (BOOL bKey, SafeClientInterface *pInterface, MYCHAR *pMC, const MYCHAR_PHYSICS *pPhysics) |
The act function for this player state.
| bKey | Whether key inputs should be allowed for this tick or not. |
| pInterface | The safe interface for this player. |
| pMC | The player character we should be manipulating. |
| pPhysics | The physics we should be using for this tick. If the player is in water, this will be pMC->physics_underwater. If not, then it will be pMC->physics_normal. |
| typedef unsigned int(* PlayerState_AnimFuncType) (BOOL bKey, MYCHAR *pMC, SafeClientInterface *pInterface) |
The animation function for this player state.
| bKey | Whether key inputs should be allowed for this tick or not. |
| pMC | The player character we should be manipulating. |
| pInterface | The safe interface for this player. |
| typedef void(* PlayerState_DrawFuncType) (int iFrameX, int iFrameY, MYCHAR *pMC, SafeClientInterface *pInterface) |
The draw function for this player state.
| iFrameX | The camera X offset. |
| iFrameY | The camera Y offset. |
| pMC | The player character we should be manipulating. |
| pInterface | The interface for this player. |