The base mod interface.
Definition: CSMAPI_BaseModInterface.h:36
virtual int GetIntroSequenceLength()
Define the length of the intro sequence in ticks.
Definition: CSMAPI_BaseModInterface.h:91
~BaseModInterface()
Default deconstructor.
static BaseModInterface * gsModInterface
The current mod interface.
Definition: CSMAPI_BaseModInterface.h:41
BaseModInterface()
Default constructor.
virtual void OnShutdown()
Called when the mod is exiting.
Definition: CSMAPI_BaseModInterface.h:64
virtual int OnInit()
Called when the mod is initialized.
Definition: CSMAPI_BaseModInterface.h:60
virtual bool DisableEveryoneDiedEvent()
Defines whether this mod should force the 'TestEveryoneDied()' to always return 'false'.
Definition: CSMAPI_BaseModInterface.h:101
virtual bool IsMultiplayer()
Defines whether this mod supports multiplayer or not.
Definition: CSMAPI_BaseModInterface.h:76
virtual bool IsSingleplayer()
Defines whether this mod supports singleplayer or not.
Definition: CSMAPI_BaseModInterface.h:81
virtual bool IsRevivingPlayersAllowed()
Define whether this mod allows reviving players.
Definition: CSMAPI_BaseModInterface.h:96
virtual bool HasIntroSequence()
Define whether this mod has an intro sequence or not.
Definition: CSMAPI_BaseModInterface.h:86
virtual int OnEnterTitleScreen(bool &bImmediateReturn, unsigned char &pAction)
Called when the titlescreen is initialized.
Definition: CSMAPI_BaseModInterface.h:71
#define CAVESTORY_MOD_API
Exports / imports Cavestory Mod API functions & classes.
Definition: CSMAPI_begincode.h:30