Rename DrawText to DrawTextFixSize and create DrawText
This commit is contained in:
@@ -27,12 +27,16 @@ enum TextScale
|
||||
enum DrawTextEncoding
|
||||
{
|
||||
cp866 = 1,
|
||||
cp866_8x16 = 2,
|
||||
utf8 = 3,
|
||||
utf16 = 4
|
||||
};
|
||||
|
||||
#define DEFAULT_ENCODING cp866
|
||||
|
||||
int syscalls_drawLine(lua_State* L);
|
||||
int syscalls_drawText(lua_State* L);
|
||||
int syscalls_drawTextFixSize(lua_State* L);
|
||||
int syscalls_drawRectangle(lua_State* L);
|
||||
int syscalls_ReadPoint(lua_State* L);
|
||||
int syscalls_screenSize(lua_State* L);
|
||||
@@ -99,6 +103,9 @@ inline void syscalls_push_Encoding(lua_State* L)
|
||||
lua_pushinteger(L, cp866);
|
||||
lua_setfield(L, -2, "cp866");
|
||||
|
||||
lua_pushinteger(L, cp866_8x16);
|
||||
lua_setfield(L, -2, "cp866_8x16");
|
||||
|
||||
lua_pushinteger(L, utf8);
|
||||
lua_setfield(L, -2, "utf8");
|
||||
|
||||
|
Reference in New Issue
Block a user