From b2c89d7060e99a36c8c7ac897b7386686c74deac Mon Sep 17 00:00:00 2001 From: xolatile Date: Thu, 7 Aug 2025 08:30:30 +0200 Subject: Removed undo and prefab... --- src/shared/iengine.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/shared') 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; -- cgit v1.2.3