mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 12:14:20 +01:00
clion pls
This commit is contained in:
parent
fcb7e50e44
commit
4cf1150002
@ -94,8 +94,6 @@ struct TextPrinterSubStruct
|
|||||||
u8 active;
|
u8 active;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct TextPrinter
|
|
||||||
{
|
|
||||||
struct TextSubPrinter { // TODO: Better name
|
struct TextSubPrinter { // TODO: Better name
|
||||||
u8* current_text_offset;
|
u8* current_text_offset;
|
||||||
u8 windowId;
|
u8 windowId;
|
||||||
@ -110,7 +108,11 @@ struct TextPrinter
|
|||||||
u8 fontColor_h:4;
|
u8 fontColor_h:4;
|
||||||
u8 bgColor:4;
|
u8 bgColor:4;
|
||||||
u8 shadowColor:4;
|
u8 shadowColor:4;
|
||||||
} subPrinter;
|
};
|
||||||
|
|
||||||
|
struct TextPrinter
|
||||||
|
{
|
||||||
|
struct TextSubPrinter subPrinter;
|
||||||
|
|
||||||
void (*callback)(struct TextSubPrinter *, u16); // 0x10
|
void (*callback)(struct TextSubPrinter *, u16); // 0x10
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "text.h"
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "palette.h"
|
#include "palette.h"
|
||||||
#include "string_util.h"
|
#include "string_util.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
#include "text.h"
|
||||||
|
|
||||||
extern void FillBitmapRect4Bit(struct Bitmap *surface, u16 x, u16 y, u16 width, u16 height, u8 fillValue);
|
extern void FillBitmapRect4Bit(struct Bitmap *surface, u16 x, u16 y, u16 width, u16 height, u8 fillValue);
|
||||||
extern void FillWindowPixelRect(u8 windowId, u8 fillValue, u16 x, u16 y, u16 width, u16 height);
|
extern void FillWindowPixelRect(u8 windowId, u8 fillValue, u16 x, u16 y, u16 width, u16 height);
|
||||||
|
Loading…
Reference in New Issue
Block a user