aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/file_v2w.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-04 08:36:03 +0000
committerArnaud Boutonné2011-01-04 08:36:03 +0000
commit9ee74fee8a8cc296ccd4a22bc34900afefc7438e (patch)
tree9213bbf7a94ebfd8b09016fdec7776db2e7273c0 /engines/hugo/file_v2w.cpp
parente59eb31ba94cf80cd905fe954970c1b926d1c3a4 (diff)
downloadscummvm-rg350-9ee74fee8a8cc296ccd4a22bc34900afefc7438e.tar.gz
scummvm-rg350-9ee74fee8a8cc296ccd4a22bc34900afefc7438e.tar.bz2
scummvm-rg350-9ee74fee8a8cc296ccd4a22bc34900afefc7438e.zip
HUGO: Implement menu commands
Also did some cleanup, and had to comment out handleMouseUp() as it's currently not working really well svn-id: r55114
Diffstat (limited to 'engines/hugo/file_v2w.cpp')
-rw-r--r--engines/hugo/file_v2w.cpp55
1 files changed, 55 insertions, 0 deletions
diff --git a/engines/hugo/file_v2w.cpp b/engines/hugo/file_v2w.cpp
new file mode 100644
index 0000000000..2c910a41c4
--- /dev/null
+++ b/engines/hugo/file_v2w.cpp
@@ -0,0 +1,55 @@
+/* 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 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * $URL$
+ * $Id$
+ *
+ */
+
+/*
+ * This code is based on original Hugo Trilogy source code
+ *
+ * Copyright (c) 1989-1995 David P. Gray
+ *
+ */
+
+#include "common/system.h"
+
+#include "hugo/hugo.h"
+#include "hugo/file.h"
+#include "hugo/util.h"
+
+namespace Hugo {
+FileManager_v2w::FileManager_v2w(HugoEngine *vm) : FileManager_v2d(vm) {
+}
+
+FileManager_v2w::~FileManager_v2w() {
+}
+
+/**
+* Display a Windows help file
+* Dame comment than in SCI: maybe in the future we can implement this, but for now this message should suffice
+*/
+void FileManager_v2w::instructions() {
+ Utils::Box(BOX_ANY, "Please use an external viewer to open the game''s help file: HUGOWIN%d.HLP", _vm->_gameVariant + 1);
+}
+
+} // End of namespace Hugo
+