doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
EditorMap.h File Reference

Go to the source code of this file.

Functions

void Map_LoadFile (const char *filename)
 
bool Map_SaveFile (const char *filename, bool use_region, bool autosave=false)
 
void Map_New (void)
 
void Map_BuildBrushData (void)
 
void Map_RegionOff (void)
 
void Map_RegionXY (void)
 
void Map_RegionTallBrush (void)
 
void Map_RegionBrush (void)
 
void Map_RegionSelectedBrushes (void)
 
bool Map_IsBrushFiltered (brush_t *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)
 
idMapPrimitiveBrushToMapPrimitive (const brush_t *b, const idVec3 &origin)
 

Variables

char currentmap [1024]
 
brush_t active_brushes
 
brush_t selected_brushes
 
CPtrArray & g_ptrSelectedFaces
 
CPtrArray & g_ptrSelectedFaceBrushes
 
brush_t filtered_brushes
 
entity_t entities
 
entity_tworld_entity
 
int modified
 
idVec3 region_mins
 
idVec3 region_maxs
 
bool region_active
 

Function Documentation

idMapPrimitive* BrushToMapPrimitive ( const brush_t *  b,
const idVec3 origin 
)

Definition at line 559 of file EditorMap.cpp.

void Map_BuildBrushData ( void  )

Definition at line 121 of file EditorMap.cpp.

int Map_GetUniqueEntityID ( const char *  prefix,
const char *  eclass 
)

Definition at line 163 of file EditorMap.cpp.

void Map_ImportBuffer ( char *  buf,
bool  renameEntities = true 
)

Definition at line 1145 of file EditorMap.cpp.

bool Map_IsBrushFiltered ( brush_t *  b)

Definition at line 924 of file EditorMap.cpp.

void Map_LoadFile ( const char *  filename)

Definition at line 424 of file EditorMap.cpp.

void Map_New ( void  )

Definition at line 807 of file EditorMap.cpp.

void Map_RegionBrush ( void  )

Definition at line 1092 of file EditorMap.cpp.

void Map_RegionOff ( void  )

Definition at line 949 of file EditorMap.cpp.

void Map_RegionSelectedBrushes ( void  )

Definition at line 1003 of file EditorMap.cpp.

void Map_RegionTallBrush ( void  )

Definition at line 1067 of file EditorMap.cpp.

void Map_RegionXY ( void  )

Definition at line 1038 of file EditorMap.cpp.

bool Map_SaveFile ( const char *  filename,
bool  use_region,
bool  autosave = false 
)

Definition at line 653 of file EditorMap.cpp.

void Map_SaveSelected ( CMemFile *  pMemFile,
CMemFile *  pPatchFile = NULL 
)

Definition at line 1392 of file EditorMap.cpp.

Variable Documentation

brush_t active_brushes

Definition at line 39 of file EditorMap.cpp.

char currentmap[1024]

Definition at line 37 of file EditorMap.cpp.

entity_t entities

Definition at line 47 of file EditorMap.cpp.

brush_t filtered_brushes

Definition at line 45 of file EditorMap.cpp.

CPtrArray& g_ptrSelectedFaceBrushes
CPtrArray& g_ptrSelectedFaces
int modified
bool region_active

Definition at line 835 of file EditorMap.cpp.

idVec3 region_maxs
idVec3 region_mins
brush_t selected_brushes

Definition at line 40 of file EditorMap.cpp.

entity_t* world_entity

Definition at line 49 of file EditorMap.cpp.