diff options
Diffstat (limited to 'src/engine/shared/snapshot.h')
| -rw-r--r-- | src/engine/shared/snapshot.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/engine/shared/snapshot.h b/src/engine/shared/snapshot.h index 34c3a548..ebd13f20 100644 --- a/src/engine/shared/snapshot.h +++ b/src/engine/shared/snapshot.h @@ -11,7 +11,7 @@ class CSnapshotItem { public: int m_TypeAndID; - + int *Data() { return (int *)(this+1); } int Type() { return m_TypeAndID>>16; } int ID() { return m_TypeAndID&0xffff; } @@ -90,15 +90,15 @@ public: public: CHolder *m_pPrev; CHolder *m_pNext; - + int64 m_Tagtime; int m_Tick; - + int m_SnapSize; CSnapshot *m_pSnap; CSnapshot *m_pAltSnap; }; - + CHolder *m_pFirst; CHolder *m_pLast; @@ -125,12 +125,12 @@ class CSnapshotBuilder public: void Init(); - + void *NewItem(int Type, int ID, int Size); - + CSnapshotItem *GetItem(int Index); int *GetItemData(int Key); - + int Finish(void *Snapdata); }; |