summaryrefslogtreecommitdiff
path: root/src/lua_bind.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-11 17:38:55 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-11 17:38:55 +0200
commitf802db8cbf123d07c8a373b0cfc4188de34f386e (patch)
tree6525525c9ca95ec2a109d82785ac406c7e4c044a /src/lua_bind.c
parent5a310053e1ed6331155e4c4a3a645291c0a95650 (diff)
Lua: Gods: Move Theme god definitions to C
Diffstat (limited to 'src/lua_bind.c')
-rw-r--r--src/lua_bind.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/lua_bind.c b/src/lua_bind.c
index ff6680be..fd7d9cbb 100644
--- a/src/lua_bind.c
+++ b/src/lua_bind.c
@@ -537,29 +537,6 @@ void lua_display_list(int y, int x, int h, int w, cptr title, list_type* list, i
-/*
- * Gods
- */
-s16b add_new_gods(char *name)
-{
- int i;
-
- /* Increase the size */
- reinit_gods(max_gods + 1);
- deity_info[max_gods - 1].name = string_make(name);
-
- for (i = 0; i < 10; i++)
- strncpy(deity_info[max_gods - 1].desc[i], "", 39);
-
- return (max_gods - 1);
-}
-
-void desc_god(int g_idx, int d, char *desc)
-{
- if (d >= 0 && d < 10)
- strncpy(deity_info[g_idx].desc[d], desc, 79);
-}
-
int get_lua_int(cptr name)
{
return exec_lua(format("return %s", name));