mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-14 04:22:41 -04:00
Decompile radarDrawDot
This commit is contained in:
+120
-950
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user