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/engine/octa.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/engine/octa.h') diff --git a/src/engine/octa.h b/src/engine/octa.h index d8a2c45..60cc507 100644 --- a/src/engine/octa.h +++ b/src/engine/octa.h @@ -176,18 +176,6 @@ struct editinfo { editinfo() : copy(NULL) {} }; -struct undoent { int i; entity e; }; -struct undoblock { // undo header, all data sits in payload { - undoblock *prev, *next; - int size, timestamp, numents; // if numents is 0, is a cube undo record, otherwise an entity undo record - block3 *block() { return (block3 *)(this + 1); } - uchar *gridmap() { - block3 *ub = block(); - return (uchar *)(ub->c() + ub->size()); - } - undoent *ents() { return (undoent *)(this + 1); } -}; - extern cube *worldroot; // the world data. only a ptr to 8 cubes (ie: like cube.children above) extern int wtris, wverts, vtris, vverts, glde, gbatches; extern int allocnodes, allocva, selchildcount, selchildmat; -- cgit v1.2.3