-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix on animation opening for some Sonic Mania animations
- Loading branch information
Showing
16 changed files
with
135 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.IO; | ||
|
||
namespace RSDK | ||
{ | ||
public interface IHitbox | ||
{ | ||
int Left { get; set; } | ||
|
||
int Top { get; set; } | ||
|
||
int Right { get; set; } | ||
|
||
int Bottom { get; set; } | ||
|
||
void SaveChanges(BinaryWriter writer); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using RSDK; | ||
using System.IO; | ||
|
||
namespace RSDK3 | ||
{ | ||
public class Hitbox : IHitbox | ||
{ | ||
public int Left { get; set; } | ||
|
||
public int Top { get; set; } | ||
|
||
public int Right { get; set; } | ||
|
||
public int Bottom { get; set; } | ||
|
||
public Hitbox() { } | ||
|
||
public Hitbox(BinaryReader reader) | ||
{ | ||
Left = reader.ReadSByte(); | ||
Top = reader.ReadSByte(); | ||
Right = reader.ReadSByte(); | ||
Bottom = reader.ReadSByte(); | ||
} | ||
|
||
public void SaveChanges(BinaryWriter writer) | ||
{ | ||
writer.Write((sbyte)Left); | ||
writer.Write((sbyte)Top); | ||
writer.Write((sbyte)Right); | ||
writer.Write((sbyte)Bottom); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.