forked from mia/Aegisub
Drop some AS5-specific stuff in LuaAssfile
Originally committed to SVN as r5622.
This commit is contained in:
parent
0a91be1c7c
commit
3029436a2d
1 changed files with 0 additions and 11 deletions
|
@ -165,9 +165,6 @@ namespace Automation4 {
|
|||
lua_pushstring(L, dia->Effect.mb_str(wxConvUTF8));
|
||||
lua_setfield(L, -2, "effect");
|
||||
|
||||
lua_pushstring(L, ""); // tentative AS5 field
|
||||
lua_setfield(L, -2, "userdata");
|
||||
|
||||
lua_pushstring(L, dia->Text.mb_str(wxConvUTF8));
|
||||
lua_setfield(L, -2, "text");
|
||||
|
||||
|
@ -238,9 +235,6 @@ namespace Automation4 {
|
|||
lua_pushnumber(L, 2); // From STS.h: "0: window, 1: video, 2: undefined (~window)"
|
||||
lua_setfield(L, -2, "relative_to");
|
||||
|
||||
lua_pushboolean(L, false); // vertical writing, tentative AS5 field
|
||||
lua_setfield(L, -2, "vertical");
|
||||
|
||||
lua_pushstring(L, "style");
|
||||
|
||||
} else {
|
||||
|
@ -407,11 +401,6 @@ namespace Automation4 {
|
|||
|
||||
result = sty;
|
||||
|
||||
} else if (lclass == "styleex") {
|
||||
lua_pushstring(L, "Found line with class 'styleex' which is not supported. Wait until AS5 is a reality.");
|
||||
lua_error(L);
|
||||
return 0;
|
||||
|
||||
} else if (lclass == "dialogue") {
|
||||
GETBOOL(comment, "comment", "dialogue")
|
||||
GETINT(layer, "layer", "dialogue")
|
||||
|
|
Loading…
Reference in a new issue