ref: 51e6cb5a6cf6698e53d8ceac975dada5c5bbf4ee
parent: b7e25cd9bec3be34df0b8f004e37230ed4d27544
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Sep 25 09:48:10 EDT 2020
Convert cursors and icon to PNG No point using BMP, since they're way bigger, and they're not required for authenticity, since the original files were .cur and .ico files. At some point, I'd like to support those formats, so this branch can use the original files.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -199,8 +199,8 @@
"BITMAP/Credit16.bmp"
"BITMAP/Credit17.bmp"
"BITMAP/Credit18.bmp"
- "CURSOR/CURSOR_IKA.bmp"
- "CURSOR/CURSOR_NORMAL.bmp"
+ "CURSOR/CURSOR_IKA.png"
+ "CURSOR/CURSOR_NORMAL.png"
"ORG/Access.org"
"ORG/Anzen.org"
"ORG/Balcony.org"
@@ -442,7 +442,7 @@
# On Windows, we use native icons instead
if(NOT WIN32)
- list(APPEND RESOURCES "ICON/ICON_MINI.bmp")
+ list(APPEND RESOURCES "ICON/ICON_MINI.png")
endif()
binary files a/assets/resources/CURSOR/CURSOR_IKA.bmp /dev/null differ
binary files /dev/null b/assets/resources/CURSOR/CURSOR_IKA.png differ
binary files a/assets/resources/CURSOR/CURSOR_NORMAL.bmp /dev/null differ
binary files /dev/null b/assets/resources/CURSOR/CURSOR_NORMAL.png differ
binary files a/assets/resources/ICON/ICON_MINI.bmp /dev/null differ
binary files /dev/null b/assets/resources/ICON/ICON_MINI.png differ
--- a/src/Resource.cpp
+++ b/src/Resource.cpp
@@ -80,16 +80,16 @@
};
static const unsigned char rCURSOR_IKA[] = {
- #include "Resource/CURSOR/CURSOR_IKA.bmp.h"
+ #include "Resource/CURSOR/CURSOR_IKA.png.h"
};
static const unsigned char rCURSOR_NORMAL[] = {
- #include "Resource/CURSOR/CURSOR_NORMAL.bmp.h"
+ #include "Resource/CURSOR/CURSOR_NORMAL.png.h"
};
#ifndef _WIN32
static const unsigned char rICON_MINI[] = {
- #include "Resource/ICON/ICON_MINI.bmp.h"
+ #include "Resource/ICON/ICON_MINI.png.h"
};
#endif