summaryrefslogtreecommitdiff
path: root/tools/src/asset_processor/reader.cpp
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2021-11-23 05:40:41 +0100
committerHenny022p <info@henny022.de>2021-11-23 05:40:41 +0100
commitbc4a8577f3f139a8d0b420e2decbbb9701d25c4c (patch)
tree180a00ab6fb3a51ec6776747610e56e231f4140e /tools/src/asset_processor/reader.cpp
parent47a3e614a01598cf28f9f484c5405b522fd789fe (diff)
moved asset_processor to new location
Diffstat (limited to 'tools/src/asset_processor/reader.cpp')
-rw-r--r--tools/src/asset_processor/reader.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/src/asset_processor/reader.cpp b/tools/src/asset_processor/reader.cpp
new file mode 100644
index 00000000..4ce7842e
--- /dev/null
+++ b/tools/src/asset_processor/reader.cpp
@@ -0,0 +1,10 @@
+#include "reader.h"
+#include "util.h"
+#include <string>
+
+std::string opt_param(const std::string& format, int defaultVal, int value) {
+ if (value != defaultVal) {
+ return string_format(format, value);
+ }
+ return "";
+} \ No newline at end of file