#ifndef IN_GAME_CHEATS_H #define IN_GAME_CHEATS_H #include #include "data.h" #include "types.h" extern struct menudialog g_CheatsMenuDialog; u32 cheatIsUnlocked(s32 cheat_id); bool cheatIsActive(s32 cheat_id); void cheatActivate(s32 cheat_id); void cheatDeactivate(s32 cheat_id); void cheatsDisableAll(void); void cheatsActivate(void); char *cheatGetNameIfUnlocked(struct menuitem *item); char *cheatGetMarquee(struct menuitem *item); s32 cheatGetByTimedStageIndex(s32 stage_index, s32 difficulty); s32 cheatGetByCompletedStageIndex(s32 stage_index); s32 cheatGetTime(s32 cheat_id); char *cheatGetName(s32 cheat_id); s32 cheatMenuHandleDialog(s32 operation, struct menudialog *dialog, union handlerdata *data); s32 cheatMenuHandleCheatCheckbox(s32 operation, struct menuitem *item, union handlerdata *data); s32 cheatMenuHandleBuddyCheckbox(s32 operation, struct menuitem *item, union handlerdata *data); s32 cheatMenuHandleTurnOffAllCheats(s32 operation, struct menuitem *item, union handlerdata *data); #endif