Convert BG_ID_* defines to enum BackgroundId (#265)

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
Tygyh
2025-11-30 08:53:51 +02:00
committed by GitHub
co-authored by Copilot
parent 0953a430c4
commit 8bba449196
2 changed files with 38 additions and 35 deletions
+10 -7
View File
@@ -14,13 +14,16 @@
#define MAX_INTEREST 5
#define INTEREST_PER_5 1
// TODO: Turn into enum?
#define BG_ID_CARD_SELECTING 1
#define BG_ID_CARD_PLAYING 2
#define BG_ID_ROUND_END 3
#define BG_ID_SHOP 4
#define BG_ID_BLIND_SELECT 5
#define BG_ID_MAIN_MENU 6
enum BackgroundId
{
BG_NONE,
BG_CARD_SELECTING,
BG_CARD_PLAYING,
BG_ROUND_END,
BG_SHOP,
BG_BLIND_SELECT,
BG_MAIN_MENU
};
// Input bindings
#define SELECT_CARD KEY_A