Go to the source code of this file.
Functions | |
| SelectLang * | getSelect (lua_State *L) |
| int | script_select_addFlag (lua_State *L) throw () |
| void select_addFlag(value, picture) | |
|
|
Definition at line 20 of file SelectLang.cpp. 00021 {
00022 return dynamic_cast<SelectLang*>(script_getLeader(L));
00023 }
|
|
|
void select_addFlag(value, picture)
Definition at line 29 of file SelectLang.cpp. 00030 {
00031 BEGIN_NOEXCEPTION;
00032 const char *value = luaL_checkstring(L, 1);
00033 const char *picture = luaL_checkstring(L, 2);
00034
00035 getSelect(L)->addFlag(value, Path::dataReadPath(picture));
00036 END_NOEXCEPTION;
00037 return 0;
00038 }
|
1.4.2