mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 13:51:43 +00:00
Match freeslot count with SRB2Kart
This commit is contained in:
parent
0c59a46d5a
commit
d5c8fcac2b
2 changed files with 4 additions and 4 deletions
|
@ -21791,7 +21791,7 @@ void P_PatchInfoTables(void)
|
||||||
INT32 i;
|
INT32 i;
|
||||||
char *tempname;
|
char *tempname;
|
||||||
|
|
||||||
#if NUMSPRITEFREESLOTS > 1000
|
#if NUMSPRITEFREESLOTS > 9999 //tempname numbering actually starts at SPR_FIRSTFREESLOT, so the limit is actually 9999 + SPR_FIRSTFREESLOT-1, but the preprocessor doesn't understand enums, so its left at 9999 for safety
|
||||||
"Update P_PatchInfoTables, you big dumb head"
|
"Update P_PatchInfoTables, you big dumb head"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21799,8 +21799,8 @@ void P_PatchInfoTables(void)
|
||||||
for (i = SPR_FIRSTFREESLOT; i <= SPR_LASTFREESLOT; i++)
|
for (i = SPR_FIRSTFREESLOT; i <= SPR_LASTFREESLOT; i++)
|
||||||
{
|
{
|
||||||
tempname = sprnames[i];
|
tempname = sprnames[i];
|
||||||
tempname[0] = 'F';
|
tempname[0] = (char)('0' + (char)((i-SPR_FIRSTFREESLOT+1)/1000));
|
||||||
tempname[1] = (char)('0' + (char)((i-SPR_FIRSTFREESLOT+1)/100));
|
tempname[1] = (char)('0' + (char)(((i-SPR_FIRSTFREESLOT+1)/100)%10));
|
||||||
tempname[2] = (char)('0' + (char)(((i-SPR_FIRSTFREESLOT+1)/10)%10));
|
tempname[2] = (char)('0' + (char)(((i-SPR_FIRSTFREESLOT+1)/10)%10));
|
||||||
tempname[3] = (char)('0' + (char)((i-SPR_FIRSTFREESLOT+1)%10));
|
tempname[3] = (char)('0' + (char)((i-SPR_FIRSTFREESLOT+1)%10));
|
||||||
tempname[4] = '\0';
|
tempname[4] = '\0';
|
||||||
|
|
|
@ -572,7 +572,7 @@ void A_ChangeHeight();
|
||||||
extern int actionsoverridden[NUMACTIONS][MAX_ACTION_RECURSION];
|
extern int actionsoverridden[NUMACTIONS][MAX_ACTION_RECURSION];
|
||||||
|
|
||||||
// ratio of states to sprites to mobj types is roughly 6 : 1 : 1
|
// ratio of states to sprites to mobj types is roughly 6 : 1 : 1
|
||||||
#define NUMMOBJFREESLOTS 512
|
#define NUMMOBJFREESLOTS 1024
|
||||||
#define NUMSPRITEFREESLOTS NUMMOBJFREESLOTS
|
#define NUMSPRITEFREESLOTS NUMMOBJFREESLOTS
|
||||||
#define NUMSTATEFREESLOTS (NUMMOBJFREESLOTS*8)
|
#define NUMSTATEFREESLOTS (NUMMOBJFREESLOTS*8)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue