diff options
Diffstat (limited to 'ExporterTest/Main.cpp')
| -rw-r--r-- | ExporterTest/Main.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ExporterTest/Main.cpp b/ExporterTest/Main.cpp index 1fb6bea..ee47cbf 100644 --- a/ExporterTest/Main.cpp +++ b/ExporterTest/Main.cpp @@ -1,7 +1,7 @@ -#include <TextureExporter.h> -#include <RoomExporter.h> #include <CollisionExporter.h> #include <Globals.h> +#include <RoomExporter.h> +#include <TextureExporter.h> enum class ExporterFileMode { @@ -20,17 +20,15 @@ static void ExporterParseFileMode(std::string buildMode, ZFileMode& fileMode) fileMode = (ZFileMode)ExporterFileMode::ModeExample3; } -static void ExporterParseArgs([[maybe_unused]]int argc, char* argv[], int& i) +static void ExporterParseArgs([[maybe_unused]] int argc, char* argv[], int& i) { std::string arg = argv[i]; if (arg == "--do-x") { - } else if (arg == "--do-y") { - } } @@ -61,7 +59,8 @@ static void ExporterFileEnd(ZFile* file) static void ImportExporters() { // In this example we set up a new exporter called "EXAMPLE". - // By running ZAPD with the argument -se EXAMPLE, we tell it that we want to use this exporter for our resources. + // By running ZAPD with the argument -se EXAMPLE, we tell it that we want to use this exporter + // for our resources. ExporterSet* exporterSet = new ExporterSet(); exporterSet->processFileModeFunc = ExporterProcessFileMode; exporterSet->parseFileModeFunc = ExporterParseFileMode; @@ -75,5 +74,6 @@ static void ImportExporters() Globals::AddExporter("EXAMPLE", exporterSet); } -// When ZAPD starts up, it will automatically call the below function, which in turn sets up our exporters. +// When ZAPD starts up, it will automatically call the below function, which in turn sets up our +// exporters. REGISTER_EXPORTER(ImportExporters)
\ No newline at end of file |
