Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rocksndiamonds icon #958

Merged
merged 1 commit into from Dec 26, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Binary file not shown.
@@ -0,0 +1,38 @@
// Rocks 'n' Diamonds icon by Stephanie Fu

resource app_signature "application/x-vnd.Artsoft-rocksndiamonds";

resource app_flags B_EXCLUSIVE_LAUNCH;

resource app_version {
major = @MAJOR@,
middle = @MIDDLE@,
minor = @MINOR@,
variety = B_APPV_DEVELOPMENT,
internal = @INTERNAL@,
short_info = "Rocks'n'Diamonds",
long_info = "Rocks'n'Diamonds, an arcade style game.\nCopyright 2001-2013 Artsoft Entertainment"
};

resource file_types message;

resource vector_icon array {
$"6E6369660B03C6630203904902020004025AD37E28FFAB6115030065FE03A9CB"
$"FE033287FE05FE0300307E05FF04016303010000100A04243E3A483A5E24540A"
$"043A48503E50543A5E0A04243E3A48503E3A340A043C404440473739370A0339"
$"37402647370A0439373432373B3C400A033432402639370A0347374C3444400A"
$"03402647374C340607FE1B312EBA85B854BA1CB8A4BAA5B83BBAC5B7A8BACAB7"
$"E5BABFB77033B72233B75233B6D4BA1FB6BCBA5FB6E7B999B6BC30292D060C9A"
$"BFAA3035B86DBAAAB57C31273428B9ED28BB772935B6D533B66FBBA0B6F7BB84"
$"B83ABBB7B7FABB2AB8ACBAC5B929BBF0BCE933BC3D3231302F0608AFF9382FBC"
$"F0B7D737323532BC4DB9DC323333332F3526322535243225BBBEB4773927BC43"
$"B51F39B6FD06096BEE0335273628BACDB5393328B9E9B660B9C43530362FBA32"
$"2F36B743BBF2B80E362A382A362A362A362A38290608F22F3A59474C57C328C9"
$"89C4A6C8DC5356C6E1C8B7535655545554C840C7A85553C7FCC76155535D4D50"
$"0A06243B24513A5B5051503B3A310A062E313A2546333E3F363F313A0E0A0901"
$"0D2020220A00010020201D0A01010120201D0A02010220201D0A0A010E100117"
$"8200040A0A010F1001178400040A030103201A1F0A040104201A1F0A05010520"
$"1A1F0A060106201A1F0A070107201A1F0A050108201A1F0A0802090A201D3C0A"
$"08020B0C20323F"
};

@@ -84,3 +84,26 @@ index aaa3a5b..03723fb 100644
--
1.8.3.4


From 6953f4b742475f5d8befe8fcc9d9f5db5c7bc6c9 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sun, 25 Dec 2016 10:12:22 +0100
Subject: gcc5 patch


diff --git a/src/init.c b/src/init.c
index a7ad871..34e7ec2 100644
--- a/src/init.c
+++ b/src/init.c
@@ -257,7 +257,7 @@ void InitGadgets()
gadgets_initialized = TRUE;
}

-inline void InitElementSmallImagesScaledUp(int graphic)
+inline static void InitElementSmallImagesScaledUp(int graphic)
{
#if 0
struct FileInfo *fi = getImageListEntryFromImageID(graphic);
--
2.7.0

@@ -15,6 +15,7 @@ REVISION="2"
SOURCE_URI="http://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-3.3.1.2.tar.gz"
CHECKSUM_SHA256="c117c20026299c6c935bd531ef9b0dc767731f600881d12ceb80c831483755f3"
PATCHES="rocksndiamonds-$portVersion.patchset"
ADDITIONAL_FILES="rocksndiamonds.rdef.in"

ARCHITECTURES="!x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
@@ -59,5 +60,21 @@ INSTALL()
destdir=$appsDir/"Rocks'n'Diamonds"
mkdir -p $destdir
cp -r rocksndiamonds sounds graphics levels music $destdir

local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
local INTERNAL="`echo "$portVersion" | cut -d. -f4`"
sed \
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
-e "s|@INTERNAL@|$INTERNAL|" \
$portDir/additional-files/rocksndiamonds.rdef.in > rocksndiamonds.rdef

addResourcesToBinaries rocksndiamonds.rdef \
$destdir/rocksndiamonds

addAppDeskbarSymlink $destdir/rocksndiamonds "Rocks'n'Diamonds"
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.