Skip to content
Snippets Groups Projects

Expose BASEVIDWIDTH and BASEVIDHEIGHT to Lua and SOC

Merged Hanicef requested to merge Hanicef/SRB2Classic: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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading