Curation round 20: player update, costumes and render, Missing No., the last actives and cards, familiars, Pin, the Frail, Wormwood and the Heretic, Dross to Gehenna, effects and the devil room purchase, champion colours, the quit path, save fields, shared vector helpers
This commit is contained in:
1 parent
ee863e70e6
commit
8dbeb1bc4a
168 files changed
+15682
-2399
No files matched your search
@@ -314,18 +314,6 @@ constexpr float HALF_TURN = 180;
|
||||
constexpr float FULL_TURN = 360;
|
||||
constexpr float SPRITE_UP = 90;
|
||||
|
||||
// The sounds the explosions play (Lua's SoundEffect).
|
||||
enum CombatSound : int
|
||||
{
|
||||
SOUND_BOSS_EXPLOSION = 182,
|
||||
SOUND_EXPLOSION_WEAK = 183,
|
||||
SOUND_EXPLOSION_STRONG = 184,
|
||||
SOUND_ROCKET_EXPLOSION = 587,
|
||||
SOUND_GFUEL_EXPLOSION = 822,
|
||||
SOUND_GFUEL_EXPLOSION_BIG = 823,
|
||||
SOUND_GLITTER_BOMB = 866
|
||||
};
|
||||
|
||||
static CombatEffect variant_get(const Entity_Effect& effect)
|
||||
{
|
||||
return static_cast<CombatEffect>(effect.variant);
|
||||
@@ -351,12 +339,6 @@ static float angle_wrap(float angle)
|
||||
return angle;
|
||||
}
|
||||
|
||||
// Math::timescale_factor 00684cb0: a per-frame factor stretched to the time scale.
|
||||
static float timescale_factor(float factor, float timeScale)
|
||||
{
|
||||
return timeScale == 1 ? factor : factor / (factor + timeScale - factor * timeScale);
|
||||
}
|
||||
|
||||
// Plays a sound through the fart seeds.
|
||||
static void sound_play(int sound, float volume, float pitch)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user