mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-24 09:50:19 +01:00
Compare commits
3 commits
4db4e5fbcb
...
5ffbab8208
Author | SHA1 | Date | |
---|---|---|---|
|
5ffbab8208 | ||
|
a6e2a433c4 | ||
|
ad4a17c2f2 |
6 changed files with 10 additions and 14 deletions
|
@ -222,13 +222,9 @@ if(UNIX AND NOT APPLE)
|
|||
include(GNUInstallDirs)
|
||||
install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
install(FILES "/Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications")
|
||||
install(FILES "/Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo")
|
||||
install(FILES "${PROJECT_NAME}/Icon_16x16.png" DESTINATION
|
||||
"share/icons/hicolor/16x16/apps" RENAME "${PROJECT_NAME}.png")
|
||||
install(FILES "${PROJECT_NAME}/Icon_32x32.png" DESTINATION
|
||||
"share/icons/hicolor/32x32/apps" RENAME "${PROJECT_NAME}.png")
|
||||
install(FILES "${PROJECT_NAME}/Icon_48x48.png" DESTINATION
|
||||
"share/icons/hicolor/48x48/apps" RENAME "${PROJECT_NAME}.png")
|
||||
install(FILES "${PROJECT_NAME}/Icon_192x192.png" DESTINATION
|
||||
"share/icons/hicolor/192x192/apps" RENAME "${PROJECT_NAME}.png")
|
||||
install(FILES "/Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo")
|
||||
foreach(S 16 32 48 128 192)
|
||||
install(FILES "${PROJECT_NAME}/Icon_${S}x${S}.png" DESTINATION
|
||||
"share/icons/hicolor/${S}x${S}/apps" RENAME "${PROJECT_NAME}.png")
|
||||
endforeach(S)
|
||||
endif()
|
||||
|
|
|
@ -21,13 +21,10 @@
|
|||
</provides>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-1.png?raw=true</image>
|
||||
<image>https://raw.githubusercontent.com/k4zmu2a/SpaceCadetPinball/master/Screenshots/screenshot-1.jpg</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image>https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-2.png?raw=true</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image>https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-3.png?raw=true</image>
|
||||
<image>https://raw.githubusercontent.com/k4zmu2a/SpaceCadetPinball/master/Screenshots/screenshot-2.jpg</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<releases>
|
||||
|
|
BIN
Screenshots/screenshot-1.jpg
Normal file
BIN
Screenshots/screenshot-1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 612 KiB |
BIN
Screenshots/screenshot-2.jpg
Normal file
BIN
Screenshots/screenshot-2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 278 KiB |
BIN
SpaceCadetPinball/Icon_128x128.png
Normal file
BIN
SpaceCadetPinball/Icon_128x128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
|
@ -253,6 +253,9 @@ int winmain::WinMain(LPCSTR lpCmdLine)
|
|||
RenderUi();
|
||||
|
||||
SDL_RenderClear(renderer);
|
||||
// Alternative clear hack, clear might fail on some systems
|
||||
// Todo: remove original clear, if save for all platforms
|
||||
SDL_RenderFillRect(renderer, nullptr);
|
||||
render::PresentVScreen();
|
||||
|
||||
ImGui::Render();
|
||||
|
|
Loading…
Reference in a new issue