[Scummvm-cvs-logs] CVS: scummvm/sky sky.cpp,1.112,1.113
Max Horn
fingolfin at users.sourceforge.net
Thu Sep 18 11:25:27 CEST 2003
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv27120/sky
Modified Files:
sky.cpp
Log Message:
added initial support for building our 4 adventure engines as loadable modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP
Index: sky.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/sky.cpp,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -d -r1.112 -r1.113
--- sky.cpp 17 Sep 2003 22:41:01 -0000 1.112
+++ sky.cpp 18 Sep 2003 18:23:53 -0000 1.113
@@ -20,14 +20,19 @@
*/
#include "stdafx.h"
+
+#include "base/gameDetector.h"
+#include "base/plugins.h"
+
+#include "common/file.h"
+
#include "sky/sky.h"
#include "sky/skydefs.h" //game specific defines
#include "sky/compact.h"
#include "sky/logic.h"
#include "sky/debug.h"
#include "sky/mouse.h"
-#include "base/gameDetector.h"
-#include "common/file.h"
+
#include <errno.h>
#include <time.h>
@@ -72,6 +77,8 @@
Engine *Engine_SKY_create(GameDetector *detector, OSystem *syst) {
return new SkyState(detector, syst);
}
+
+REGISTER_PLUGIN("Beneath a Steel Sky", Engine_SKY_targetList, Engine_SKY_create);
void **SkyState::_itemList[300];
More information about the Scummvm-git-logs
mailing list