This commit is contained in:
mountaindrew10 committed 2022-08-05 00:31:50 -05:00
commit e48980ae8a
2 files changed
+2 -2

No files matched your search

@@ -446,7 +446,7 @@ namespace CalamityMod.Items.Armor.MarniteArchitect
public override bool Draw(List<DrawData> playerDrawData, int drawType, Player drawPlayer, ref Texture2D texture, ref Texture2D glowTexture, ref Vector2 drawPosition, ref Rectangle frame, ref Color drawColor, ref Color glowColor, ref float rotation, ref SpriteEffects spriteEffects, ref Vector2 drawOrigin, ref float drawScale, float shadow)
{
rotation = drawPlayer.velocity.X * 0.03f;
rotation = MathHelper.Clamp(drawPlayer.velocity.X * 0.03f, - MathHelper.ToRadians(7f), MathHelper.ToRadians(7f));
drawPlayer.fullRotation = rotation;
// Draw is called for each mount texture we provide, so we check drawType to avoid duplicate draws.
+1 -1
View File
@@ -313,7 +313,7 @@ namespace CalamityMod
's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0' };
string[] MorseKeys = { " ", ".-|", "-...|", "-.-. |", "-..|", ".|", "..-.|"
, "--.|", "....|", "..|", ".---|","-.-|",".-..|","--|",
"-.|","---|",".--.|","--.-|",".-.|","...|","_|","..-|",
"-.|","---|",".--.|","--.-|",".-.|","...|","-|","..-|",
"...-|",".--|","-..-|","-.--|","--..|",".----|",
"..---|","...--|","....-|",".....|","-....|","--...|",
"---..|","----.|","-----|" };