Add icon and resource files for windows

Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
This commit is contained in:
Marty Plummer 2017-03-03 22:45:31 -06:00
parent 3b5f2608ec
commit a5a648ac86
4 changed files with 9 additions and 0 deletions

BIN
assets/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

1
assets/resource.h Normal file
View File

@ -0,0 +1 @@
#define IDI_APPICON 101

4
assets/resource.rc Normal file
View File

@ -0,0 +1,4 @@
#include <windows.h>
#include "resource.h"
IDI_APPICON ICON "icon.ico"

View File

@ -40,7 +40,11 @@
#include "binding.h"
#ifdef __WINDOWS__
#include "resource.h"
#elif __LINUX__
#include "icon.png.xxd"
#endif
static void
rgssThreadError(RGSSThreadData *rtData, const std::string &msg)