Skip to content

Fix and refactor drawOnMinimap (resolves #39, #192)

JugadorXEI requested to merge JugadorXEI/RingRacers:drawOnMinimapInbounds into master

This MR fixes drawOnMinimap to respect the current advances in minimap drawing technology.

A refactor was made to remove almost all of the hard-coded cruft from it, extracting the flags- and position-related code used in the actual minimap code into functions to be used in drawOnMinimap, for simplification and ease of maintenance.

Test script (by Togen, draws a dot on your position every so often): DL_MapTrails-vbad.lua

Before:

ApplicationFrameHost_rjbpzatEuu

After:

ApplicationFrameHost_9EXlfqSRgD

Merge request reports

Loading