Go to the source code of this file.
Functions | |
| Labels * | getLabels (lua_State *L) |
| int | script_label_text (lua_State *L) throw () |
| void label_text(labelName, lang, text) | |
|
|
Definition at line 19 of file Labels.cpp. 00020 {
00021 return dynamic_cast<Labels*>(script_getLeader(L));
00022 }
|
|
|
void label_text(labelName, lang, text)
Definition at line 28 of file Labels.cpp. 00029 {
00030 BEGIN_NOEXCEPTION;
00031 const char *labelName = luaL_checkstring(L, 1);
00032 const char *lang = luaL_checkstring(L, 2);
00033 const char *text = luaL_checkstring(L, 3);
00034
00035 getLabels(L)->addLabel(labelName, lang, text);
00036 END_NOEXCEPTION;
00037 return 0;
00038 }
|
1.4.2