mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-19 14:41:29 +02:00
Major improvements to text wrapping, acceptible but still character based
This commit is contained in:
@@ -93,10 +93,12 @@ int drawtextmax(pixel *vid, int x, int y, int w, char *s, int r, int g, int b, i
|
||||
|
||||
int textnwidth(char *s, int n);
|
||||
|
||||
int textnheight(char *s, int n, int w);
|
||||
void textnpos(char *s, int n, int w, int *cx, int *cy);
|
||||
|
||||
int textwidthx(char *s, int w);
|
||||
|
||||
int textposxy(char *s, int width, int w, int h);
|
||||
|
||||
#ifdef WIN32
|
||||
_inline void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user