run clang-format

This commit is contained in:
Pheenoh
2020-12-26 11:31:49 -05:00
parent 64a6a97b7b
commit 4c504d078d
180 changed files with 4083 additions and 4253 deletions
+5 -8
View File
@@ -9,13 +9,9 @@ static const unsigned int CLR_BLACK = 0;
typedef const char* ResFONT;
struct TColor {
TColor() {
*(u32*)&r = 0xFFFFFFFF;
}
TColor() { *(u32*)&r = 0xFFFFFFFF; }
TColor(u32 raw) {
*(u32*)&r = raw;
}
TColor(u32 raw) { *(u32*)&r = raw; }
u32 Raw() { return *(u32*)&r; }
@@ -29,7 +25,7 @@ class JUTFont {
public:
JUTFont();
virtual ~JUTFont();
struct TWidth {};
virtual void setGX() = 0;
@@ -51,7 +47,8 @@ public:
void initialize_state();
void setCharColor(TColor col1);
void setGradColor(TColor col1, TColor col2);
float drawString_size_scale(float a1, float a2, float a3, float a4, char* a5, unsigned long usz, bool a7);
float drawString_size_scale(float a1, float a2, float a3, float a4, char* a5, unsigned long usz,
bool a7);
bool unk4;
bool unk5;
+3 -4
View File
@@ -1,15 +1,15 @@
#ifndef JSYSTEM_JUTILITY_JUT_RES_FONT
#define JSYSTEM_JUTILITY_JUT_RES_FONT
#define JSYSTEM_JUTILITY_JUT_RES_FONT
#include "JSystem/JUtility/JUTFont/JUTFont.h"
#include "JSystem/JKernel/JKRHeap/JKRHeap.h"
#include "JSystem/JUtility/JUTFont/JUTFont.h"
class JUTResFont : JUTFont {
public:
JUTResFont();
JUTResFont(ResFONT font, JKRHeap* heap);
~JUTResFont();
struct Unknown {
struct Unknown2 {
u32 filler0;
@@ -54,5 +54,4 @@ public:
bool (**unk6C)(s32 a1);
};
#endif // JSYSTEM_JUTILITY_JUT_RES_FONT
+2 -1
View File
@@ -6,8 +6,9 @@
class JUTXfb {
public:
void clearIndex();
private:
void * xfb_buffer[3];
void* xfb_buffer[3];
bool is_xfb_allocated[3];
u8 padding_1;
s32 num_xfbs;