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 committed by Jonas Kulla
parent 0f9b5f274a
commit 60e967e3b7
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" #include "binding.h"
#ifdef __WINDOWS__
#include "resource.h"
#elif __LINUX__
#include "icon.png.xxd" #include "icon.png.xxd"
#endif
static void static void
rgssThreadError(RGSSThreadData *rtData, const std::string &msg) rgssThreadError(RGSSThreadData *rtData, const std::string &msg)