aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/objects.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-06-02 23:51:33 +0300
committerEugene Sandulenko2013-09-06 14:48:07 +0300
commit146e5a92249e3b0ea7f4057d3a620b2ff837a57e (patch)
treea27d6e17145bfae4070715d44803682b07ae9b35 /engines/fullpipe/objects.h
parent82cbf508b57f1b01ef06f0cd8dea9d53874203a4 (diff)
downloadscummvm-rg350-146e5a92249e3b0ea7f4057d3a620b2ff837a57e.tar.gz
scummvm-rg350-146e5a92249e3b0ea7f4057d3a620b2ff837a57e.tar.bz2
scummvm-rg350-146e5a92249e3b0ea7f4057d3a620b2ff837a57e.zip
FULLPIPE: Read SceneTags from fullpipe.gam
Diffstat (limited to 'engines/fullpipe/objects.h')
-rw-r--r--engines/fullpipe/objects.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/engines/fullpipe/objects.h b/engines/fullpipe/objects.h
index dbeb7bc07b..69b12d00ff 100644
--- a/engines/fullpipe/objects.h
+++ b/engines/fullpipe/objects.h
@@ -47,24 +47,23 @@ class CObArray {
int m_nGrowBy;
};
-class CNode {
- int pNext;
- CNode *pPrev;
- void *data;
-};
+class SceneTag {
+ CObject _obj;
+ int _field_4;
+ char *_tag;
+ int _scene;
+ int16 _sceneId;
+ int16 _field_12;
-class CPtrList {
- CObject obj;
- CNode *m_pNodeHead;
- int m_pNodeTail;
- int m_nCount;
- int m_pNodeFree;
- int m_pBlocks;
- int m_nBlockSize;
+ public:
+ SceneTag(CFile &file);
+ ~SceneTag();
};
+typedef Common::List<SceneTag> SceneTagList_;
+
class SceneTagList {
- CPtrList list;
+ SceneTagList_ list;
public:
SceneTagList(CFile &file);