|
Spellforce-Spell-framework
|


Go to the source code of this file.
Classes | |
| struct | SFSF_CampaignDef |
Macros | |
| #define | SFSF_MAX_CAMPAIGNS 16 |
| #define | SFSF_CAMPAIGN_TYPE_BASE 3 |
| #define | SFSF_AVATAR_TYPE_BASE 8 |
| #define | SFSF_AVATAR_TYPE_MAX (SFSF_AVATAR_TYPE_BASE + SFSF_MAX_CAMPAIGNS - 1) |
Typedefs | |
| typedef GdAvatarInternal *(__thiscall * | avatarInternalCopy_ptr) (GdAvatarInternal *dest, GdAvatarInternal *src) |
| typedef void(__thiscall * | avatarVectorsCopy_ptr) (void *dest_vectors, void *src_vectors) |
| typedef void(__thiscall * | gameInfoSetAvatarType_ptr) (SF_GameInfo *_this, uint16_t avatar_type) |
| typedef void(__thiscall * | gameInfoSetMapPathFull_ptr) (SF_GameInfo *_this, SF_String *map_path) |
| typedef void(__thiscall * | appMenuEnterCampaignFlow_ptr) (CAppMenu *_this, uint32_t param_1) |
| typedef void(__fastcall * | playCampaignIntro_ptr) (CAppMenu *_this) |
| typedef void(__thiscall * | videoSequenceStop_ptr) (SF_CUiVideoSequence *_this) |
| typedef void(__thiscall * | startGame_ptr) (CAppMenu *_this, SF_GameInfo *game_info, uint32_t param_2, uint32_t param_3, uint32_t param_4, uint32_t coord, SF_String *param_6) |
| typedef SF_String *(__thiscall * | getSavePath_real_ptr) (SF_String *_this, int campaign_type) |
| typedef char **(__cdecl * | getBasePathString_ptr) (void *out_string_obj) |
| typedef uint32_t(__cdecl * | checkFileExists_ptr) (SF_String *name) |
| The engine's file existence check, resolved by initialize_campaign_hooks(). | |
Functions | |
| void | initialize_campaign_hooks () |
| void | initialize_preparenewgame_rewrite () |
| int32_t | register_campaign (const SFSF_CampaignDef *def) |
| void | campaign_hook_on_main_menu (CAppMenu *app_menu) |
| void __thiscall | show_custom_campaign_screen (CMnuSmpButton *_this) |
| Builds the campaign screen. | |
| void __thiscall | on_campaign_selected (CMnuSmpButton *_this) |
| Left panel row callback. | |
| void __thiscall | on_campaign_play (CMnuSmpButton *_this) |
| Play button callback - launches whatever the list has selected. | |
| void __thiscall | initFirstMap (SF_GameInfo *_this, uint32_t skip_tutorial, uint8_t skill, uint8_t subskill, uint32_t campaign_id, bool is_shadowblade) |
| Proper map selection code for the future. | |