Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VDP_drawTextClear #367

Merged
merged 4 commits into from
Nov 7, 2024
Merged

Conversation

Lemur42332543632
Copy link
Contributor

Clears the field of characters and draws new text.

If the new line is shorter than the one previously drawn in this place, the old characters will be removed. This function works significantly faster than calling VDP_clearText() and then VDP_drawText(). It is suitable when a lot of updating information needs to be displayed on the screen. I use it to output debugging information since I don't have the ability to use Gens KMod.

@Stephane-D Stephane-D merged commit 1d99217 into Stephane-D:master Nov 7, 2024
1 of 2 checks passed
@Stephane-D
Copy link
Owner

Thanks for the contribution, I modified a bit the method to remove the 20 characters limitation.

@D0NM
Copy link
Contributor

D0NM commented Nov 8, 2024

Ehh ))) I had to write my own funcs. T__T'

It's great to see @Stephane-D in a good working mood!
Keep it up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants