From 8d08bdd5dc4cf3c0986cb51462fe03e3528343fe Mon Sep 17 00:00:00 2001 From: Vincent Hamm Date: Mon, 25 Mar 2002 17:48:22 +0000 Subject: Add init.cpp to the cvs svn-id: r3831 --- init.cpp | 154 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 init.cpp diff --git a/init.cpp b/init.cpp new file mode 100644 index 0000000000..dc0bfbaabd --- /dev/null +++ b/init.cpp @@ -0,0 +1,154 @@ +#include"stdafx.h" +#include"scumm.h" + +Scumm::Scumm(void) +{ + int i; + for (i=0;i<17;i++) + { + res.address[i]=0; + res.flags[i]=0; + res.mode[i]=0; + res.name[i]=0; + res.num[i]=0; + res.roomno[i]=0; + res.roomoffs[i]=0; + res.tags[i]=0; + } + + _resFilePath=0; + _resFilePrefix=0; + + for (i=1; i