aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-the.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-27 13:59:08 -0400
committerPaul Gilbert2016-08-27 13:59:08 -0400
commitf5ab3d1cd9eb3a884b0ab5d0b154a4f9cccc74b7 (patch)
tree771a8d2b3fddf96c17a1d81d42cb08dfba09d110 /engines/director/lingo/lingo-the.h
parent873d555add9aaf5eb0d021518f5134142e2c2ff6 (diff)
parent5ea32efbb0ecb3e6b8336ad3c2edd3905ea5b89a (diff)
downloadscummvm-rg350-f5ab3d1cd9eb3a884b0ab5d0b154a4f9cccc74b7.tar.gz
scummvm-rg350-f5ab3d1cd9eb3a884b0ab5d0b154a4f9cccc74b7.tar.bz2
scummvm-rg350-f5ab3d1cd9eb3a884b0ab5d0b154a4f9cccc74b7.zip
Merge branch 'master' into xeen
Diffstat (limited to 'engines/director/lingo/lingo-the.h')
-rw-r--r--engines/director/lingo/lingo-the.h189
1 files changed, 189 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-the.h b/engines/director/lingo/lingo-the.h
new file mode 100644
index 0000000000..f68a81d363
--- /dev/null
+++ b/engines/director/lingo/lingo-the.h
@@ -0,0 +1,189 @@
+/* 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.
+ *
+ */
+
+ #ifndef DIRECTOR_LINGO_LINGO_THE_H
+ #define DIRECTOR_LINGO_LINGO_THE_H
+
+namespace Director {
+
+enum TheEntityType {
+ kTheNOEntity = 0,
+ kTheFrame = 1,
+ kTheFreeBlock,
+ kTheFreeBytes,
+ kThePathName,
+ kTheMenu,
+ kTheMenuItem,
+ kTheMenuItems,
+ kTheMenus,
+ kTheMovie,
+ kTheMouseH,
+ kTheMouseV,
+ kTheMouseDownScript,
+ kTheMouseUpScript,
+
+ kTheSprite,
+ kTheCast,
+ kThePerFrameHook,
+ kTheTicks,
+ kTheTimer,
+ kTheTimeoutKeydown,
+ kTheTimeoutLapsed,
+ kTheTimeoutLength,
+ kTheTimeoutMouse,
+ kTheTimeoutPlay,
+ kTheTimeoutScript,
+ kTheWindow,
+
+ kTheBeepOn,
+ kTheButtonStyle,
+ kTheCenterStage,
+ kTheCheckBoxAccess,
+ kTheCheckBoxType,
+ kTheClickOn,
+ kTheControlDown,
+ kTheCommandDown,
+ kTheDoubleClick,
+ kTheFixStageSize,
+ kTheFullColorPermit,
+ kTheImageDirect,
+ kTheKey,
+ kTheKeyDownScript,
+ kTheKeyCode,
+ kTheLastClick,
+ kTheLastEvent,
+ kTheLastFrame,
+ kTheLastKey,
+ kTheLastRoll,
+ kTheMachineType,
+ kTheMemorySize,
+ kTheMouseDown,
+ kTheMouseUp,
+ kTheOptionDown,
+ kThePauseState,
+ kTheRightMouseUp,
+ kTheRightMouseDown,
+ kTheSoundEnabled,
+ kTheSoundLevel,
+ kTheStillDown,
+ kTheSwitchColorDepth,
+ kTheResult,
+ kTheSelection,
+ kTheShiftDown,
+ kTheSqrt,
+
+ kTheColorDepth,
+ kTheColorQD,
+ kTheExitLock,
+ kTheFloatPrecision,
+ kTheItemDelimiter,
+ kTheMultiSound,
+ kThePreloadEventAbort,
+ kTheRomanLingo,
+ kTheStage,
+ kTheStageBottom,
+ kTheStageLeft,
+ kTheStageRight,
+ kTheStageTop
+};
+
+enum TheFieldType {
+ kTheNOField = 0,
+ kTheCastNum = 1,
+ kTheCastType,
+ kTheCheckMark,
+ kTheController,
+ kTheCursor,
+ kTheDepth,
+ kTheDirectToStage,
+ kTheDrawRect,
+ kTheLocH,
+ kTheLocV,
+ kTheBackColor,
+ kTheBlend,
+ kTheBottom,
+ kTheConstraint,
+ kTheEditableText,
+ kTheEnabled,
+ kTheForeColor,
+ kTheFrameRate,
+ kTheFilename,
+ kTheHeight,
+ kTheHilite,
+ kTheImmediate,
+ kTheInk,
+ kTheLeft,
+ kTheLineSize,
+ kTheLoop,
+ kTheLoaded,
+ kTheModified,
+ kTheMoveable,
+ kTheMovieRate,
+ kTheMovieTime,
+ kTheNumber,
+ kTheName,
+ kThePalette,
+ kThePattern,
+ kThePausedAtStart,
+ kThePicture,
+ kThePreload,
+ kThePuppet,
+ kThePurgePriority,
+ kTheRect,
+ kTheRegPoint,
+ kTheRight,
+ kTheStopTime,
+ kTheStretch,
+ kTheStartTime,
+ kTheScript,
+ kTheScriptNum,
+ kTheScriptText,
+ kTheSelEnd,
+ kTheSelStart,
+ kTheSize,
+ kTheStrech,
+ kTheSound,
+ kTheSourceRect,
+ kTheText,
+ kTheTop,
+ kTheTrails,
+ kTheType,
+ kTheVisible,
+ kTheVolume,
+ kTheWidth
+};
+
+struct TheEntity {
+ TheEntityType entity;
+ const char *name;
+ bool hasId;
+};
+
+struct TheEntityField {
+ TheEntityType entity;
+ const char *name;
+ TheFieldType field;
+};
+
+} // End of namespace Director
+
+#endif