diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/render_window.h (renamed from include/unk_0200CABC.h) | 69 |
1 files changed, 35 insertions, 34 deletions
diff --git a/include/unk_0200CABC.h b/include/render_window.h index 1dfba21d..385c61ad 100644 --- a/include/unk_0200CABC.h +++ b/include/render_window.h @@ -46,12 +46,12 @@ void FUN_0200CB00( struct BgConfig *bg_config, u32 layer, u32 num_tiles, u32 param3, u8 param4, u32 heap_id); void DrawFrame1(struct BgConfig *bgConfig, u8 bgId, - u8 param2, - u8 param3, - u8 param4, - u8 param5, - u8 param6, - u16 param7); + u8 x, + u8 y, + u8 width, + u8 height, + u8 paletteNum, + u16 fillValue); void DrawFrameAndWindow1(struct Window *window, BOOL copy_to_vram, u16 fill_value, u8 palette_num); void ClearFrameAndWindow1(struct Window *window, BOOL copy_to_vram); s32 FUN_0200CD60(s32 param0); @@ -60,27 +60,27 @@ void FUN_0200CD68( struct BgConfig *param0, u32 param1, u32 param2, u32 param3, u8 param4, u32 param5); void DrawFrame2(struct BgConfig *bgConfig, u8 bgId, - u8 param2, - u8 param3, - u8 param4, - u8 param5, - u8 param6, - u16 param7); + u8 x, + u8 y, + u8 width, + u8 height, + u8 paletteNum, + u16 fillValue); void DrawWindowFrame2(struct Window *window, u32 fill_value, u32 palette_num); void DrawFrameAndWindow2(struct Window *window, BOOL copy_to_vram, u16 fill_value, u8 palette_num); void ClearFrameAndWindow2(struct Window *window, BOOL param1); -void BlitRect4Bit(u8 *param0, - u16 param1, - u16 param2, - u16 param3, - u16 param4, - u8 *param5, - u16 param6, - u16 param7, - u16 param8, - u16 param9, - u16 param10, - u16 param11); +void BlitRect4Bit(u8 *srcPixels, + u16 srcX, + u16 srcY, + u16 srcWidth, + u16 srcHeight, + u8 *dstPixels, + u16 dstWidth, + u16 dstHeight, + u16 dstX, + u16 dstY, + u16 width, + u16 height); void FUN_0200D18C(struct Window *window, u16 fill_value); void FUN_0200D274( struct BgConfig *bg_config, u8 bg_id, u16 param2, u8 param3, u8 param4, u32 heap_id); @@ -95,15 +95,16 @@ void FUN_0200D378( struct BgConfig *bg_config, u8 bg_id, u16 numtiles, u8 param3, u16 param4, u32 heap_id); void DrawFrame3(struct BgConfig *bgConfig, u8 bgId, - u8 param2, - u8 param3, - u8 param4, - u8 param5, - u8 param6, - u16 param7); -void DrawWindowCorner(struct Window *window, u16 param1, u8 param2); -void DrawFrameAndWindow3(struct Window *window, BOOL param1, u16 param2, u8 param3, u8 param4); -void ClearFrameAndWindow3(struct Window *window, u8 param1, BOOL param2); + u8 x, + u8 y, + u8 width, + u8 height, + u8 paletteNum, + u16 fillValue); +void DrawWindowCorner(struct Window *window, u16 fillValue, u8 paletteNum); +void DrawFrameAndWindow3( + struct Window *window, BOOL copy_to_vram, u16 fillValue, u8 paletteNum, u8 param4); +void ClearFrameAndWindow3(struct Window *window, u8 param1, BOOL copy_to_vram); struct UnkStruct_0200CABC_1 *FUN_0200D858(struct Window *window, u32 param1); void FUN_0200D980(struct UnkStruct_0200CABC_1 *param0, u32 param1); void FUN_0200DB7C(u32 param0, void *param1); @@ -136,7 +137,7 @@ void FUN_0200DE30(struct UnkStruct_0200CABC_2 *param0, u8 param1, u8 param2); void FUN_0200DE80(struct UnkStruct_0200CABC_2 *param0, u16 param1, u8 param2); void FUN_0200DEC0(struct UnkStruct_0200CABC_2 *param0, struct Pokemon *param1); void FUN_0200DEF4(struct UnkStruct_0200CABC_2 *param0, struct SomeDrawPokemonStruct *param1); -void DrawFramed10x10Square(struct UnkStruct_0200CABC_2 *param0, u8 param1, u16 param2); +void DrawFramed10x10Square(struct UnkStruct_0200CABC_2 *param0, u8 paletteNum, u16 fillValue); void ClearFramed10x10Square(struct UnkStruct_0200CABC_2 *param0); #endif // POKEDIAMOND_UNK_0200CABC_H |