1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-08 23:41:06 +00:00

Add two more font/text related Lua functions, and some more:

+ entity_getBoneByInternalId()
+ entity_getNumBones()
+ text_getLineHeight()
+ text_getNumLines()
This commit is contained in:
fgenesis 2015-11-16 03:59:47 +01:00
commit ed089f38f7
8 changed files with 54 additions and 2 deletions

View file

@ -77,8 +77,9 @@ public:
void reloadDevice();
float getStringWidth(const std::string& text);
float getActualWidth() { return maxW; }
float getLineHeight();
int getNumLines();
protected:
float scrollSpeed;
BmpFont *bmpFont;