mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
run clang-format
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user