Skip to content

New font system and more #4

Open
@paeryn

Description

@paeryn

The new font system is running, you can now load fonts easily at runtime. More changes to come to fix some niggles. See client/chars.c to see how to use it.

The old shape drawing method (Circle(), Rect() etc.) causes random gpu stalls of several seconds (or more) under the new system. It would happen before under certain cercumstances (if you drew enough per frame I think), now it happens sooner. To fix this I've added routines to allow easy allocating of shape objects, you basically try and allocate shapes before your drawing loop, and then in the loop you ask it to draw what you'd allocated.
Documentation is coming soon, but see client/ptest.c to see how to use it.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions