mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-28 14:31:15 +00:00
Merge branch 'EOL-33' into EOL
# Conflicts: # src/p_enemy.c
This commit is contained in:
commit
27dcac7c7c
2 changed files with 2 additions and 1 deletions
|
@ -10799,7 +10799,7 @@ void P_InternalFlickySetColor(mobj_t *actor, UINT8 extrainfo)
|
||||||
if (extrainfo == 0)
|
if (extrainfo == 0)
|
||||||
// until we can customize flicky colors by level header, just stick to SRB2's defaults
|
// until we can customize flicky colors by level header, just stick to SRB2's defaults
|
||||||
actor->color = flickycolors[P_RandomKey(2)]; //flickycolors[P_RandomKey(sizeof(flickycolors))];
|
actor->color = flickycolors[P_RandomKey(2)]; //flickycolors[P_RandomKey(sizeof(flickycolors))];
|
||||||
else if (extrainfo-1 < sizeof(flickycolors))
|
else if (extrainfo-1 < 15) //sizeof(flickycolors))
|
||||||
actor->color = flickycolors[extrainfo-1];
|
actor->color = flickycolors[extrainfo-1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -311,6 +311,7 @@ void P_NewChaseDir(mobj_t *actor);
|
||||||
boolean P_LookForPlayers(mobj_t *actor, boolean allaround, boolean tracer, fixed_t dist);
|
boolean P_LookForPlayers(mobj_t *actor, boolean allaround, boolean tracer, fixed_t dist);
|
||||||
|
|
||||||
mobj_t *P_InternalFlickySpawn(mobj_t *actor, mobjtype_t flickytype, fixed_t momz, boolean lookforplayers);
|
mobj_t *P_InternalFlickySpawn(mobj_t *actor, mobjtype_t flickytype, fixed_t momz, boolean lookforplayers);
|
||||||
|
void P_InternalFlickySetColor(mobj_t *actor, UINT8 extrainfo);
|
||||||
#define P_IsFlickyCenter(type) (type > MT_FLICKY_01 && type < MT_SEED && (type - MT_FLICKY_01) % 2 ? 1 : 0)
|
#define P_IsFlickyCenter(type) (type > MT_FLICKY_01 && type < MT_SEED && (type - MT_FLICKY_01) % 2 ? 1 : 0)
|
||||||
void P_InternalFlickyBubble(mobj_t *actor);
|
void P_InternalFlickyBubble(mobj_t *actor);
|
||||||
void P_InternalFlickyFly(mobj_t *actor, fixed_t flyspeed, fixed_t targetdist, fixed_t chasez);
|
void P_InternalFlickyFly(mobj_t *actor, fixed_t flyspeed, fixed_t targetdist, fixed_t chasez);
|
||||||
|
|
Loading…
Reference in a new issue