mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-16 09:02:06 +00:00
Increase MAXCONDITIONSETS to 256
This commit is contained in:
parent
47bcad4ab1
commit
46711f2315
3 changed files with 4 additions and 5 deletions
|
@ -157,8 +157,7 @@ void clear_unlockables(void)
|
|||
|
||||
void clear_conditionsets(void)
|
||||
{
|
||||
UINT8 i;
|
||||
for (i = 0; i < MAXCONDITIONSETS; ++i)
|
||||
for (unsigned i = 0; i < MAXCONDITIONSETS; ++i)
|
||||
M_ClearConditionSet(i+1);
|
||||
}
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ void M_CopyGameData(gamedata_t *dest, gamedata_t *src)
|
|||
}
|
||||
}
|
||||
|
||||
void M_AddRawCondition(UINT8 set, UINT8 id, conditiontype_t c, INT32 r, INT16 x1, INT16 x2)
|
||||
void M_AddRawCondition(UINT16 set, UINT8 id, conditiontype_t c, INT32 r, INT16 x1, INT16 x2)
|
||||
{
|
||||
condition_t *cond;
|
||||
UINT32 num, wnum;
|
||||
|
|
|
@ -137,7 +137,7 @@ typedef struct
|
|||
|
||||
// If you have more secrets than these variables allow in your game,
|
||||
// you seriously need to get a life.
|
||||
#define MAXCONDITIONSETS 128
|
||||
#define MAXCONDITIONSETS 256
|
||||
#define MAXEMBLEMS 512
|
||||
#define MAXEXTRAEMBLEMS 48
|
||||
#define MAXUNLOCKABLES 80
|
||||
|
@ -233,7 +233,7 @@ gamedata_t *M_NewGameDataStruct(void);
|
|||
void M_CopyGameData(gamedata_t *dest, gamedata_t *src);
|
||||
|
||||
// Condition set setup
|
||||
void M_AddRawCondition(UINT8 set, UINT8 id, conditiontype_t c, INT32 r, INT16 x1, INT16 x2);
|
||||
void M_AddRawCondition(UINT16 set, UINT8 id, conditiontype_t c, INT32 r, INT16 x1, INT16 x2);
|
||||
|
||||
// Clearing secrets
|
||||
void M_ClearConditionSet(UINT8 set);
|
||||
|
|
Loading…
Reference in a new issue