Windows: Embed default font as a resource

After this, embedded MTLc3m.ttf is used unless the -fontfile option is
specified.
This commit is contained in:
kichikuou
2020-05-24 22:01:32 +09:00
parent b11ddd35c8
commit a0af5ef10c
8 changed files with 69 additions and 44 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ int main(int argc, char *argv[])
#endif
g_window = SDL_CreateWindow("Scenario Decoder SYSTEM3", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 400, flags);
const char* font_file = DEFAULT_FONT_PATH "MTLc3m.ttf";
const char* font_file = NULL;
const char* playlist = NULL;
const char* game_id = NULL;
const char* save_dir = NULL;