summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/luapsx.h36
-rwxr-xr-xlib/Makefile3
-rw-r--r--lib/luapsx.cpp25
3 files changed, 63 insertions, 1 deletions
diff --git a/includes/luapsx.h b/includes/luapsx.h
new file mode 100644
index 0000000..e1bf600
--- /dev/null
+++ b/includes/luapsx.h
@@ -0,0 +1,36 @@
+/*
+ * PSX-Tools Bundle Pack
+ * Copyright (C) 2002-2003 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: luapsx.h,v 1.1 2004-02-27 04:13:32 pixel Exp $ */
+
+#ifndef __LUAPSX_H__
+#define __LUAPSX_H__
+
+#include <Exceptions.h>
+#include <BLua.h>
+#include <bs.h>
+
+class Luapsx : public LuaObject {
+ public:
+ static void pushstatics(Lua *) throw (GeneralException);
+ protected:
+ virtual void pushmembers(Lua *);
+};
+
+#endif
diff --git a/lib/Makefile b/lib/Makefile
index 3adf730..f584786 100755
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -3,7 +3,8 @@
CPPFLAGS=-Wall -g -O3 -mcpu=i686 -I../includes -DHAVE_ZLIB -DUSE_CDREADER -DDEBUG `baltisot-config --cflags` `lua-config --include`
CXX=g++
-OBJECTS = cdutils.o lzss.o yazedc.o cdreader.o cdabstract.o isobuilder.o luacd.o mips.o mipsmem.o mipsdis.o mipsdump.o mipsobj.o
+OBJECTS = cdutils.o lzss.o yazedc.o cdreader.o cdabstract.o isobuilder.o \
+luacd.o luapsx.o mips.o mipsmem.o mipsdis.o mipsdump.o mipsobj.o
TARGET = lib.a
all: ${TARGET}
diff --git a/lib/luapsx.cpp b/lib/luapsx.cpp
new file mode 100644
index 0000000..0665d05
--- /dev/null
+++ b/lib/luapsx.cpp
@@ -0,0 +1,25 @@
+/*
+ * PSX-Tools Bundle Pack
+ * Copyright (C) 2002-2003 Nicolas "Pixel" Noble
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/* $Id: luapsx.cpp,v 1.1 2004-02-27 04:13:32 pixel Exp $ */
+
+#include "luapsx.h"
+
+void Luapsx::pushstatics(Lua * L) throw (GeneralException) {
+}