entity_t and brush_t now converted to idEditorEntity and idEditorBrush

This commit is contained in:
Justin Marshall
2026-05-24 11:33:16 -07:00
parent d6d01e1faf
commit 3242531044
41 changed files with 1598 additions and 1540 deletions
+8 -8
View File
@@ -34,18 +34,18 @@ If you have questions concerning this license or the applicable additional terms
extern char currentmap[1024];
// head/tail of doubly linked lists
extern brush_t active_brushes; // brushes currently being displayed
extern brush_t selected_brushes; // highlighted
extern idEditorBrush active_brushes; // brushes currently being displayed
extern idEditorBrush selected_brushes; // highlighted
extern CPtrArray& g_ptrSelectedFaces;
extern CPtrArray& g_ptrSelectedFaceBrushes;
//extern face_t *selected_face;
//extern brush_t *selected_face_brush;
extern brush_t filtered_brushes; // brushes that have been filtered or regioned
//extern idEditorBrush *selected_face_brush;
extern idEditorBrush filtered_brushes; // brushes that have been filtered or regioned
extern entity_t entities;
extern entity_t *world_entity; // the world entity is NOT included in
extern idEditorEntity entities;
extern idEditorEntity *world_entity; // the world entity is NOT included in
// the entities chain
extern int modified; // for quit confirmations
@@ -72,12 +72,12 @@ void Map_RegionXY (void);
void Map_RegionTallBrush (void);
void Map_RegionBrush (void);
void Map_RegionSelectedBrushes (void);
bool Map_IsBrushFiltered (brush_t *b);
bool Map_IsBrushFiltered (idEditorBrush *b);
void Map_SaveSelected(CMemFile* pMemFile, CMemFile* pPatchFile = NULL);
void Map_ImportBuffer (char* buf, bool renameEntities = true);
int Map_GetUniqueEntityID(const char *prefix, const char *eclass);
idMapPrimitive *BrushToMapPrimitive( const brush_t *b, const idVec3 &origin );
idMapPrimitive *BrushToMapPrimitive( const idEditorBrush *b, const idVec3 &origin );
#endif