summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-08-25 13:58:55 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-08-25 13:58:55 (EDT)
commit0baefe89218c45d2c1a0ded903158c41e48f932a (patch)
treeda4f8a817f7e62725efd93231a27c39441ad5825 /src
parentf478d1111f2c1cfe06218f7fdb043b75833793d9 (diff)
downloadoverworld-rpg-0baefe89218c45d2c1a0ded903158c41e48f932a.zip
overworld-rpg-0baefe89218c45d2c1a0ded903158c41e48f932a.tar.gz
overworld-rpg-0baefe89218c45d2c1a0ded903158c41e48f932a.tar.bz2
init_viewport_lua(): Remove
Diffstat (limited to 'src')
-rw-r--r--src/viewport.c14
-rw-r--r--src/viewport.h1
2 files changed, 0 insertions, 15 deletions
diff --git a/src/viewport.c b/src/viewport.c
index e908268..f897ba0 100644
--- a/src/viewport.c
+++ b/src/viewport.c
@@ -45,17 +45,3 @@ init_viewport(Uint16 width, Uint16 height, int bpp)
return vp;
}
-
-int
-init_viewport_lua(lua_State *L)
-{
- Uint16 width;
- Uint16 height;
-
- width = lua_tointeger(L, 1);
- height = lua_tointeger(L, 2);
-
- init_viewport(width, height, 8);
-
- return 0;
-}
diff --git a/src/viewport.h b/src/viewport.h
index 19ae57e..ecb6980 100644
--- a/src/viewport.h
+++ b/src/viewport.h
@@ -31,6 +31,5 @@ struct viewport {
};
struct viewport *init_viewport(Uint16 width, Uint16 height, int bpp);
-int init_viewport_lua(lua_State *L);
#endif