#ifndef __OOPLESS_PARSER__ #define __OOPLESS_PARSER__ #include "planes.h" #include "worldspawn.h" #include #include #include bool write(const struct TBrush &, std::ofstream &, void (*f) (std::stringstream &, const std::vector &)); void write(const std::vector &, std::ofstream &); std::vector get_entity(std::ifstream &); std::vector parse_vertices(std::ifstream &); std::vector parse_face(std::ifstream &); struct TBrush parse_brush(std::ifstream &); void parse_prefab(std::ifstream &, std::ofstream &, void (*f) (std::stringstream &, const std::vector &)); bool convertmap(const char * const, const char * const, void (*f) (std::stringstream &, const std::vector &)); #endif