Fix Iterating over every blind instead of 3 max
This commit is contained in:
+7
-5
@@ -5,6 +5,8 @@
|
||||
|
||||
#define MAX_ANTE 8 // The GBA's max uint value is around 4 billion, so we're going to not add endless mode for simplicity's sake
|
||||
|
||||
#define BLIND_COUNT 3
|
||||
|
||||
#define SMALL_BLIND_PB 1
|
||||
#define BIG_BLIND_PB 2
|
||||
#define BOSS_BLIND_PB 3
|
||||
@@ -25,14 +27,14 @@ enum BlindColorIndex
|
||||
BLIND_BACKGROUND_SHADOW_COLOR_INDEX = 7,
|
||||
};
|
||||
|
||||
#define BLIND_INFO_TABLE \
|
||||
BLIND_INFO(SMALL, small, FIX_ONE) \
|
||||
BLIND_INFO(BIG, big, FIX_ONE) \
|
||||
BLIND_INFO(BOSS, boss, FIX_ONE)
|
||||
#define BLIND_INFO_TABLE \
|
||||
BLIND_INFO(SMALL, small, FIX_ONE, 3) \
|
||||
BLIND_INFO(BIG, big, (FIX_ONE * 3) / 2, 4) \
|
||||
BLIND_INFO(BOSS, boss, FIX_ONE * 2, 5)
|
||||
|
||||
enum BlindType
|
||||
{
|
||||
#define BLIND_INFO(NAME, name, multi) \
|
||||
#define BLIND_INFO(NAME, name, multi, reward) \
|
||||
BLIND_TYPE_##NAME ,
|
||||
BLIND_INFO_TABLE
|
||||
BLIND_TYPE_MAX,
|
||||
|
||||
Reference in New Issue
Block a user