Skip to content
Snippets Groups Projects

v_video Killed The r_radio Star

Merged toaster requested to merge v_video_killed_the_r_radio_star into master

Clean up a bunch of v_video.c functions that previously exhibited unfortunate side effects when run in non-green resolutions.

  • V_DrawFixedPatch and ilk:

    • Change the offset of V_FLIP so it's not one screen-pixel off where its non-flipped sprite would have started being drawn from.
    • Write to x and y as well as desttop so that anti-screen-overflow checks later in the function behave properly with non-green resolutions.
  • V_DrawFill:

    • Reduce number of operations performed upon c.
  • V_DrawString and ilk:

    • Offset the left and right boundary checks in non-green resolutions such that you can actually draw stuff to the left of basevid screen x coordinate 0.

Merge request reports

Checking pipeline status.

Merged by avatar (Mar 28, 2025 1:20am UTC)

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
Please register or sign in to reply
Loading