Add higher resolution graphics
This commit is contained in:
parent
d122d72ad6
commit
f93eeb8082
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 789 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 782 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 794 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 783 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 787 KiB |
|
|
@ -99,12 +99,15 @@ end:
|
||||||
if (hKey)
|
if (hKey)
|
||||||
RegCloseKey(hKey);
|
RegCloseKey(hKey);
|
||||||
#else
|
#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__
|
#ifdef __APPLE__
|
||||||
if (!isCached) {
|
if (!isCached) {
|
||||||
MacDesktop::CacheCurrentBackground();
|
MacDesktop::CacheCurrentBackground();
|
||||||
isCached = true;
|
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);
|
MacDesktop::ChangeBackground(imgname, ((color >> 16) & 0xFF) / 255.0, ((color >> 8) & 0xFF) / 255.0, ((color) & 0xFF) / 255.0);
|
||||||
#else
|
#else
|
||||||
// XXX Implement me!
|
// XXX Implement me!
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ echo "-> ${cyan}Install OneShot apps to Steam directory...${color_reset}"
|
||||||
cp -f "./xScripts.rxdata" "$ONESHOT_PATH/Data/xScripts.rxdata"
|
cp -f "./xScripts.rxdata" "$ONESHOT_PATH/Data/xScripts.rxdata"
|
||||||
cp -rf "./OneShot.app" "$ONESHOT_PATH"
|
cp -rf "./OneShot.app" "$ONESHOT_PATH"
|
||||||
cp -rf "./_______.app" "$ONESHOT_PATH"
|
cp -rf "./_______.app" "$ONESHOT_PATH"
|
||||||
|
cp -R "./Graphics/" "$ONESHOT_PATH/Wallpapers"
|
||||||
ln -sfh "$ONESHOT_PATH/OneShot.app" "$HOME/Applications/OneShot.app"
|
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}"
|
echo "\n${green}Complete! ${white}Please report any issues to https://github.com/vinyldarkscratch/synglechance/issues${color_reset}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue