mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
clang: cleanup
This commit is contained in:
parent
f4886657c1
commit
68054a49e3
3 changed files with 3 additions and 3 deletions
|
@ -603,7 +603,7 @@ static void F_IntroDrawScene(void)
|
||||||
|
|
||||||
if (finalecount-84 < 58) { // Pure Fat is driving up!
|
if (finalecount-84 < 58) { // Pure Fat is driving up!
|
||||||
int ftime = (finalecount-84);
|
int ftime = (finalecount-84);
|
||||||
x = (-189<<FRACBITS) + (FixedMul((6<<FRACBITS)+FRACUNIT/3, ftime<<FRACBITS) - FixedMul((6<<FRACBITS)+FRACUNIT/3, FixedDiv(FixedMul(ftime<<FRACBITS, ftime<<FRACBITS), 120<<FRACBITS)));
|
x = (-189*FRACUNIT) + (FixedMul((6<<FRACBITS)+FRACUNIT/3, ftime<<FRACBITS) - FixedMul((6<<FRACBITS)+FRACUNIT/3, FixedDiv(FixedMul(ftime<<FRACBITS, ftime<<FRACBITS), 120<<FRACBITS)));
|
||||||
y = (BASEVIDHEIGHT<<FRACBITS) - FixedMul(417<<FRACBITS, aspect);
|
y = (BASEVIDHEIGHT<<FRACBITS) - FixedMul(417<<FRACBITS, aspect);
|
||||||
// Draw the body
|
// Draw the body
|
||||||
V_DrawSciencePatch(x, y, V_SNAPTOLEFT|V_SNAPTOBOTTOM, (patch = W_CachePatchName("PUREFAT1", PU_CACHE)), aspect);
|
V_DrawSciencePatch(x, y, V_SNAPTOLEFT|V_SNAPTOBOTTOM, (patch = W_CachePatchName("PUREFAT1", PU_CACHE)), aspect);
|
||||||
|
|
|
@ -4225,7 +4225,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
||||||
MT_GOOP, // painchance
|
MT_GOOP, // painchance
|
||||||
sfx_dmpain, // painsound
|
sfx_dmpain, // painsound
|
||||||
S_EGGMOBILE2_PAIN2, // meleestate
|
S_EGGMOBILE2_PAIN2, // meleestate
|
||||||
(mobjtype_t)MT_EGGMOBILE2_POGO, // missilestate
|
(statenum_t)MT_EGGMOBILE2_POGO, // missilestate
|
||||||
S_EGGMOBILE2_DIE1, // deathstate
|
S_EGGMOBILE2_DIE1, // deathstate
|
||||||
S_EGGMOBILE2_FLEE1,// xdeathstate
|
S_EGGMOBILE2_FLEE1,// xdeathstate
|
||||||
sfx_cybdth, // deathsound
|
sfx_cybdth, // deathsound
|
||||||
|
|
|
@ -677,7 +677,7 @@ static void M_PNGText(png_structp png_ptr, png_infop png_info_ptr, PNG_CONST png
|
||||||
else
|
else
|
||||||
snprintf(maptext, 8, "Unknown");
|
snprintf(maptext, 8, "Unknown");
|
||||||
|
|
||||||
if (gamestate == GS_LEVEL && mapheaderinfo[gamemap-1]->lvlttl)
|
if (gamestate == GS_LEVEL && mapheaderinfo[gamemap-1]->lvlttl[0] != '\0')
|
||||||
snprintf(lvlttltext, 48, "%s%s%s",
|
snprintf(lvlttltext, 48, "%s%s%s",
|
||||||
mapheaderinfo[gamemap-1]->lvlttl,
|
mapheaderinfo[gamemap-1]->lvlttl,
|
||||||
(mapheaderinfo[gamemap-1]->levelflags & LF_NOZONE) ? "" : " ZONE",
|
(mapheaderinfo[gamemap-1]->levelflags & LF_NOZONE) ? "" : " ZONE",
|
||||||
|
|
Loading…
Reference in a new issue