
This used to be a feature before the accurate-portable split, I'm just restoring it. Previously, while the EXE itself had a unique icon, the window and taskbar both used the generic 'small' icon, which the original EXE only used for the window. SDL2 gives us a way to assign separate icons to each, but it's a little clunky: it's Windows-only, requires the icons be in .ico format, and needs them to be embedded in the EXE as resource files. Also, for some reason, SDL2 doesn't let us refer to them by name - we have to use their numerical ID.
85 lines
2.2 KiB
Text
85 lines
2.2 KiB
Text
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource1.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "afxres.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Japanese resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
|
|
#pragma code_page(932)
|
|
#endif //_WIN32
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION 1,0,0,6
|
|
PRODUCTVERSION 1,0,0,6
|
|
FILEFLAGSMASK 0x17L
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x4L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "041104b0"
|
|
BEGIN
|
|
VALUE "FileDescription", "Doukutsu"
|
|
VALUE "FileVersion", "1, 0, 0, 6"
|
|
VALUE "InternalName", "Doukutsu Monogatari"
|
|
VALUE "LegalCopyright", "I can't get MSVC2003 to understand Japanese so here's a placeholder"
|
|
VALUE "OriginalFilename", "Doukutsu.exe"
|
|
VALUE "ProductName", "I can't get MSVC2003 to understand Japanese so here's a placeholder"
|
|
VALUE "ProductVersion", "1, 0, 0, 6"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x411, 1200
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
0 ICON "ICON/0.ico"
|
|
1 ICON "ICON/ICON_MINI.ico"
|
|
#endif // Japanese resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|