Namespaces | Defines | Typedefs | Functions

bsp.cpp File Reference

#include "bsp.h"
#include <iostream>
#include "geometry/plane.h"
#include "perf/perf.h"
Include dependency graph for bsp.cpp:

Go to the source code of this file.

Namespaces

namespace  quake

Defines

#define DECLARE_LUMP_READER(type)   lump_object_t * readLump ## type (IO std::istream& in);
#define LUMP_READER_ENTRY(type, size)   { eLump_ ## type , readLump ## type , size },

Typedefs

typedef std::map< eLumpType,
direntry_t > 
quake::lump_entry_map_t
typedef lump_object_t *(* quake::lump_reader_t )(IO std::istream &in)

Functions

lump_object_t * quake::readLumpEntities (IO std::istream &in)
lump_object_t * quake::readLumpFaces (IO std::istream &in)
lump_object_t * quake::readLumpLeaffaces (IO std::istream &in)
lump_object_t * quake::readLumpLeafs (IO std::istream &in)
lump_object_t * quake::readLumpMeshverts (IO std::istream &in)
lump_object_t * quake::readLumpNodes (IO std::istream &in)
lump_object_t * quake::readLumpPlanes (IO std::istream &in)
lump_object_t * quake::readLumpTextures (IO std::istream &in)
lump_object_t * quake::readLumpVertices (IO std::istream &in)
static const lump_entry_t * quake::getLumpEntry (IN eLumpType type) throw ()

Define Documentation

#define DECLARE_LUMP_READER (   type  )     lump_object_t * readLump ## type (IO std::istream& in);

Definition at line 49 of file bsp.cpp.

#define LUMP_READER_ENTRY (   type,
  size 
)    { eLump_ ## type , readLump ## type , size },

Definition at line 62 of file bsp.cpp.