Skip to content

Expose BASEVIDWIDTH and BASEVIDHEIGHT to Lua and SOC

Hanicef requested to merge Hanicef/SRB2:expose-maxvid-const into next

Another one of those things that you'd expect to be available in Lua. The BASEVIDWIDTH and BASEVIDHEIGHT constants maps the virtual resolution that SRB2 uses for HUD elements, which is useful in HUD hooks for placing elements correctly without having to hardcode 320 and 200 into the code, respectively.

Edited by Hanicef

Merge request reports

Loading