Skip to content

Commit

Permalink
mncharsel: minor formatting changes
Browse files Browse the repository at this point in the history
- Float f -> F
- Removed extra whitespace

Signed-off-by: Dylan Turner <[email protected]>
  • Loading branch information
blueOkiris committed Jun 11, 2024
1 parent b12dc10 commit cafaa29
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/melee/mn/mncharsel.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ extern CSSData* mnCharSel_804D6CB0;
extern SIS* HSD_SisLib_804D1124[];

// Can't be enum bc float, but reused values
#define ICONROWHT_TOP_TOP 20.0f
#define ICONROWHT_MID_TOP 13.0f
#define ICONROWHT_BTM_TOP 6.0f
#define ICONROWHT_BTM_BTM (-1.0f)
#define ICONROWHT_TOP_TOP 20.0F
#define ICONROWHT_MID_TOP 13.0F
#define ICONROWHT_BTM_TOP 6.0F
#define ICONROWHT_BTM_BTM (-1.0F)

// Can't be enum bc float, but reused values
#define ICONBNDS_COL0_L (-30.0f)
#define ICONBNDS_COL1_L (-24.399999618530273f)
#define ICONBNDS_COL2_L (-17.399999618530273f)
#define ICONBNDS_COL3_L (-10.399999618530273f)
#define ICONBNDS_COL4_L (-3.4000000953674316f)
#define ICONBNDS_COL5_L 3.5999999046325684f
#define ICONBNDS_COL6_L 10.600000381469727f
#define ICONBNDS_COL7_L 17.600000381469727f
#define ICONBNDS_COL8_L 24.399999618530273f
#define ICONBNDS_COL8_R 30.200000762939453f
#define ICONBNDS_COL0_L (-30.0F)
#define ICONBNDS_COL1_L (-24.399999618530273F)
#define ICONBNDS_COL2_L (-17.399999618530273F)
#define ICONBNDS_COL3_L (-10.399999618530273F)
#define ICONBNDS_COL4_L (-3.4000000953674316F)
#define ICONBNDS_COL5_L 3.5999999046325684F
#define ICONBNDS_COL6_L 10.600000381469727F
#define ICONBNDS_COL7_L 17.600000381469727F
#define ICONBNDS_COL8_L 24.399999618530273F
#define ICONBNDS_COL8_R 30.200000762939453F

CSSIconsData mnCharSel_803F0A48 = {
{
Expand Down Expand Up @@ -209,19 +209,19 @@ CSSDoorsData mnCharSel_803F0DFC = {
{
0x2E, 0x33, 0x38, 0x85, 0x29, 0xA6, 0x3D, 0x41, 0x40, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-35.599998474121094f, -28.600000381469727f, -26.799999237060547f, -21.0f
-35.599998474121094F, -28.600000381469727F, -26.799999237060547F, -21.0F
}, {
0x2F, 0x34, 0x39, 0x8D, 0x2A, 0xA8, 0x43, 0x47, 0x46, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-19.399999618530273f, -13.399999618530273f, -11.399999618530273f, -6.0f
-19.399999618530273F, -13.399999618530273F, -11.399999618530273F, -6.0F
}, {
0x30, 0x35, 0x3A, 0x95, 0x2B, 0xAA, 0x49, 0x4D, 0x4C, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-4.199999809265137f, 2.200000047683716f, 3.5f, 9.399999618530273f
-4.199999809265137F, 2.200000047683716F, 3.5F, 9.399999618530273F
}, {
0x31, 0x36, 0x3B, 0x9D, 0x2C, 0xAC, 0x4F, 0x53, 0x52, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
11.0f, 17.0f, 19.0f, 24.600000381469727f
11.0F, 17.0F, 19.0F, 24.600000381469727F
}
}, {
{ NULL, 0x70, 0x73, 0x74, 0x72, 0x71, 0x00, 0x00, 0x00 },
Expand All @@ -230,14 +230,14 @@ CSSDoorsData mnCharSel_803F0DFC = {
{ NULL, 0x7F, 0x82, 0x83, 0x81, 0x80, 0x00, 0x00, 0x00 }
}, 0x00, 0x00, 0x00, 0x00, 0x4A, 0x4D, 0x4E, 0x4C, 0x4B, 0x00, 0x00, 0x00, 0x2F, 0x01,
0x00000000, 0x00000000,
0.0f, -10.899999618530273f, -4.199999809265137f, 12.5f, 19.600000381469727f,
-6.800000190734863f, -12.100000381469727f,
0.0F, -10.899999618530273F, -4.199999809265137F, 12.5F, 19.600000381469727F,
-6.800000190734863F, -12.100000381469727F,
{ 0x35, 0x39, 0x36, 0x38, 0x37 },
-2.200000047683716f, 3.700000047683716f, 13.699999809265137f, 19.299999237060547f,
-12.399999618530273f, -16.600000381469727f,
-2.200000047683716F, 3.700000047683716F, 13.699999809265137F, 19.299999237060547F,
-12.399999618530273F, -16.600000381469727F,
{
{
NULL, -22.5f, 0x57,
NULL, -22.5F, 0x57,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
}, {
NULL, -7.099999904632568, 0x5D,
Expand All @@ -255,7 +255,7 @@ CSSDoorsData mnCharSel_803F0DFC = {

0x25, 0x64, 0x3A, 0x25, 0x30, 0x32, 0x64, 0x3A,
0x25, 0x30, 0x32, 0x64, 0x00, 0x00, 0x00, 0x00,

0x39, 0x39, 0x3A, 0x35, 0x39, 0x3A, 0x35, 0x39,
0x00, 0x00, 0x00, 0x00, 0x25, 0x64, 0x20, 0x90,

Expand Down

0 comments on commit cafaa29

Please sign in to comment.