[GDExtension] Use function names with underscore for TextServer extension, add macros to generate wrappers for module functions.

This commit is contained in:
bruvzg 2022-09-27 11:23:34 +03:00
parent 92bcd3c01d
commit 8f5d56e04a
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
12 changed files with 1677 additions and 1790 deletions

View file

@ -468,6 +468,7 @@ void TextServer::_bind_methods() {
BIND_ENUM_CONSTANT(FONT_LCD_SUBPIXEL_LAYOUT_HBGR);
BIND_ENUM_CONSTANT(FONT_LCD_SUBPIXEL_LAYOUT_VRGB);
BIND_ENUM_CONSTANT(FONT_LCD_SUBPIXEL_LAYOUT_VBGR);
BIND_ENUM_CONSTANT(FONT_LCD_SUBPIXEL_LAYOUT_MAX);
/* Direction */
BIND_ENUM_CONSTANT(DIRECTION_AUTO);