summaryrefslogtreecommitdiff
path: root/src/shared/iengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/iengine.h')
-rw-r--r--src/shared/iengine.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/shared/iengine.h b/src/shared/iengine.h
index 3b2c662..3c52e1e 100644
--- a/src/shared/iengine.h
+++ b/src/shared/iengine.h
@@ -43,7 +43,7 @@ extern bool settexture(const char *name, int clamp = 0);
// octaedit
-enum { EDIT_FACE = 0, EDIT_TEX, EDIT_MAT, EDIT_FLIP, EDIT_COPY, EDIT_PASTE, EDIT_ROTATE, EDIT_REPLACE, EDIT_DELCUBE, EDIT_REMIP, EDIT_VSLOT, EDIT_UNDO, EDIT_REDO };
+enum { EDIT_FACE = 0, EDIT_TEX, EDIT_MAT, EDIT_FLIP, EDIT_COPY, EDIT_PASTE, EDIT_ROTATE, EDIT_REPLACE, EDIT_DELCUBE, EDIT_REMIP, EDIT_VSLOT };
struct selinfo {
int corner;
@@ -77,9 +77,6 @@ extern int shouldpacktex(int index);
extern bool packeditinfo(editinfo *e, int &inlen, uchar *&outbuf, int &outlen);
extern bool unpackeditinfo(editinfo *&e, const uchar *inbuf, int inlen, int outlen);
extern void freeeditinfo(editinfo *&e);
-extern void pruneundos(int maxremain = 0);
-extern bool packundo(int op, int &inlen, uchar *&outbuf, int &outlen);
-extern bool unpackundo(const uchar *inbuf, int inlen, int outlen);
extern bool noedit(bool view = false, bool msg = true);
extern void toggleedit(bool force = true);
extern void mpeditface(int dir, int mode, selinfo &sel, bool local);
@@ -493,7 +490,6 @@ struct g3d_gui {
virtual int texture(VSlot &vslot, float scale, bool overlaid = true) = 0;
virtual int playerpreview(int model, int team, int weap, float scale, const char *overlaid = NULL) = 0;
virtual int modelpreview(const char *name, int anim, float scale, const char *overlaid = NULL, bool throttle = false) = 0;
- virtual int prefabpreview(const char *prefab, const vec &color, float scale, const char *overlaid = NULL, bool throttle = false) = 0;
virtual void slider(int &val, int vmin, int vmax, int color, const char *label = NULL) = 0;
virtual void separator() = 0;
virtual void progress(float percent) = 0;