From e5e5295ed38cb24feb5ee6f827b2765a4153bfc8 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 4 Mar 2020 21:13:21 +0800 Subject: *misc --- Release/SoftShadeRoom.exe | Bin 127488 -> 129536 bytes SoftShadeRoom/SoftShadeRoom.vcxproj | 2 +- SoftShadeRoom/SoftShadeRoom.vcxproj.filters | 2 +- src/settings.h | 27 +++++++++++++++++++++++++++ 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 src/settings.h diff --git a/Release/SoftShadeRoom.exe b/Release/SoftShadeRoom.exe index 86f7163..e1c52b4 100644 Binary files a/Release/SoftShadeRoom.exe and b/Release/SoftShadeRoom.exe differ diff --git a/SoftShadeRoom/SoftShadeRoom.vcxproj b/SoftShadeRoom/SoftShadeRoom.vcxproj index 00e2248..87b5a64 100644 --- a/SoftShadeRoom/SoftShadeRoom.vcxproj +++ b/SoftShadeRoom/SoftShadeRoom.vcxproj @@ -211,13 +211,13 @@ + - diff --git a/SoftShadeRoom/SoftShadeRoom.vcxproj.filters b/SoftShadeRoom/SoftShadeRoom.vcxproj.filters index c2d210c..110c667 100644 --- a/SoftShadeRoom/SoftShadeRoom.vcxproj.filters +++ b/SoftShadeRoom/SoftShadeRoom.vcxproj.filters @@ -248,7 +248,6 @@ core - extern @@ -258,5 +257,6 @@ extend + \ No newline at end of file diff --git a/src/settings.h b/src/settings.h new file mode 100644 index 0000000..9698ca4 --- /dev/null +++ b/src/settings.h @@ -0,0 +1,27 @@ +#ifndef _SOFTSHADEROOM_SETTINGS_H_ +#define _SOFTSHADEROOM_SETTINGS_H_ + +#include "util/type.h" + +// ´ÓÃüÁîÐжÁÈ¡µÄÅäÖà +typedef struct { + const char* png_file; // baking target +} Settings; + +Settings settings; + +bool settings_init(const char* cmd); + +#ifdef SETTING_IMPLEMENT +Settings settings; + +bool settings_init(const char* cmd) { + if(cmd == NULL) return; + // default settings + settings.png_file = NULL; + + return TRUE; +} +#endif + +#endif \ No newline at end of file -- cgit v1.1-26-g67d0