fixed clipping on some machines
[twcon.git] / src / engine / editor.h
blob1cafea046944ee784c92e49c7465546d2d505ac2
1 /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2 /* If you are missing that file, acquire a complete release at teeworlds.com. */
3 #ifndef ENGINE_EDITOR_H
4 #define ENGINE_EDITOR_H
5 #include "kernel.h"
7 class IEditor : public IInterface
9 MACRO_INTERFACE("editor", 0)
10 public:
12 virtual ~IEditor() {}
13 virtual void Init() = 0;
14 virtual void UpdateAndRender() = 0;
15 virtual bool HasUnsavedData() = 0;
18 extern IEditor *CreateEditor();
19 #endif