Decompile radarDrawDot

This commit is contained in:
Ryan Dwyer
2021-01-03 00:00:00 +10:00
parent cd4183e31b
commit 54431b05a4
3 changed files with 129 additions and 951 deletions
+120 -950
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -5,7 +5,7 @@
Gfx *func0f18e5ac(Gfx *gdl, struct textureconfig *tconfig, s32 arg2, s32 arg3, s32 arg4);
s32 radarGetTeamIndex(s32 team);
Gfx *radarDrawDot(Gfx *gdl, struct prop *prop, struct coord *dist, u32 colour, s32 arg4, s32 arg5);
Gfx *radarDrawDot(Gfx *gdl, struct prop *prop, struct coord *dist, u32 colour1, u32 colour2, bool swapcolours);
Gfx *radarRender(Gfx *gdl);
Gfx *radarRenderRTrackedProps(Gfx *gdl);
+8
View File
@@ -104,4 +104,12 @@
_g->words.w1 = (rgba); \
}
/**
* gDPFillRectangle - a wrapper around gDPFillRectangle which applies
* g_ScreenWidthMultiplier to the X coordinates.
*
* g_ScreenWidthMultiplier is normally 1, but 2 when using hi-res.
*/
#define gDPFillRectangleScaled(pkt, x1, y1, x2, y2) gDPFillRectangle(pkt, (x1) * g_ScreenWidthMultiplier, y1, (x2) * g_ScreenWidthMultiplier, y2)
#endif