Add higher resolution graphics

This commit is contained in:
Vinyl Darkscratch 2018-03-02 02:20:40 -08:00
parent d122d72ad6
commit f93eeb8082
8 changed files with 10 additions and 6 deletions

BIN
Graphics/desktop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
Graphics/es/save_unix.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 KiB

BIN
Graphics/fr/save_unix.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 KiB

BIN
Graphics/ja/save_unix.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 KiB

BIN
Graphics/save_unix.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 KiB

View file

@ -99,13 +99,16 @@ end:
if (hKey)
RegCloseKey(hKey);
#else
std::size_t found = imgname.find("w32");
if (found != std::string::npos) imgname.replace(imgname.end()-3, imgname.end(), "unix");
imgname = shState->config().gameFolder + "/Wallpaper/" + imageName + ".png";
#ifdef __APPLE__
if (!isCached) {
MacDesktop::CacheCurrentBackground();
isCached = true;
}
// imgname = shState->config().gameFolder + "/Wallpaper/" + imageName + "2x.bmp";
MacDesktop::ChangeBackground(imgname, ((color >> 16) & 0xFF) / 255.0, ((color >> 8) & 0xFF) / 255.0, ((color) & 0xFF) / 255.0);
if (!isCached) {
MacDesktop::CacheCurrentBackground();
isCached = true;
}
MacDesktop::ChangeBackground(imgname, ((color >> 16) & 0xFF) / 255.0, ((color >> 8) & 0xFF) / 255.0, ((color) & 0xFF) / 255.0);
#else
// XXX Implement me!
#endif

View file

@ -23,6 +23,7 @@ echo "-> ${cyan}Install OneShot apps to Steam directory...${color_reset}"
cp -f "./xScripts.rxdata" "$ONESHOT_PATH/Data/xScripts.rxdata"
cp -rf "./OneShot.app" "$ONESHOT_PATH"
cp -rf "./_______.app" "$ONESHOT_PATH"
cp -R "./Graphics/" "$ONESHOT_PATH/Wallpapers"
ln -sfh "$ONESHOT_PATH/OneShot.app" "$HOME/Applications/OneShot.app"
echo "\n${green}Complete! ${white}Please report any issues to https://github.com/vinyldarkscratch/synglechance/issues${color_reset}"