#ifndef __OOPLESS_PARSER__ #define __OOPLESS_PARSER__ #include "worldspawn.h" #include #include #include void write(const TBrush &object, const char * const fn); void write(const std::vector &object, const char * const fn); std::vector get_entity(std::ifstream &f); std::vector parse_vertices(std::ifstream &f); std::vector parse_face(std::ifstream & f); struct TBrush parse_brush(std::ifstream & f); void parse_prefab(std::ifstream & f, const char * const out); bool loadmap(const char* infile, const char * const outfile); #endif