mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Add higher resolution graphics
This commit is contained in:
parent
d122d72ad6
commit
f93eeb8082
8 changed files with 10 additions and 6 deletions
BIN
Graphics/desktop.png
Normal file
BIN
Graphics/desktop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
Graphics/es/save_unix.png
Normal file
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
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
BIN
Graphics/ja/save_unix.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 794 KiB |
BIN
Graphics/pt_BR/save_unix.png
Normal file
BIN
Graphics/pt_BR/save_unix.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 783 KiB |
BIN
Graphics/save_unix.png
Normal file
BIN
Graphics/save_unix.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 787 KiB |
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue