Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master games grimoire by Pol Vinogradov (f24160d4a8be1c6e473071b7efa56ed35bc86a95)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pol Vinogradov <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master games grimoire by Pol Vinogradov (f24160d4a8be1c6e473071b7efa56ed35bc86a95)
  • Date: Tue, 13 Mar 2007 17:01:01 -0500

GIT changes to master games grimoire by Pol Vinogradov <vin.public AT gmail.com>:

ChangeLog | 6 +-
games-rpg-sp/spectalum/BUILD | 1
games-rpg-sp/spectalum/DEPENDS | 3 +
games-rpg-sp/spectalum/DETAILS | 14 +++++
games-rpg-sp/spectalum/FINAL | 5 +
games-rpg-sp/spectalum/HISTORY | 3 +
games-rpg-sp/spectalum/INSTALL | 8 ++
games-rpg-sp/spectalum/PRE_BUILD | 34 ++++++++++++
games-rpg-sp/spectalum/spectalum-config-fix.patch | 59
++++++++++++++++++++++
9 files changed, 132 insertions(+), 1 deletion(-)

New commits:
commit f24160d4a8be1c6e473071b7efa56ed35bc86a95
Author: Pol Vinogradov <vin.public AT gmail.com>
Commit: Pol Vinogradov <vin.public AT gmail.com>

ChangeLog: fixed my typo

games-rpg-sp/spectalum: new spell, an engine remake of Eye of
Beholder 2 - The Legend of Darkmoon

diff --git a/ChangeLog b/ChangeLog
index c99057b..5af6033 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
+2007-03-14 Pol Vinogradov <vin.public AT gmail.com>
+ * games-rpg-sp/spectalum: new spell, an engine remake of Eye of
+ Beholder 2 - The Legend of Darkmoon
+
2007-03-13 Pol Vinogradov <vin.public AT gmail.com>
- * FUNCTIONS: perform removal of parent dirs to get rd of them in
+ * FUNCTIONS: perform removal of parent dirs to get rid of them in
compile/install logs

