diff options
| author | oy <Tom_Adams@web.de> | 2011-12-04 14:04:12 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-12-04 14:04:12 +0100 |
| commit | b99ac459bea247f2a2474b345b1dd69e4bd59a69 (patch) | |
| tree | 679baad0e407cc257a6601c02f5399d33603b322 /src/game/client/components/maplayers.h | |
| parent | e411d8f5917ac3b47f6b5f10432d045dda62e814 (diff) | |
| download | zcatch-b99ac459bea247f2a2474b345b1dd69e4bd59a69.tar.gz zcatch-b99ac459bea247f2a2474b345b1dd69e4bd59a69.zip | |
fixed envelope rendering when seeking in the demo player
Diffstat (limited to 'src/game/client/components/maplayers.h')
| -rw-r--r-- | src/game/client/components/maplayers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/client/components/maplayers.h b/src/game/client/components/maplayers.h index 694633ee..d0efcfc7 100644 --- a/src/game/client/components/maplayers.h +++ b/src/game/client/components/maplayers.h @@ -8,6 +8,9 @@ class CMapLayers : public CComponent { CLayers *m_pLayers; // todo refactor: maybe remove it and access it through client* int m_Type; + int m_CurrentLocalTick; + int m_LastLocalTick; + bool m_EnvelopeUpdate; void MapScreenToGroup(float CenterX, float CenterY, CMapItemGroup *pGroup); static void EnvelopeEval(float TimeOffset, int Env, float *pChannels, void *pUser); @@ -21,6 +24,8 @@ public: CMapLayers(int Type); virtual void OnInit(); virtual void OnRender(); + + void EnvelopeUpdate(); }; #endif |