mog, fix references to libSDL*, enable x86_64 (#4030)

This commit is contained in:
Schrijvers Luc
2019-07-26 16:18:18 +02:00
committed by GitHub
parent f465412fb5
commit 58b2882d92
2 changed files with 53 additions and 31 deletions

View File

@@ -1,22 +1,21 @@
SUMMARY="The Maze of Galious"
DESCRIPTION="
The Maze of Galious (MoG in short) was originally a Konami game for the MSX \
computer system. Its real name is Knightmare II: The Maze of Galious and is \
the sequel of another Konami game called Knightmare.
DESCRIPTION="The Maze of Galious (MoG in short) was originally a Konami game \
for the MSX computer system. Its real name is Knightmare II: The Maze of \
Galious and is the sequel of another Konami game called Knightmare.
MoG is a very addictive game where you have to kill thousands of enemies, \
collect items in order to obtain new powers and defeat some really great demons \
at the end of each level. The gameplay of MoG is not the boring linear one. In \
MoG you are free to go everywhere you want from the beginning of the game. You \
have to be very careful of the order in which you visit all the rooms in the \
HUGE map if you want to keep your character alive.
collect items in order to obtain new powers and defeat some really great \
demons at the end of each level. The gameplay of MoG is not the boring linear \
one. In MoG you are free to go everywhere you want from the beginning of the \
game. You have to be very careful of the order in which you visit all the \
rooms in the HUGE map if you want to keep your character alive.
The map is structured in a main map (called the castle) and 10 submaps (called \
the worlds). Initially you are in the castle and you have to find the keys \
that open the doors to go to each of the worlds.
To complete the game you have to defeat the boss at the end of each one of the \
10 worlds. You are free to revisit each world as often as you want in order to \
see if you have missed something.
The map is structured in a main map (called the castle) and 10 submaps \
(called the worlds). Initially you are in the castle and you have to find the \
keys that open the doors to go to each of the worlds.
To complete the game you have to defeat the boss at the end of each one of \
the 10 worlds. You are free to revisit each world as often as you want in \
order to see if you have missed something.
To defeat all 10 demons you control two characters: Popolon and Aphrodite. \
Each one has special abilities, i.e. Popolon has a greater ability to jump \
@@ -24,35 +23,35 @@ and Aphrodite is able to dive."
HOMEPAGE="http://www2.braingames.getput.com/mog/"
COPYRIGHT="2002-2009 Brain Games"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="http://braingames.jorito.net/mog/downloads/mog.src_0.63-1548.tgz"
CHECKSUM_SHA256="707bbc1b167a55989916f803dbe55c288652fb54df6194be029c41be99e9ec3a"
CHECKSUM_SHA256="3caf30d86f5b010b9266ef860c8c8ce0be23f37dee93dd037e7927d4237475eb"
PATCHES="mog-$portVersion.patchset"
ARCHITECTURES="x86_gcc2"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
mog = $portVersion
app:mog = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libSDL_image$secondaryArchSuffix
lib:libSDL_mixer$secondaryArchSuffix
lib:libSDL_sound$secondaryArchSuffix
haiku
lib:libSDL_1.2
lib:libSDL_image_1.2
lib:libSDL_mixer_1.2
lib:libSDL_sound_1.0
"
BUILD_REQUIRES="
devel:libsdl$secondaryArchSuffix
devel:libSDL_image$secondaryArchSuffix
devel:libSDL_mixer$secondaryArchSuffix
devel:libSDL_sound$secondaryArchSuffix
haiku_devel
devel:libSDL
devel:libSDL_image
devel:libSDL_mixer
devel:libSDL_sound
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
haiku_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:gcc
cmd:ld
cmd:make
"
@@ -66,5 +65,6 @@ INSTALL()
installDir=$appsDir/"Maze of Galious"
mkdir -p "$installDir"
make install PREFIX="$installDir" GAMEDIR="$installDir"
rm -rf "$installDir"/share/{applications,pixmaps}
addAppDeskbarSymlink "$installDir/mog" "Maze of Galious"
}

View File

@@ -0,0 +1,22 @@
From 7aa277588c522eb6f218b68cc6dfba209e7ad630 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sun, 21 Jul 2019 08:09:58 +0200
Subject: Disable fullscreen on startup
diff --git a/sources/main.cpp b/sources/main.cpp
index 84dc40f..0ef4582 100644
--- a/sources/main.cpp
+++ b/sources/main.cpp
@@ -28,7 +28,7 @@ int COLOUR_DEPTH = 8;
#define TRANSPARANT_COLOR (0)
-bool fullscreen = true;
+bool fullscreen = false;
// Redrawing constant
int REDRAWING_PERIOD = 40;
--
2.21.0