2007-03-12 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
diff --git a/games-rpg-sp/spectalum/BUILD b/games-rpg-sp/spectalum/BUILD
new file mode 100755
index 0000000..f2438e5
--- /dev/null
+++ b/games-rpg-sp/spectalum/BUILD
@@ -0,0 +1 @@
+default_games_build
diff --git a/games-rpg-sp/spectalum/DEPENDS b/games-rpg-sp/spectalum/DEPENDS
new file mode 100755
index 0000000..d4c5ed5
--- /dev/null
+++ b/games-rpg-sp/spectalum/DEPENDS
@@ -0,0 +1,3 @@
+depends automake &&
+depends g++ &&
+depends sdl
diff --git a/games-rpg-sp/spectalum/DETAILS b/games-rpg-sp/spectalum/DETAILS
new file mode 100755
index 0000000..0da3a04
--- /dev/null
+++ b/games-rpg-sp/spectalum/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=spectalum
+ VERSION=rev31
+ SOURCE=$SPELL-$VERSION-source.zip
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:1f2c4e870a09722708b797a719eb70f7197e8cfcb5285c29d339e6f74a529575e79087fc4890fb3c9e8d6495a369e9c5bceb42f2765050085cc97e92876fa14b
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}
+ WEB_SITE=http://www.eob2remake.com/
+ ENTERED=20070314
+ LICENSE[0]=GPL
+ SHORT="SPECTALUM - an engine remake of Eye of Beholder 2 - The
Legend of Darkmoon"
+cat << EOF
+SPECTALUM - an engine remake of Eye of Beholder 2 - The Legend of Darkmoon,
+still needs original game's files
+EOF
diff --git a/games-rpg-sp/spectalum/FINAL b/games-rpg-sp/spectalum/FINAL
new file mode 100755
index 0000000..76057fb
--- /dev/null
+++ b/games-rpg-sp/spectalum/FINAL
@@ -0,0 +1,5 @@
+message "${PROBLEM_COLOR}Warning:${DEFAULT_COLOR}\n" \
+ " This game is dependant on non-free game data.\n" \
+ " Please get the datafiles from your original Eye of Beholder 2 -
The Legend of Darkmoon \n" \
+ " (ENGLISH version only). Copy them into the
${INSTALL_ROOT}/usr/share/games/${SPELL}/original \n" \
+ " game folder ${DEFAULT_COLOR} \n\n"
diff --git a/games-rpg-sp/spectalum/HISTORY b/games-rpg-sp/spectalum/HISTORY
new file mode 100644
index 0000000..c0b2f91
--- /dev/null
+++ b/games-rpg-sp/spectalum/HISTORY
@@ -0,0 +1,3 @@
+2007-03-14 Pol Vinogradov <vin.public AT gmail.com>
+ * BUILD, DEPENDS, DETAILS, FINAL, INSTALL, PRE_BUILD,
+ spectalum-config-fix.patch: created spell
diff --git a/games-rpg-sp/spectalum/INSTALL b/games-rpg-sp/spectalum/INSTALL
new file mode 100755
index 0000000..eae2cc5
--- /dev/null
+++ b/games-rpg-sp/spectalum/INSTALL
@@ -0,0 +1,8 @@
+default_install &&
+
+for dir in data maps original sound
+do
+ cp -R $dir ${INSTALL_ROOT}/usr/share/games/${SPELL}
+done &&
+
+install_config_file ${SPELL}.conf ${INSTALL_ROOT}/etc
diff --git a/games-rpg-sp/spectalum/PRE_BUILD
b/games-rpg-sp/spectalum/PRE_BUILD
new file mode 100755
index 0000000..4d9c353
--- /dev/null
+++ b/games-rpg-sp/spectalum/PRE_BUILD
@@ -0,0 +1,34 @@
+default_pre_build &&
+
+cd ${BUILD_DIRECTORY} &&
+patch -p0 < ${SCRIPT_DIRECTORY}/${SPELL}-config-fix.patch &&
+
+cd ${SOURCE_DIRECTORY} &&
+
+rm -rf .svn &&
+for dir in data maps original sound src
+do
+ rm -rf $dir/.svn &&
+ rm -rf $dir/*/.svn
+done &&
+
+sedit "s:/etc:${TRACK_ROOT}/etc:" src/config.cpp &&
+sedit "s:maps/:${TRACK_ROOT}/usr/share/games/${SPELL}/maps/:" src/map.cpp &&
+sedit "s:original/:${TRACK_ROOT}/usr/share/games/${SPELL}/original/:g"
src/3DEngine.cpp &&
+sedit "s:sound/:${TRACK_ROOT}/usr/share/games/${SPELL}/sound/:g"
src/3DEngine.cpp &&
+sedit "s:original/:${TRACK_ROOT}/usr/share/games/${SPELL}/original/:g"
src/charmenu.cpp &&
+sedit "s:original/:${TRACK_ROOT}/usr/share/games/${SPELL}/original/:g"
src/event.cpp &&
+sedit "s:sound/:${TRACK_ROOT}/usr/share/games/${SPELL}/sound/:g"
src/event.cpp &&
+sedit "s:original/:${TRACK_ROOT}/usr/share/games/${SPELL}/original/:g"
src/intro.cpp &&
+sedit "s:mov/:${TRACK_ROOT}/usr/share/games/${SPELL}/mov/:g" src/intro.cpp
&&
+sedit "s:sound/:${TRACK_ROOT}/usr/share/games/${SPELL}/sound/:g"
src/intro.cpp &&
+sedit "s:original/:${TRACK_ROOT}/usr/share/games/${SPELL}/original/:g"
src/item.cpp &&
+sedit "s:data/:${TRACK_ROOT}/usr/share/games/${SPELL}/data/:g"
src/language.cpp &&
+sedit "s:original/:${TRACK_ROOT}/usr/share/games/${SPELL}/original/:g"
src/mazeobjects.cpp &&
+sedit "s:data/:${TRACK_ROOT}/usr/share/games/${SPELL}/data/:g"
src/mediawrapper.cpp &&
+sedit "s:original/:${TRACK_ROOT}/usr/share/games/${SPELL}/original/:g"
src/monster.cpp &&
+
+sedit 's:./configure "$@" && ::' autogen.sh &&
+chmod a+x autogen.sh &&
+./autogen.sh &&
+chmod a+x configure
diff --git a/games-rpg-sp/spectalum/spectalum-config-fix.patch
b/games-rpg-sp/spectalum/spectalum-config-fix.patch
new file mode 100644
index 0000000..6ef240f
--- /dev/null
+++ b/games-rpg-sp/spectalum/spectalum-config-fix.patch
@@ -0,0 +1,59 @@
+diff -Nuar spectalum.orig/src/3DEngine.cpp spectalum/src/3DEngine.cpp
+--- spectalum.orig/src/3DEngine.cpp 2006-10-14 16:19:18.000000000 +0500
++++ spectalum/src/3DEngine.cpp 2007-03-13 17:40:35.000000000 +0500
+@@ -4,6 +4,7 @@
+ ***********************************/
+
+ #include <config.cpp>
++#include <stdlib.h>
+
+
+ #ifdef WINCE
+@@ -158,7 +159,8 @@
+ mapEvent = new CEvent;
+
+ //Konfiguration laden
+- configuration.openConf("spectalum.conf");
++ if (! configuration.openConf(strcat(getenv("HOME"), "/.spectalumrc")))
++ configuration.openConf(strcat("/etc", "/spectalum.conf"));
+
+ //Media Wrapper
+ if(configuration.resolution == 0)
+diff -Nuar spectalum.orig/src/config.cpp spectalum/src/config.cpp
+--- spectalum.orig/src/config.cpp 2006-05-26 18:36:24.000000000 +0500
++++ spectalum/src/config.cpp 2007-03-13 17:42:07.000000000 +0500
+@@ -12,7 +12,7 @@
+ {
+ public:
+ //Konfigurationsfile einlesen
+- void openConf(char* fileName);
++ bool openConf(char* fileName);
+
+ //Werte zuweisen
+ void setValue(short key, short val);
+@@ -36,7 +36,7 @@
+ // Konfigurationsfile lesen und Werte zuordnen
+ //
+
+-void CConfig::openConf(char* fileName)
++bool CConfig::openConf(char* fileName)
+ {
+ this->fullscreen = false;
+ this->language = 0;
+@@ -60,7 +60,7 @@
+ this->language = 0;
+ this->startMapID = 0;
+ printf("Configuration file not found!\n");
+- exit(0);
++ return false;
+ }
+ else
+ {
+@@ -118,6 +118,7 @@
+ data[row][0] = '\0';
+ }
+ fclose(file);
++ return true;
+ }
+ }
+



  • [SM-Commit] GIT changes to master games grimoire by Pol Vinogradov (f24160d4a8be1c6e473071b7efa56ed35bc86a95), Pol Vinogradov, 03/13/2007

Archive powered by MHonArc 2.6.24.

Top of Page