Globalizes local random functions from HUD into random library and experimentally moves HUD non-drawing functions to hud library.
Random lib:
random.localfixed
random.localbyte
random.localkey
random.localrange
random.localsignedrandom
random.localchance
(just take description from current HUD random functions)
However, I still think this should be in its own MR.
HUD lib:
hud.patchExists
hud.cachePatch
hud.getSpritePatch
hud.getSprite2Patch
hud.width
hud.height
hud.scale
hud.renderer
(Same thing here)
NOTE: regarding hud.scale
, v.dupx
and v.dupy
are pretty much the same alias function at this point. So I just unify the name.
As another experiment. All HUDONLY
guardrails of these functions were removed. While my testing was issue-less, it should warrant some testing.
Edited by Skydusk
Merge request reports
Activity
Filter activity
added 132 commits
-
d4179f9a...5344213b - 131 commits from branch
STJr:next
- 764bb318 - Merge branch SRB2:next into freevideolibtohud
-
d4179f9a...5344213b - 131 commits from branch
added 1 commit
- 9132f690 - Removed getColormap && getStringColormap from hud library (not draw library).
Please register or sign in to reply