aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/AdNodeState.h
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-19 19:29:15 +0200
committerEinar Johan Trøan Sømåen2012-07-19 19:29:15 +0200
commit113961fd2a2203434b03766d722a0f8c0854bfd0 (patch)
treec00dde430932fd4a9492ca302c44fd34ff9384ac /engines/wintermute/ad/AdNodeState.h
parenta3e8ad4c52f2ad484e94fc8b641e7c7b67b44c04 (diff)
downloadscummvm-rg350-113961fd2a2203434b03766d722a0f8c0854bfd0.tar.gz
scummvm-rg350-113961fd2a2203434b03766d722a0f8c0854bfd0.tar.bz2
scummvm-rg350-113961fd2a2203434b03766d722a0f8c0854bfd0.zip
WINTERMUTE: Change all folder-names to lowercase.
Diffstat (limited to 'engines/wintermute/ad/AdNodeState.h')
-rw-r--r--engines/wintermute/ad/AdNodeState.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/engines/wintermute/ad/AdNodeState.h b/engines/wintermute/ad/AdNodeState.h
new file mode 100644
index 0000000000..186f2ebbb2
--- /dev/null
+++ b/engines/wintermute/ad/AdNodeState.h
@@ -0,0 +1,58 @@
+/* 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.
+ *
+ */
+
+/*
+ * This file is based on WME Lite.
+ * http://dead-code.org/redir.php?target=wmelite
+ * Copyright (c) 2011 Jan Nedoma
+ */
+
+#ifndef WINTERMUTE_ADNODESTATE_H
+#define WINTERMUTE_ADNODESTATE_H
+
+namespace WinterMute {
+
+class CAdEntity;
+
+class CAdNodeState : public CBBase {
+public:
+ bool transferEntity(CAdEntity *entity, bool includingSprites, bool saving);
+ void setName(const char *name);
+ void setFilename(const char *filename);
+ void setCursor(const char *filename);
+ DECLARE_PERSISTENT(CAdNodeState, CBBase)
+ CAdNodeState(CBGame *inGame);
+ virtual ~CAdNodeState();
+ char *_name;
+ bool _active;
+ char *_caption[7];
+ void setCaption(const char *caption, int caseVal);
+ char *getCaption(int caseVal);
+ uint32 _alphaColor;
+ char *_filename;
+ char *_cursor;
+
+};
+
+} // end of namespace WinterMute
+
+#endif