|
HoverRace
2.0
|
Compiles the standard textual track format (usually generated by HoverCAD). More...
#include <TrackCompiler.h>
Public Member Functions | |
| TrackCompiler (const TrackCompilationLogPtr &log, const Util::OS::path_t &outputFilename) | |
| ~TrackCompiler () | |
| void | Compile (const Util::OS::path_t &inputFilename) const |
| Compile the track from a text file. More... | |
| void | Compile (std::istream &in) const |
| Compile the track from an input stream. More... | |
Private Member Functions | |
| void | CreateHeader (std::istream &in, Parcel::ObjStream &pDestination) const |
Static Private Member Functions | |
| static void | AddBackgroundImage (std::istream &in, Parcel::ObjStream &pDestination) |
| static std::string | FormatStr (const char *pSrc) |
| static MR_UInt8 * | LoadBitmap (FILE *pFile) |
| static MR_UInt8 * | LoadPalette (FILE *pFile) |
| static MR_UInt8 * | PCXRead (FILE *pFile, int &pXRes, int &pYRes) |
Private Attributes | |
| TrackCompilationLogPtr | log |
| Util::OS::path_t | outputFilename |
Compiles the standard textual track format (usually generated by HoverCAD).
| HoverRace::MazeCompiler::TrackCompiler::TrackCompiler | ( | const TrackCompilationLogPtr & | log, |
| const Util::OS::path_t & | outputFilename | ||
| ) |
|
inline |
|
staticprivate |
| void HoverRace::MazeCompiler::TrackCompiler::Compile | ( | const Util::OS::path_t & | inputFilename | ) | const |
Compile the track from a text file.
| inputFilename | The full path to the input file. |
| TrackCompileExn |
| void HoverRace::MazeCompiler::TrackCompiler::Compile | ( | std::istream & | in | ) | const |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
1.8.11