Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

Add Drawable API #66

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft

Add Drawable API #66

wants to merge 4 commits into from

Conversation

ranguli
Copy link
Collaborator

@ranguli ranguli commented Aug 31, 2023

Drawable API

...

Misc

Better debug logging for V_CopyRect()

  • Three new functions have been added.
  • The first is V_CheckCopyRect(). which refactors out the part of V_CopyRect() that determines if a rectangles dimensions are valid.
  • The other two are V_CheckCopyRectMinimums() and V_CheckCopyRectMaximums(). These are called by V_CheckCopyRect() and perform the dimensions checks mentioned above, both for a rectangle having negative coordinates and for coordinates larger than the screen size, respectively.

@ranguli ranguli changed the title Working on encapsulating the status bar code, and improved debug logging Add Drawable API Sep 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant