mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
0bac9f0de8
Also include what you use explicitly
28 lines
620 B
C++
28 lines
620 B
C++
#ifndef ENGINE_CLIENT_DEMOEDIT_H
|
|
#define ENGINE_CLIENT_DEMOEDIT_H
|
|
|
|
#include <engine/client/http.h>
|
|
#include <engine/shared/demo.h>
|
|
#include <engine/shared/snapshot.h>
|
|
|
|
#define CONNECTLINK "ddnet:"
|
|
|
|
class CDemoEdit : public IJob
|
|
{
|
|
CSnapshotDelta m_SnapshotDelta;
|
|
IStorage *m_pStorage;
|
|
|
|
CDemoEditor m_DemoEditor;
|
|
|
|
char m_aDemo[256];
|
|
char m_aDst[256];
|
|
int m_StartTick;
|
|
int m_EndTick;
|
|
|
|
public:
|
|
CDemoEdit(const char *pNetVersion, class CSnapshotDelta *pSnapshotDelta, IStorage *pStorage, const char *pDemo, const char *pDst, int StartTick, int EndTick);
|
|
void Run();
|
|
char *Destination() { return m_aDst; }
|
|
};
|
|
#endif
|