mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-10-08 01:34:14 -04:00
27 lines
743 B
C
27 lines
743 B
C
/* func_80136ECC — shared body (overlay slot 0x80128158, h_exact d16b428b). ONE source: instantiated by #include at each
|
|
* member's site in address order; the members are recorded in config/dedup.us.yaml (Phase 35). */
|
|
extern short D_800B9A02;
|
|
extern u8 D_800A6518[];
|
|
extern void GsSortLine(void *a0, void *a1, s32 a2);
|
|
void func_80136ECC(s16 a0, s16 a1, s16 a2, s16 a3, u8 r, u8 g, u8 b) {
|
|
struct {
|
|
u32 tag;
|
|
s16 x0;
|
|
s16 y0;
|
|
s16 x1;
|
|
s16 y1;
|
|
u8 r;
|
|
u8 g;
|
|
u8 b;
|
|
} line;
|
|
line.x0 = a0;
|
|
line.tag = 0;
|
|
line.y0 = a1;
|
|
line.x1 = a2;
|
|
line.y1 = a3;
|
|
line.r = r;
|
|
line.g = g;
|
|
line.b = b;
|
|
GsSortLine(&line, &D_800A6518[(u16)D_800B9A02 * 20], 0);
|
|
}
|