[Scummvm-git-logs] scummvm master -> 58bbeb6865dcb2c29cbc8d08886b3898f3dc9e88
somaen
noreply at scummvm.org
Sun Mar 26 20:44:47 UTC 2023
This automated email contains information about 3 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4e9be56d7c DIRECTOR: Stub FEDracul XObject
27490fcf1c DIRECTOR: Stub FEIMasks XObj
58bbeb6865 DIRECTOR: Stub FEIPrefs XOBJ
Commit: 4e9be56d7cb839b4ccc214191504e1005d4f7c5f
https://github.com/scummvm/scummvm/commit/4e9be56d7cb839b4ccc214191504e1005d4f7c5f
Author: Einar Johan Trøan SømaÌen (somaen at scummvm.org)
Date: 2023-03-26T22:43:12+02:00
Commit Message:
DIRECTOR: Stub FEDracul XObject
Changed paths:
A engines/director/lingo/xlibs/fedracul.cpp
A engines/director/lingo/xlibs/fedracul.h
engines/director/lingo/lingo-object.cpp
engines/director/module.mk
diff --git a/engines/director/lingo/lingo-object.cpp b/engines/director/lingo/lingo-object.cpp
index 1f5f36c93fa..ed131e7f475 100644
--- a/engines/director/lingo/lingo-object.cpp
+++ b/engines/director/lingo/lingo-object.cpp
@@ -49,6 +49,7 @@
#include "director/lingo/xlibs/dpwqtw.h"
#include "director/lingo/xlibs/draw.h"
#include "director/lingo/xlibs/ednox.h"
+#include "director/lingo/xlibs/fedracul.h"
#include "director/lingo/xlibs/fileexists.h"
#include "director/lingo/xlibs/fileio.h"
#include "director/lingo/xlibs/findfolder.h"
@@ -166,6 +167,7 @@ static struct XLibProto {
{ DPwQTw::fileNames, DPwQTw::open, DPwQTw::close, kXObj, 400 }, // D4
{ DrawXObj::fileNames, DrawXObj::open, DrawXObj::close, kXObj, 400 }, // D4
{ Ednox::fileNames, Ednox::open, Ednox::close, kXObj, 300 }, // D3
+ { FEDraculXObj::fileNames, FEDraculXObj::open, FEDraculXObj::close, kXObj, 400 }, // D4
{ FileExists::fileNames, FileExists::open, FileExists::close, kXObj, 300 }, // D3
{ FileIO::fileNames, FileIO::open, FileIO::close, kXObj | kXtraObj, 200 }, // D2
{ FindFolder::fileNames, FindFolder::open, FindFolder::close, kXObj, 300 }, // D3
diff --git a/engines/director/lingo/xlibs/fedracul.cpp b/engines/director/lingo/xlibs/fedracul.cpp
new file mode 100644
index 00000000000..b0dc31798e9
--- /dev/null
+++ b/engines/director/lingo/xlibs/fedracul.cpp
@@ -0,0 +1,114 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+/*************************************
+*
+* USED IN:
+* Dracula's Secret
+*
+*************************************/
+/*
+ * -- FEDracul External Factory.
+ * FEDracul
+ * I mNew --Creates a new instance of the XObject
+ * X mDispose --Disposes of XObject instance
+ * S mName --Returns the XObject name (FEIMask)
+ * IP mCreateInventory -- hPictOfBackground
+ * IPII mAddToInventory -- hPictOfItem,row,column
+ * P mGetInventory -- retrieve hPictOfInventory
+ * I mDestroyInventory --
+ * IIPI mSetCharData -- letter,hpicLetter,letterWidth
+ * I mIsWindows95
+ * I mDisableScreenSaver
+ * II mEnableScreenSaver
+ * I mProgramStartup
+ * II mProgramShutdown
+ */
+#include "director/director.h"
+#include "director/lingo/lingo.h"
+#include "director/lingo/lingo-object.h"
+#include "director/lingo/xlibs/fedracul.h"
+
+
+namespace Director {
+
+const char *FEDraculXObj::xlibName = "FEDracul";
+const char *FEDraculXObj::fileNames[] = {
+ "FEDracul",
+ nullptr
+};
+
+static MethodProto xlibMethods[] = {
+ { "new", FEDraculXObj::m_new, 0, 0, 400 }, // D4
+ { "AddToInventory", FEDraculXObj::m_AddToInventory, 3, 3, 400 }, // D4
+ { "CreateInventory", FEDraculXObj::m_CreateInventory, 1, 1, 400 }, // D4
+ { "DestroyInventory", FEDraculXObj::m_DestroyInventory, 0, 0, 400 }, // D4
+ { "GetInventory", FEDraculXObj::m_GetInventory, 0, 0, 400 }, // D4
+ { nullptr, nullptr, 0, 0, 0 }
+};
+
+void FEDraculXObj::open(int type) {
+ if (type == kXObj) {
+ FEDraculXObject::initMethods(xlibMethods);
+ FEDraculXObject *xobj = new FEDraculXObject(kXObj);
+ g_lingo->exposeXObject(xlibName, xobj);
+ }
+}
+
+void FEDraculXObj::close(int type) {
+ if (type == kXObj) {
+ FEDraculXObject::cleanupMethods();
+ g_lingo->_globalvars[xlibName] = Datum();
+ }
+}
+
+
+FEDraculXObject::FEDraculXObject(ObjectType ObjectType) : Object<FEDraculXObject>("FEDraculXObj") {
+ _objType = ObjectType;
+}
+
+void FEDraculXObj::m_new(int nargs) {
+ g_lingo->push(g_lingo->_state->me);
+}
+
+void FEDraculXObj::m_AddToInventory(int nargs) {
+ g_lingo->printSTUBWithArglist("FEDraculXObj::AddToInventory", nargs);
+ g_lingo->dropStack(nargs);
+ g_lingo->push(g_lingo->_state->me);
+}
+
+void FEDraculXObj::m_CreateInventory(int nargs) {
+ g_lingo->printSTUBWithArglist("FEDraculXObj::CreateInventory", nargs);
+ g_lingo->dropStack(nargs);
+ g_lingo->push(g_lingo->_state->me);
+}
+
+void FEDraculXObj::m_DestroyInventory(int nargs) {
+ g_lingo->printSTUBWithArglist("FEDraculXObj:mDestroyInventory", nargs);
+ g_lingo->push(g_lingo->_state->me);
+}
+
+void FEDraculXObj::m_GetInventory(int nargs) {
+ g_lingo->printSTUBWithArglist("FEDraculXObj::GetInventory", nargs);
+ g_lingo->push(g_lingo->_state->me);
+}
+
+} // End of namespace Director
diff --git a/engines/director/lingo/xlibs/fedracul.h b/engines/director/lingo/xlibs/fedracul.h
new file mode 100644
index 00000000000..e5102c6d966
--- /dev/null
+++ b/engines/director/lingo/xlibs/fedracul.h
@@ -0,0 +1,51 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+
+#ifndef DIRECTOR_LINGO_XLIBS_FEDRACUL_H
+#define DIRECTOR_LINGO_XLIBS_FEDRACUL_H
+
+namespace Director {
+
+class FEDraculXObject : public Object<FEDraculXObject> {
+public:
+ FEDraculXObject(ObjectType objType);
+};
+
+namespace FEDraculXObj {
+
+extern const char *xlibName;
+extern const char *fileNames[];
+
+void open(int type);
+void close(int type);
+
+void m_new(int nargs);
+void m_AddToInventory(int nargs);
+void m_CreateInventory(int nargs);
+void m_DestroyInventory(int nargs);
+void m_GetInventory(int nargs);
+
+} // End of namespace FEDraculXObj
+
+} // End of namespace Director
+
+#endif
diff --git a/engines/director/module.mk b/engines/director/module.mk
index c3fb86a53fa..67b80e2dbd7 100644
--- a/engines/director/module.mk
+++ b/engines/director/module.mk
@@ -54,6 +54,7 @@ MODULE_OBJS = \
lingo/xlibs/dpwqtw.o \
lingo/xlibs/draw.o \
lingo/xlibs/ednox.o \
+ lingo/xlibs/fedracul.o \
lingo/xlibs/fileexists.o \
lingo/xlibs/fileio.o \
lingo/xlibs/findfolder.o \
Commit: 27490fcf1ca5dccefacdf3a6fe5b297bf6faac68
https://github.com/scummvm/scummvm/commit/27490fcf1ca5dccefacdf3a6fe5b297bf6faac68
Author: Einar Johan Trøan SømaÌen (somaen at scummvm.org)
Date: 2023-03-26T22:43:23+02:00
Commit Message:
DIRECTOR: Stub FEIMasks XObj
Changed paths:
A engines/director/lingo/xlibs/feimasks.cpp
A engines/director/lingo/xlibs/feimasks.h
engines/director/lingo/lingo-object.cpp
engines/director/module.mk
diff --git a/engines/director/lingo/lingo-object.cpp b/engines/director/lingo/lingo-object.cpp
index ed131e7f475..393d2eae08d 100644
--- a/engines/director/lingo/lingo-object.cpp
+++ b/engines/director/lingo/lingo-object.cpp
@@ -50,6 +50,7 @@
#include "director/lingo/xlibs/draw.h"
#include "director/lingo/xlibs/ednox.h"
#include "director/lingo/xlibs/fedracul.h"
+#include "director/lingo/xlibs/feimasks.h"
#include "director/lingo/xlibs/fileexists.h"
#include "director/lingo/xlibs/fileio.h"
#include "director/lingo/xlibs/findfolder.h"
@@ -168,6 +169,7 @@ static struct XLibProto {
{ DrawXObj::fileNames, DrawXObj::open, DrawXObj::close, kXObj, 400 }, // D4
{ Ednox::fileNames, Ednox::open, Ednox::close, kXObj, 300 }, // D3
{ FEDraculXObj::fileNames, FEDraculXObj::open, FEDraculXObj::close, kXObj, 400 }, // D4
+ { FEIMasksXObj::fileNames, FEIMasksXObj::open, FEIMasksXObj::close, kXObj, 400 }, // D4
{ FileExists::fileNames, FileExists::open, FileExists::close, kXObj, 300 }, // D3
{ FileIO::fileNames, FileIO::open, FileIO::close, kXObj | kXtraObj, 200 }, // D2
{ FindFolder::fileNames, FindFolder::open, FindFolder::close, kXObj, 300 }, // D3
diff --git a/engines/director/lingo/xlibs/feimasks.cpp b/engines/director/lingo/xlibs/feimasks.cpp
new file mode 100644
index 00000000000..e6117fb18a5
--- /dev/null
+++ b/engines/director/lingo/xlibs/feimasks.cpp
@@ -0,0 +1,86 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+/*************************************
+*
+* USED IN:
+* Dracula's Secret
+*
+*************************************/
+/*
+ * -- FEIMasks External Factory.
+ * FEIMasks
+ * IPIIII mNew --Creates a new instance of the XObject
+ * X mDispose --Disposes of XObject instance
+ * S mName --Returns the XObject name (FEIMask)
+ * III mMaskID -- h,v
+ */
+#include "director/director.h"
+#include "director/lingo/lingo.h"
+#include "director/lingo/lingo-object.h"
+#include "director/lingo/xlibs/feimasks.h"
+
+
+namespace Director {
+
+const char *FEIMasksXObj::xlibName = "FEIMasks";
+const char *FEIMasksXObj::fileNames[] = {
+ "FEIMasks",
+ nullptr
+};
+
+static MethodProto xlibMethods[] = {
+ { "new", FEIMasksXObj::m_new, 0, 0, 400 }, // D4
+ { "MaskID", FEIMasksXObj::m_MaskID, 2, 2, 400 }, // D4
+ { nullptr, nullptr, 0, 0, 0 }
+};
+
+void FEIMasksXObj::open(int type) {
+ if (type == kXObj) {
+ FEIMasksXObject::initMethods(xlibMethods);
+ FEIMasksXObject *xobj = new FEIMasksXObject(kXObj);
+ g_lingo->exposeXObject(xlibName, xobj);
+ }
+}
+
+void FEIMasksXObj::close(int type) {
+ if (type == kXObj) {
+ FEIMasksXObject::cleanupMethods();
+ g_lingo->_globalvars[xlibName] = Datum();
+ }
+}
+
+FEIMasksXObject::FEIMasksXObject(ObjectType ObjectType) : Object<FEIMasksXObject>("FEIMasksXObj") {
+ _objType = ObjectType;
+}
+
+void FEIMasksXObj::m_new(int nargs) {
+ g_lingo->printSTUBWithArglist("FEIMasksXObj::new", nargs);
+ g_lingo->push(g_lingo->_state->me);
+}
+
+void FEIMasksXObj::m_MaskID(int nargs) {
+ g_lingo->printSTUBWithArglist("FEIMasksXObj::MaskID", nargs);
+ g_lingo->dropStack(nargs);
+ g_lingo->push(Datum());
+}
+
+} // End of namespace Director
diff --git a/engines/director/lingo/xlibs/feimasks.h b/engines/director/lingo/xlibs/feimasks.h
new file mode 100644
index 00000000000..cefcdc2d6a6
--- /dev/null
+++ b/engines/director/lingo/xlibs/feimasks.h
@@ -0,0 +1,48 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+
+#ifndef DIRECTOR_LINGO_XLIBS_FEIMASKS_H
+#define DIRECTOR_LINGO_XLIBS_FEIMASKS_H
+
+namespace Director {
+
+class FEIMasksXObject : public Object<FEIMasksXObject> {
+public:
+ FEIMasksXObject(ObjectType objType);
+};
+
+namespace FEIMasksXObj {
+
+extern const char *xlibName;
+extern const char *fileNames[];
+
+void open(int type);
+void close(int type);
+
+void m_new(int nargs);
+void m_MaskID(int nargs);
+
+} // End of namespace IntroMaskXObj
+
+} // End of namespace Director
+
+#endif
diff --git a/engines/director/module.mk b/engines/director/module.mk
index 67b80e2dbd7..98bbc933664 100644
--- a/engines/director/module.mk
+++ b/engines/director/module.mk
@@ -55,6 +55,7 @@ MODULE_OBJS = \
lingo/xlibs/draw.o \
lingo/xlibs/ednox.o \
lingo/xlibs/fedracul.o \
+ lingo/xlibs/feimasks.o \
lingo/xlibs/fileexists.o \
lingo/xlibs/fileio.o \
lingo/xlibs/findfolder.o \
Commit: 58bbeb6865dcb2c29cbc8d08886b3898f3dc9e88
https://github.com/scummvm/scummvm/commit/58bbeb6865dcb2c29cbc8d08886b3898f3dc9e88
Author: Einar Johan Trøan SømaÌen (somaen at scummvm.org)
Date: 2023-03-26T22:43:33+02:00
Commit Message:
DIRECTOR: Stub FEIPrefs XOBJ
Changed paths:
A engines/director/lingo/xlibs/feiprefs.cpp
A engines/director/lingo/xlibs/feiprefs.h
engines/director/lingo/lingo-object.cpp
engines/director/module.mk
diff --git a/engines/director/lingo/lingo-object.cpp b/engines/director/lingo/lingo-object.cpp
index 393d2eae08d..1ffd5cf06d3 100644
--- a/engines/director/lingo/lingo-object.cpp
+++ b/engines/director/lingo/lingo-object.cpp
@@ -51,6 +51,7 @@
#include "director/lingo/xlibs/ednox.h"
#include "director/lingo/xlibs/fedracul.h"
#include "director/lingo/xlibs/feimasks.h"
+#include "director/lingo/xlibs/feiprefs.h"
#include "director/lingo/xlibs/fileexists.h"
#include "director/lingo/xlibs/fileio.h"
#include "director/lingo/xlibs/findfolder.h"
@@ -170,6 +171,7 @@ static struct XLibProto {
{ Ednox::fileNames, Ednox::open, Ednox::close, kXObj, 300 }, // D3
{ FEDraculXObj::fileNames, FEDraculXObj::open, FEDraculXObj::close, kXObj, 400 }, // D4
{ FEIMasksXObj::fileNames, FEIMasksXObj::open, FEIMasksXObj::close, kXObj, 400 }, // D4
+ { FEIPrefsXObj::fileNames, FEIPrefsXObj::open, FEIPrefsXObj::close, kXObj, 400 }, // D4
{ FileExists::fileNames, FileExists::open, FileExists::close, kXObj, 300 }, // D3
{ FileIO::fileNames, FileIO::open, FileIO::close, kXObj | kXtraObj, 200 }, // D2
{ FindFolder::fileNames, FindFolder::open, FindFolder::close, kXObj, 300 }, // D3
diff --git a/engines/director/lingo/xlibs/feiprefs.cpp b/engines/director/lingo/xlibs/feiprefs.cpp
new file mode 100644
index 00000000000..a202c0e60ea
--- /dev/null
+++ b/engines/director/lingo/xlibs/feiprefs.cpp
@@ -0,0 +1,101 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+/*************************************
+*
+* USED IN:
+* Dracula's Secret
+*
+*************************************/
+/*
+ * -- FEIPrefs External Factory.
+ * FEIPrefs
+ * I mNew --Creates a new instance of the XObject
+ * X mDispose --Disposes of XObject instance
+ * S mName --Returns the XObject name (FEIPref)
+ * ISS mPrefAppName -- GroupName,AppName
+ * ISSS mPrefWriteString -- Section,Entry,String
+ * ISSI mPrefWriteInteger -- Section,Entry,Integer
+ * ISSI mPrefReadInteger -- Section,Entry,Default
+ * SSSS mPrefReadString -- Section,Entry,Default
+ */
+
+
+#include "director/director.h"
+#include "director/lingo/lingo.h"
+#include "director/lingo/lingo-object.h"
+#include "director/lingo/xlibs/feiprefs.h"
+
+
+namespace Director {
+
+const char *FEIPrefsXObj::xlibName = "FEIPrefs";
+const char *FEIPrefsXObj::fileNames[] = {
+ "feiprefs",
+ nullptr
+};
+
+static MethodProto xlibMethods[] = {
+ { "new", FEIPrefsXObj::m_new, 0, 0, 400 }, // D4
+ { "PrefAppName", FEIPrefsXObj::m_prefAppName, 2, 2, 400 }, // D4
+ { "PrefReadString", FEIPrefsXObj::m_prefReadString, 3, 3, 400 }, // D4
+ { nullptr, nullptr, 0, 0, 0 }
+};
+
+void FEIPrefsXObj::open(int type) {
+ if (type == kXObj) {
+ FEIPrefsXObject::initMethods(xlibMethods);
+ FEIPrefsXObject *xobj = new FEIPrefsXObject(kXObj);
+ g_lingo->exposeXObject(xlibName, xobj);
+ }
+}
+
+void FEIPrefsXObj::close(int type) {
+ if (type == kXObj) {
+ FEIPrefsXObject::cleanupMethods();
+ g_lingo->_globalvars[xlibName] = Datum();
+ }
+}
+
+
+FEIPrefsXObject::FEIPrefsXObject(ObjectType ObjectType) : Object<FEIPrefsXObject>("FEIPrefsXObj") {
+ _objType = ObjectType;
+}
+
+void FEIPrefsXObj::m_new(int nargs) {
+ g_lingo->printSTUBWithArglist("FEIPrefsXObj::new", nargs);
+ g_lingo->push(g_lingo->_state->me);
+}
+
+void FEIPrefsXObj::m_prefAppName(int nargs) {
+ g_lingo->printSTUBWithArglist("FEIPrefsXObj::m_prefAppName", nargs);
+ g_lingo->dropStack(nargs);
+}
+
+void FEIPrefsXObj::m_prefReadString(int nargs) {
+ g_lingo->printSTUBWithArglist("FEIPrefsXObj::m_prefReadString", nargs);
+ g_lingo->pop(); // TODO
+ auto key = g_lingo->pop().asString();
+ auto defaultValue = g_lingo->pop();
+ g_lingo->push(defaultValue); // TODO: Just return the default for now.
+}
+
+} // End of namespace Director
diff --git a/engines/director/lingo/xlibs/feiprefs.h b/engines/director/lingo/xlibs/feiprefs.h
new file mode 100644
index 00000000000..50bc75492eb
--- /dev/null
+++ b/engines/director/lingo/xlibs/feiprefs.h
@@ -0,0 +1,49 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+
+#ifndef DIRECTOR_LINGO_XLIBS_FEIPREFS_H
+#define DIRECTOR_LINGO_XLIBS_FEIPREFS_H
+
+namespace Director {
+
+class FEIPrefsXObject : public Object<FEIPrefsXObject> {
+public:
+ FEIPrefsXObject(ObjectType objType);
+};
+
+namespace FEIPrefsXObj {
+
+extern const char *xlibName;
+extern const char *fileNames[];
+
+void open(int type);
+void close(int type);
+
+void m_new(int nargs);
+void m_prefAppName(int nargs);
+void m_prefReadString(int nargs);
+
+} // End of namespace IntroMaskXObj
+
+} // End of namespace Director
+
+#endif
diff --git a/engines/director/module.mk b/engines/director/module.mk
index 98bbc933664..2d0ba9ccb47 100644
--- a/engines/director/module.mk
+++ b/engines/director/module.mk
@@ -56,6 +56,7 @@ MODULE_OBJS = \
lingo/xlibs/ednox.o \
lingo/xlibs/fedracul.o \
lingo/xlibs/feimasks.o \
+ lingo/xlibs/feiprefs.o \
lingo/xlibs/fileexists.o \
lingo/xlibs/fileio.o \
lingo/xlibs/findfolder.o \
More information about the Scummvm-git-logs
mailing list