mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
HUD tracking: hide text for overlapping trackers
This commit is contained in:
parent
5c3783bf62
commit
cd405290c1
1 changed files with 4 additions and 1 deletions
|
|
@ -167,6 +167,7 @@ struct TargetTracking
|
||||||
private:
|
private:
|
||||||
Graphics graphics() const
|
Graphics graphics() const
|
||||||
{
|
{
|
||||||
|
using layers = decltype(Animation::layers);
|
||||||
switch (mobj->type)
|
switch (mobj->type)
|
||||||
{
|
{
|
||||||
case MT_SUPER_FLICKY:
|
case MT_SUPER_FLICKY:
|
||||||
|
|
@ -196,7 +197,9 @@ private:
|
||||||
{{8, 2, {kp_capsuletarget_near[1]}}}, // 4P
|
{{8, 2, {kp_capsuletarget_near[1]}}}, // 4P
|
||||||
},
|
},
|
||||||
{{ // Far
|
{{ // Far
|
||||||
{2, 3, {kp_capsuletarget_far[0], kp_capsuletarget_far_text}}, // 1P
|
{2, 3, foreground ?
|
||||||
|
layers {kp_capsuletarget_far[0], kp_capsuletarget_far_text} :
|
||||||
|
layers {kp_capsuletarget_far[0]}}, // 1P
|
||||||
{{2, 3, {kp_capsuletarget_far[1]}}}, // 4P
|
{{2, 3, {kp_capsuletarget_far[1]}}}, // 4P
|
||||||
}},
|
}},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue