mirror of
https://github.com/cellos51/balatro-gba.git
synced 2026-09-09 09:26:15 -05:00
Some checks failed
Build and Deploy Doxygen Docs / docs (push) Has been cancelled
* Move game over (win/lose) state functions to their own file * remove unused enum * clang format * Implement suggestions from @ricfehr3 * Fixing lack of highlighted button after skipping ablind * factorize as much game over state code as possible --------- Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com>
29 lines
525 B
C
29 lines
525 B
C
/**
|
|
* @file game_over.h
|
|
*
|
|
* @brief Game Over screen state functions
|
|
*/
|
|
#ifndef GAME_OVER_H
|
|
#define GAME_OVER_H
|
|
|
|
/**
|
|
* @brief Game Over screen state initialization when losing
|
|
*/
|
|
void game_lose_on_init(void);
|
|
|
|
/**
|
|
* @brief Game Over screen state initialization when winning
|
|
*/
|
|
void game_win_on_init(void);
|
|
|
|
/**
|
|
* @brief Game Over screen state update
|
|
*/
|
|
void game_over_on_update(void);
|
|
|
|
/**
|
|
* @brief Game Over screen cleanup, common to both losing and winning
|
|
*/
|
|
void game_over_on_exit(void);
|
|
|
|
#endif // GAME_OVER_H
|