local windowtype = get_config("windowtype"); */
| 675 | |
| 676 | /* local windowtype = get_config("windowtype"); */ |
| 677 | staticfn int |
| 678 | nhl_get_config(lua_State *L) |
| 679 | { |
| 680 | int argc = lua_gettop(L); |
| 681 | |
| 682 | if (argc == 1) { |
| 683 | lua_pushstring(L, get_option_value(luaL_checkstring(L, 1), TRUE)); |
| 684 | return 1; |
| 685 | } else |
| 686 | nhl_error(L, "Wrong args"); |
| 687 | |
| 688 | return 0; |
| 689 | } |
| 690 | |
| 691 | /* |
| 692 | str = getlin("What do you want to call this dungeon level?"); |
nothing calls this directly
no test coverage detected