about summary refs log tree commit diff
path: root/src/engine/shared/demo.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-12 18:07:57 +0100
committeroy <Tom_Adams@web.de>2011-03-12 18:07:57 +0100
commitb834426548107af96c2568af22cbf8604f230965 (patch)
tree893a04ec6b37d7b1d92ee66d39707463f48e847c /src/engine/shared/demo.h
parent7b98b3ddeddd34bf0fa0c84b13d928a9dafe140c (diff)
downloadzcatch-b834426548107af96c2568af22cbf8604f230965.tar.gz
zcatch-b834426548107af96c2568af22cbf8604f230965.zip
fixed several problems with spectator view in game and demo player. Closes #83
Diffstat (limited to 'src/engine/shared/demo.h')
-rw-r--r--src/engine/shared/demo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/shared/demo.h b/src/engine/shared/demo.h
index d8ce70b2..62e2bfd1 100644
--- a/src/engine/shared/demo.h
+++ b/src/engine/shared/demo.h
@@ -94,6 +94,7 @@ private:
 	CKeyFrame *m_pKeyFrames;
 
 	CPlaybackInfo m_Info;
+	int m_DemoType;
 	unsigned char m_aLastSnapshotData[CSnapshot::MAX_SIZE];
 	int m_LastSnapshotDataSize;
 	class CSnapshotDelta *m_pSnapshotDelta;
@@ -119,6 +120,7 @@ public:
 	const CInfo *BaseInfo() const { return &m_Info.m_Info; }
 	char *GetDemoName();
 	bool GetDemoInfo(class IStorage *pStorage, const char *pFilename, int StorageType, char *pMap, int BufferSize) const;
+	int GetDemoType() const;
 	
 	int Update();