summaryrefslogtreecommitdiff
path: root/src/engine/octa.h
diff options
context:
space:
mode:
authorxolatile2025-08-07 08:30:30 +0200
committerxolatile2025-08-07 08:30:30 +0200
commitb2c89d7060e99a36c8c7ac897b7386686c74deac (patch)
treef5e526378859cd1a86421efd25d3d6e6cb1d8bcc /src/engine/octa.h
parent4c8dfb375b4b30dbb6079f9d68024980d81ffa20 (diff)
downloadxolatile-badassbug-b2c89d7060e99a36c8c7ac897b7386686c74deac.tar.xz
xolatile-badassbug-b2c89d7060e99a36c8c7ac897b7386686c74deac.tar.zst
Removed undo and prefab...
Diffstat (limited to 'src/engine/octa.h')
-rw-r--r--src/engine/octa.h12
1 files changed, 0 insertions, 12 deletions
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;