mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Challenge Grid is 5 tiles high now again
I'm sorry, it was just TOO SWAG. Gamedata minor version increment
This commit is contained in:
parent
20f47a69dd
commit
07afe6cb06
4 changed files with 7 additions and 7 deletions
|
|
@ -4388,7 +4388,7 @@ void G_LoadGameSettings(void)
|
|||
}
|
||||
|
||||
#define GD_VERSIONCHECK 0xBA5ED123 // Change every major version, as usual
|
||||
#define GD_VERSIONMINOR 6 // Change every format update
|
||||
#define GD_VERSIONMINOR 7 // Change every format update
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
|
@ -4481,7 +4481,7 @@ void G_LoadGameData(void)
|
|||
FIL_WriteFile(va("%s" PATHSEP "%s.bak", srb2home, gamedatafilename), save.buffer, save.size);
|
||||
}
|
||||
|
||||
if ((versionMinor == 0 || versionMinor == 1)
|
||||
if ((versionMinor <= 6)
|
||||
#ifdef DEVELOP
|
||||
|| M_CheckParm("-resetchallengegrid")
|
||||
#endif
|
||||
|
|
@ -4593,7 +4593,7 @@ void G_LoadGameData(void)
|
|||
if (gridunusable)
|
||||
{
|
||||
UINT16 burn = READUINT16(save.p); // Previous challengegridwidth
|
||||
UINT8 height = (versionMinor > 0) ? CHALLENGEGRIDHEIGHT : 5;
|
||||
UINT8 height = (versionMinor && versionMinor <= 6) ? 4 : CHALLENGEGRIDHEIGHT;
|
||||
save.p += (burn * height * unlockreadsize); // Step over previous grid data
|
||||
|
||||
gamedata->challengegridwidth = 0;
|
||||
|
|
|
|||
|
|
@ -5572,7 +5572,7 @@ static void M_DrawChallengePreview(INT32 x, INT32 y)
|
|||
addflags ^= V_FLIP; // This sprite is left/right flipped!
|
||||
}
|
||||
|
||||
V_DrawFixedPatch(x*FRACUNIT, (y+6)*FRACUNIT, FRACUNIT, addflags, patch, NULL);
|
||||
V_DrawFixedPatch(x*FRACUNIT, (y+7)*FRACUNIT, FRACUNIT, addflags, patch, NULL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -6105,7 +6105,7 @@ void M_DrawChallenges(void)
|
|||
|
||||
y = currentMenu->y;
|
||||
|
||||
V_DrawFadeFill(0, y-2, BASEVIDWIDTH, 90, 0, 31, challengetransparentstrength);
|
||||
V_DrawFadeFill(0, y-2, BASEVIDWIDTH, (challengesgridstep * CHALLENGEGRIDHEIGHT) + 2, 0, 31, challengetransparentstrength);
|
||||
|
||||
x -= (challengesgridstep-1);
|
||||
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@ typedef enum
|
|||
#define MAXEMBLEMS (MAXCONDITIONSETS*2)
|
||||
#define MAXUNLOCKABLES MAXCONDITIONSETS
|
||||
|
||||
#define CHALLENGEGRIDHEIGHT 4
|
||||
#define CHALLENGEGRIDHEIGHT 5
|
||||
#ifdef DEVELOP
|
||||
#define CHALLENGEGRIDLOOPWIDTH 3
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ menu_t MISC_ChallengesDef = {
|
|||
&MainDef,
|
||||
0,
|
||||
MISC_ChallengesStatsDummyMenu,
|
||||
BASEVIDWIDTH/2, 30,
|
||||
BASEVIDWIDTH/2, 11,
|
||||
0, 0,
|
||||
0,
|
||||
"UNLOCK",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue