mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Ember is a WorldForge 3d client using the OGRE 3d library. It's a fork from the
Dime code base. The main differences between Dime and Ember is the latters focus on using third party libraries instead of in house development, and its commitment to OGRE. Some of the features are: * Full 3d world with dynamic terrain generation * Easy to use GUI system * Context menus for in game interaction * Support for experimental graphical features such as dynamically generated trees, realistic water and ground cover WWW: http://www.worldforge.org/dev/eng/clients/ember
This commit is contained in:
parent
e6ee415d32
commit
2dfa8b23ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144195
@ -135,6 +135,7 @@
|
||||
SUBDIR += einstein
|
||||
SUBDIR += el
|
||||
SUBDIR += emacs-chess
|
||||
SUBDIR += ember
|
||||
SUBDIR += empire
|
||||
SUBDIR += enigma
|
||||
SUBDIR += ensemblist
|
||||
|
74
games/ember/Makefile
Normal file
74
games/ember/Makefile
Normal file
@ -0,0 +1,74 @@
|
||||
# New ports collection makefile for: ember
|
||||
# Date created: 03 Oct 2005
|
||||
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ember
|
||||
PORTVERSION= 0.3.2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR=worldforge
|
||||
|
||||
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
||||
PATCH_SITE_SUBDIR=oliver
|
||||
PATCHFILES= patch-ember-opcode.bz2
|
||||
|
||||
MAINTAINER= oliver@FreeBSD.org
|
||||
COMMENT= Ember is a WorldForge 3d client using the OGRE 3d library
|
||||
|
||||
LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
|
||||
OgreMain.9:${PORTSDIR}/graphics/ogre3d \
|
||||
eris-1.3:${PORTSDIR}/devel/eris \
|
||||
varconf-1.0.5:${PORTSDIR}/devel/varconf \
|
||||
mercator-0.2.4:${PORTSDIR}/devel/mercator \
|
||||
openal.0:${PORTSDIR}/audio/openal
|
||||
|
||||
CONFIGURE_ARGS= --with-png-prefix=${LOCALBASE} --enable-binreloc --program-transform-name=
|
||||
USE_SDL= sdl image
|
||||
USE_REINPLACE= YES
|
||||
USE_LIBTOOL_VER=13
|
||||
GNU_CONFIGURE= YES
|
||||
INSTALLS_SHLIB= YES
|
||||
USE_GCC= 3.4
|
||||
USE_ZIP= YES
|
||||
USE_X_PREFIX= YES
|
||||
USE_GNOME= gnomehack
|
||||
CPPFLAGS= -DBR_NO_MACROS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '\
|
||||
s|sdl-config|${SDL_CONFIG}|g; \
|
||||
s|"-lopenal|"-L${LOCALBASE}/lib -lopenal ${PTHREAD_LIBS}|g; \
|
||||
s|src/components/ogre/SceneManagers/EmberSceneManager[a-z/]*/Makefile||g; \
|
||||
s|CEGUI-OGRE_\([A-Z]*=\)|CEGUI_OGRE_\1|g; \
|
||||
s|\$$CEGUI-OGRE_\([A-Z]*\)|\$$CEGUI_OGRE_\1|g' \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|<SDL/|<|g' \
|
||||
${WRKSRC}/configure \
|
||||
${WRKSRC}/src/components/ogre/EmberOgre.cpp
|
||||
@${REINPLACE_CMD} -e 's|#include "framework/float_cast.h"||g' \
|
||||
${WRKSRC}/src/components/ogre/environment/meshtree/TStem.cpp
|
||||
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' \
|
||||
${WRKSRC}/src/components/ogre/SceneManagers/EmberPagingSceneManager/src/filetutils.cpp
|
||||
@${REINPLACE_CMD} -e 's|#include "OgrePagingLandScapeIntersectionSceneQuery.h"||' \
|
||||
${WRKSRC}/src/components/ogre/SceneManagers/EmberPagingSceneManager/src/OgrePagingLandScapeSceneManager.cpp
|
||||
@${REINPLACE_CMD} -e 's| install-dist_docDATA | |g' ${WRKSRC}/Makefile.in
|
||||
.if ${OSVERSION} < 500000
|
||||
@${REINPLACE_CMD} -e 's|lrintf|(long int)rintf|g' \
|
||||
${WRKSRC}/src/components/ogre/environment/meshtree/TStem.cpp \
|
||||
${WRKSRC}/src/components/ogre/EmberEntityFactory.cpp
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for docfile in README COPYING AUTHORS ChangeLog TODO
|
||||
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
4
games/ember/distinfo
Normal file
4
games/ember/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (ember-0.3.2.zip) = bd60abd65f60284f51d4e69efadfb81e
|
||||
SIZE (ember-0.3.2.zip) = 1637051
|
||||
MD5 (patch-ember-opcode.bz2) = 212fc7e0015566f0aabf9f43fc376aaf
|
||||
SIZE (patch-ember-opcode.bz2) = 38136
|
131
games/ember/files/patch-ember
Normal file
131
games/ember/files/patch-ember
Normal file
@ -0,0 +1,131 @@
|
||||
--- /dev/null Mon Oct 3 20:13:37 2005
|
||||
+++ ember Mon Oct 3 20:17:51 2005
|
||||
@@ -0,0 +1,128 @@
|
||||
+#!/bin/sh
|
||||
+
|
||||
+
|
||||
+
|
||||
+# Function to find the real directory a program resides in.
|
||||
+# Feb. 17, 2000 - Sam Lantinga, Loki Entertainment Software
|
||||
+FindPath()
|
||||
+{
|
||||
+ fullpath="`echo $0 | grep /`"
|
||||
+ if [ "$fullpath" = "" ]; then
|
||||
+ oIFS="$IFS"
|
||||
+ IFS=:
|
||||
+ for path in $PATH
|
||||
+ do if [ -x "$path/$0" ]; then
|
||||
+ if [ "$path" = "" ]; then
|
||||
+ path="."
|
||||
+ fi
|
||||
+ fullpath="$path/$0"
|
||||
+ break
|
||||
+ fi
|
||||
+ done
|
||||
+ IFS="$oIFS"
|
||||
+ fi
|
||||
+ if [ "$fullpath" = "" ]; then
|
||||
+ fullpath="$0"
|
||||
+ fi
|
||||
+
|
||||
+ # Is the sed/ls magic portable?
|
||||
+ if [ -L "$fullpath" ]; then
|
||||
+ #fullpath="`ls -l "$fullpath" | awk '{print $01}'`"
|
||||
+ fullpath=`ls -l "$fullpath" |sed -e 's/.* -> //' |sed -e 's/\*//'`
|
||||
+ fi
|
||||
+ dirname $fullpath
|
||||
+}
|
||||
+
|
||||
+
|
||||
+
|
||||
+
|
||||
+
|
||||
+# Setup variables
|
||||
+#get the dir where this script resides in
|
||||
+set -- $(FindPath)
|
||||
+path=$*
|
||||
+test=$1
|
||||
+#if [ "$fullpath" = "" ]; then
|
||||
+if [ "$test" = "." ]; then
|
||||
+ path=${PWD}
|
||||
+fi
|
||||
+prefix=${path}/..
|
||||
+
|
||||
+#prefix=$HOME/opt/ember_static_x86/
|
||||
+echo "According to my calculations Ember should be installed in $prefix"
|
||||
+
|
||||
+
|
||||
+
|
||||
+#scriptPath=$0
|
||||
+#prefix=`dirname ${scriptPath}`/..
|
||||
+
|
||||
+exec_prefix=${prefix}
|
||||
+bindir=${exec_prefix}/bin
|
||||
+datadir=${prefix}/share/games/ember
|
||||
+etcdir=${prefix}/etc/ember
|
||||
+homedata=$HOME/.ember
|
||||
+
|
||||
+WFUT_JAR=WFUT.jar
|
||||
+
|
||||
+# Create dir if required
|
||||
+if [ ! -d $homedata ] ; then
|
||||
+ echo "Created ~/.ember to store all game data."
|
||||
+ mkdir $homedata
|
||||
+fi
|
||||
+
|
||||
+# Determine if java executable exists in path
|
||||
+JAVA=`which java`
|
||||
+if [ -x $JAVA ] ; then
|
||||
+
|
||||
+ # See if Updater exists in home dir
|
||||
+ if [ ! -e $homedata/$WFUT_JAR ] ; then
|
||||
+ # Check to see if its in the install dir
|
||||
+ if [ -e $datadir/$WFUT_JAR ] ; then
|
||||
+ # Install into home dir
|
||||
+ echo "Installing Updater"
|
||||
+
|
||||
+ # Copy WFUT to home dir
|
||||
+ cp $datadir/$WFUT_JAR $homedata
|
||||
+
|
||||
+ fi
|
||||
+ fi
|
||||
+
|
||||
+ #make sure the configfile also is copied
|
||||
+ if [ ! -e $homedata/configfile ] ; then
|
||||
+ echo "No config file for WFUT found, trying to install."
|
||||
+ if [ -e $etcdir/configfile ] ; then
|
||||
+ # Copy WFUT to home dir
|
||||
+ cp $etcdir/configfile $homedata/
|
||||
+ echo "Copied config file for WFUT."
|
||||
+ fi
|
||||
+ fi
|
||||
+
|
||||
+
|
||||
+ # Run Updater if it exists
|
||||
+#it should exist
|
||||
+# if [ -e $homedata/$WFUT_JAR ] ; then
|
||||
+ # Store Current dir
|
||||
+ CUR_DIR=`pwd`
|
||||
+ # We need to change here so updater knows where to find / store data
|
||||
+ cd $homedata
|
||||
+ # Update
|
||||
+ echo "Updating data from the server, this might take some time on a slow connection (circa 30 Mb of data)"
|
||||
+ xterm -T "Downloading media..." -e $JAVA -jar $WFUT_JAR update ember-media
|
||||
+ # Restore dir
|
||||
+ cd $CUR_DIR
|
||||
+# fi
|
||||
+else
|
||||
+ echo "Java not found in path. Updater cannot be run. For now, that means that you won't get the media necessary, so I will quit right now. In the future this dependecy on java will disappear though."
|
||||
+ exit
|
||||
+fi
|
||||
+
|
||||
+LD_LIBRARY=$prefix/lib/ember:$LD_LIBRARY
|
||||
+LD_LIBRARY_PATH=$prefix/lib/ember:$LD_LIBRARY_PATH
|
||||
+export LD_LIBRARY
|
||||
+export LD_LIBRARY_PATH
|
||||
+
|
||||
+# Execute real ember binary
|
||||
+echo "Starting Ember...."
|
||||
+#we have to do the LD_PRELOAD thing, because else at least I get an error: libnvidia-tls.so.1: cannot handle TLS data /ehj
|
||||
+LD_PRELOAD=libGL.so.1 $bindir/ember.bin --binrelocloading
|
||||
+
|
196
games/ember/files/patch-src-framework-osdir.h
Normal file
196
games/ember/files/patch-src-framework-osdir.h
Normal file
@ -0,0 +1,196 @@
|
||||
--- /dev/null Mon Oct 3 19:55:00 2005
|
||||
+++ src/framework/osdir.h Sat Sep 24 01:01:11 2005
|
||||
@@ -0,0 +1,193 @@
|
||||
+/**
|
||||
+ * Copyright (C) 2002 Bart Vanhauwaert
|
||||
+ *
|
||||
+ * Permission to use, copy, modify, distribute and sell this software
|
||||
+ * for any purpose is hereby granted without fee. This license
|
||||
+ * includes (but is not limited to) standalone compilation or as part
|
||||
+ * of a larger project.
|
||||
+ *
|
||||
+ * This software is provided "as is" without express or implied warranty.
|
||||
+ *
|
||||
+ * For a full statement on warranty and terms and conditions for
|
||||
+ * copying, distribution and modification, please see the comment block
|
||||
+ * at the end of this file.
|
||||
+ *
|
||||
+ * Version 1
|
||||
+ *
|
||||
+ */
|
||||
+
|
||||
+#ifndef OSLINK_OSDIR_HEADER_H_
|
||||
+#define OSLINK_OSDIR_HEADER_H_
|
||||
+
|
||||
+#if defined(unix) || defined(__unix) || defined(__unix__)
|
||||
+#define OSLINK_OSDIR_POSIX
|
||||
+#elif defined(_WIN32)
|
||||
+#define OSLINK_OSDIR_WINDOWS
|
||||
+#else
|
||||
+#define OSLINK_OSDIR_NOTSUPPORTED
|
||||
+#endif
|
||||
+
|
||||
+#include <string>
|
||||
+
|
||||
+#if defined(OSLINK_OSDIR_NOTSUPPORTED)
|
||||
+
|
||||
+namespace oslink
|
||||
+{
|
||||
+ class directory
|
||||
+ {
|
||||
+ public:
|
||||
+ directory(const std::string&) { }
|
||||
+ operator void*() const { return (void*)0; }
|
||||
+ std::string next() { return ""; }
|
||||
+ };
|
||||
+}
|
||||
+
|
||||
+#elif defined(OSLINK_OSDIR_POSIX)
|
||||
+
|
||||
+#include <sys/types.h>
|
||||
+#include <dirent.h>
|
||||
+
|
||||
+namespace oslink
|
||||
+{
|
||||
+ class directory
|
||||
+ {
|
||||
+ public:
|
||||
+ directory(const std::string& aName)
|
||||
+ : handle(opendir(aName.c_str())), willfail(false)
|
||||
+ {
|
||||
+ if (!handle)
|
||||
+ willfail = true;
|
||||
+ else
|
||||
+ {
|
||||
+ dirent* entry = readdir(handle);
|
||||
+ if (entry)
|
||||
+ current = entry->d_name;
|
||||
+ else
|
||||
+ willfail = true;
|
||||
+ }
|
||||
+ }
|
||||
+ ~directory()
|
||||
+ {
|
||||
+ if (handle)
|
||||
+ closedir(handle);
|
||||
+ }
|
||||
+ operator void*() const
|
||||
+ {
|
||||
+ return willfail ? (void*)0:(void*)(-1);
|
||||
+ }
|
||||
+ std::string next()
|
||||
+ {
|
||||
+ std::string prev(current);
|
||||
+ dirent* entry = readdir(handle);
|
||||
+ if (entry)
|
||||
+ current = entry->d_name;
|
||||
+ else
|
||||
+ willfail = true;
|
||||
+ return prev;
|
||||
+ }
|
||||
+ private:
|
||||
+ DIR* handle;
|
||||
+ bool willfail;
|
||||
+ std::string current;
|
||||
+ };
|
||||
+}
|
||||
+
|
||||
+#elif defined(OSLINK_OSDIR_WINDOWS)
|
||||
+
|
||||
+#include <windows.h>
|
||||
+#include <winbase.h>
|
||||
+
|
||||
+namespace oslink
|
||||
+{
|
||||
+ class directory
|
||||
+ {
|
||||
+ public:
|
||||
+ directory(const std::string& aName)
|
||||
+ : handle(INVALID_HANDLE_VALUE), willfail(false)
|
||||
+ {
|
||||
+ // First check the attributes trying to access a non-directory with
|
||||
+ // FindFirstFile takes ages
|
||||
+ DWORD attrs = GetFileAttributes(aName.c_str());
|
||||
+ if ( (attrs == 0xFFFFFFFF) || ((attrs && FILE_ATTRIBUTE_DIRECTORY) == 0) )
|
||||
+ {
|
||||
+ willfail = true;
|
||||
+ return;
|
||||
+ }
|
||||
+ std::string Full(aName);
|
||||
+ // Circumvent a problem in FindFirstFile with c:\\* as parameter
|
||||
+ if ( (Full.length() > 0) && (Full[Full.length()-1] != '\\') )
|
||||
+ Full += "\\";
|
||||
+ WIN32_FIND_DATA entry;
|
||||
+ handle = FindFirstFile( (Full+"*").c_str(), &entry);
|
||||
+ if (handle == INVALID_HANDLE_VALUE)
|
||||
+ willfail = true;
|
||||
+ else
|
||||
+ current = entry.cFileName;
|
||||
+ }
|
||||
+ ~directory()
|
||||
+ {
|
||||
+ if (handle != INVALID_HANDLE_VALUE)
|
||||
+ FindClose(handle);
|
||||
+ }
|
||||
+
|
||||
+ operator void*() const
|
||||
+ {
|
||||
+ return willfail ? (void*)0:(void*)(-1);
|
||||
+ }
|
||||
+ std::string next()
|
||||
+ {
|
||||
+ std::string prev = current;
|
||||
+ WIN32_FIND_DATA entry;
|
||||
+ int ok = FindNextFile(handle, &entry);
|
||||
+ if (!ok)
|
||||
+ willfail = true;
|
||||
+ else
|
||||
+ current = entry.cFileName;
|
||||
+ return current;
|
||||
+ }
|
||||
+ private:
|
||||
+ HANDLE handle;
|
||||
+ bool willfail;
|
||||
+ std::string current;
|
||||
+ };
|
||||
+}
|
||||
+
|
||||
+
|
||||
+#endif
|
||||
+
|
||||
+#endif
|
||||
+
|
||||
+/**
|
||||
+ *
|
||||
+ * The "library", below, refers to the collection of software functions
|
||||
+ * and/or data contained in this file, prepared so as to be conveniently
|
||||
+ * compiled and linked with application programs (which use some of those
|
||||
+ * functions and data) to form executables.
|
||||
+ *
|
||||
+ * NO WARRANTY
|
||||
+ *
|
||||
+ * 1. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
+ * WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
+ * EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
+ * OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
+ * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
+ * PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
+ * LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
+ * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
+ *
|
||||
+ * 2. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
+ * WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
+ * AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
+ * FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
+ * CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
+ * LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
+ * RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
+ * FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
+ * SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
+ * DAMAGES.
|
||||
+ *
|
||||
+ * END OF TERMS AND CONDITIONS
|
||||
+ *
|
||||
+ */
|
||||
+
|
74
games/ember/files/patch-src-framework-prefix.cpp
Normal file
74
games/ember/files/patch-src-framework-prefix.cpp
Normal file
@ -0,0 +1,74 @@
|
||||
--- src/framework/prefix.cpp.orig Mon Oct 3 19:05:02 2005
|
||||
+++ src/framework/prefix.cpp Mon Oct 3 19:19:25 2005
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#ifndef BR_PTHREADS
|
||||
/* Change 1 to 0 if you don't want pthread support */
|
||||
- #define BR_PTHREADS 1
|
||||
+ #define BR_PTHREADS 0
|
||||
#endif /* BR_PTHREADS */
|
||||
|
||||
#include <stdlib.h>
|
||||
@@ -105,14 +105,14 @@
|
||||
FILE *f;
|
||||
char *path;
|
||||
|
||||
- br_return_val_if_fail (symbol != NULL, NULL);
|
||||
+ br_return_val_if_fail (symbol != NULL, (char *)NULL);
|
||||
|
||||
f = fopen ("/proc/self/maps", "r");
|
||||
if (!f) {
|
||||
if (fallback_func)
|
||||
return fallback_func(symbol, fallback_data);
|
||||
else
|
||||
- return NULL;
|
||||
+ return (char *)NULL;
|
||||
}
|
||||
|
||||
while (!feof (f))
|
||||
@@ -151,7 +151,7 @@
|
||||
}
|
||||
|
||||
fclose (f);
|
||||
- return NULL;
|
||||
+ return (char *)NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -173,10 +173,10 @@
|
||||
{
|
||||
char *path, *prefix;
|
||||
|
||||
- br_return_val_if_fail (symbol != NULL, NULL);
|
||||
+ br_return_val_if_fail (symbol != NULL, (char *)NULL);
|
||||
|
||||
path = br_locate (symbol);
|
||||
- if (!path) return NULL;
|
||||
+ if (!path) return (char *)NULL;
|
||||
|
||||
prefix = br_extract_prefix (path);
|
||||
free (path);
|
||||
@@ -203,11 +203,11 @@
|
||||
{
|
||||
char *tmp, *newpath;
|
||||
|
||||
- br_return_val_if_fail (symbol != NULL, NULL);
|
||||
- br_return_val_if_fail (path != NULL, NULL);
|
||||
+ br_return_val_if_fail (symbol != NULL, (char *)NULL);
|
||||
+ br_return_val_if_fail (path != NULL, (char *)NULL);
|
||||
|
||||
tmp = br_locate_prefix (symbol);
|
||||
- if (!tmp) return NULL;
|
||||
+ if (!tmp) return (char *)NULL;
|
||||
|
||||
if (strcmp (tmp, "/") == 0)
|
||||
newpath = strdup (path);
|
||||
@@ -215,7 +215,7 @@
|
||||
newpath = br_strcat (tmp, path);
|
||||
|
||||
/* Get rid of compiler warning ("br_prepend_prefix never used") */
|
||||
- if (0) br_prepend_prefix (NULL, NULL);
|
||||
+ if (0) br_prepend_prefix (NULL, (char *)NULL);
|
||||
|
||||
free (tmp);
|
||||
return newpath;
|
@ -0,0 +1,10 @@
|
||||
--- src/services/logging/LoggingService.h.orig Tue Oct 4 17:58:10 2005
|
||||
+++ src/services/logging/LoggingService.h Tue Oct 4 17:58:25 2005
|
||||
@@ -28,6 +28,7 @@
|
||||
//#include <sigc++/object_slot.h>
|
||||
|
||||
#include <ctime>
|
||||
+#include <stdarg.h>
|
||||
|
||||
|
||||
namespace Ember
|
14
games/ember/pkg-descr
Normal file
14
games/ember/pkg-descr
Normal file
@ -0,0 +1,14 @@
|
||||
Ember is a WorldForge 3d client using the OGRE 3d library. It's a fork from the
|
||||
Dime code base. The main differences between Dime and Ember is the latters focus
|
||||
on using third party libraries instead of in house development, and its
|
||||
commitment to OGRE.
|
||||
|
||||
Some of the features are:
|
||||
|
||||
* Full 3d world with dynamic terrain generation
|
||||
* Easy to use GUI system
|
||||
* Context menus for in game interaction
|
||||
* Support for experimental graphical features such as dynamically generated
|
||||
trees, realistic water and ground cover
|
||||
|
||||
WWW: http://www.worldforge.org/dev/eng/clients/ember
|
150
games/ember/pkg-plist
Normal file
150
games/ember/pkg-plist
Normal file
@ -0,0 +1,150 @@
|
||||
bin/ember
|
||||
bin/ember.bin
|
||||
etc/ember/configfile
|
||||
etc/ember/ember.conf
|
||||
etc/ember/ogre.cfg
|
||||
etc/ember/plugins.cfg
|
||||
etc/ember/resources.cfg
|
||||
etc/ember/terrain.cfg
|
||||
share/applications/ember.desktop
|
||||
share/games/ember/carpenter/blockspec/adapters.blockspec.xml
|
||||
share/games/ember/carpenter/blockspec/fences.blockspec.xml
|
||||
share/games/ember/carpenter/blockspec/floors.blockspec.xml
|
||||
share/games/ember/carpenter/blockspec/roofs.blockspec.xml
|
||||
share/games/ember/carpenter/blockspec/slopewalls.blockspec.xml
|
||||
share/games/ember/carpenter/blockspec/walls.blockspec.xml
|
||||
share/games/ember/carpenter/blueprints/empty.blueprint.xml
|
||||
share/games/ember/carpenter/blueprints/house.blueprint.xml
|
||||
share/games/ember/carpenter/blueprints/sty.blueprint.xml
|
||||
share/games/ember/carpenter/modelblockspecs/general.modelblocks.xml
|
||||
share/games/ember/jesus/modelmappings/general.modelmapping.xml
|
||||
share/games/ember/media/gui/Font.xsd
|
||||
share/games/ember/media/gui/GUILayout.xsd
|
||||
share/games/ember/media/gui/GUIScheme.xsd
|
||||
share/games/ember/media/gui/Imageset.xsd
|
||||
share/games/ember/media/gui/cegui/datafiles/fonts/Font.xsd
|
||||
share/games/ember/media/gui/cegui/datafiles/fonts/tahoma-10.xml
|
||||
share/games/ember/media/gui/cegui/datafiles/fonts/tahoma-14.xml
|
||||
share/games/ember/media/gui/cegui/datafiles/fonts/tahoma-8.xml
|
||||
share/games/ember/media/gui/cegui/datafiles/fonts/tahoma.ttf
|
||||
share/games/ember/media/gui/cegui/datafiles/imagesets/Imageset.xsd
|
||||
share/games/ember/media/gui/cegui/datafiles/imagesets/TaharezLook.imageset
|
||||
share/games/ember/media/gui/cegui/datafiles/imagesets/TaharezLookMouse.imageset
|
||||
share/games/ember/media/gui/cegui/datafiles/imagesets/WindowsLook.imageset
|
||||
share/games/ember/media/gui/cegui/datafiles/imagesets/iconset_mason.imageset
|
||||
share/games/ember/media/gui/cegui/datafiles/imagesets/iconset_standard.imageset
|
||||
share/games/ember/media/gui/cegui/datafiles/layouts/GUILayout.xsd
|
||||
share/games/ember/media/gui/cegui/datafiles/schemes/GUIScheme.xsd
|
||||
share/games/ember/media/gui/cegui/datafiles/schemes/TaharezLook.scheme
|
||||
share/games/ember/media/gui/cegui/datafiles/schemes/TaharezLookWidgetAliases.scheme
|
||||
share/games/ember/media/gui/cegui/datafiles/schemes/TaharezLookWidgets.scheme
|
||||
share/games/ember/media/gui/cegui/datafiles/schemes/WindowsLook.scheme
|
||||
share/games/ember/media/gui/cegui/datafiles/schemes/WindowsLookWidgets.scheme
|
||||
share/games/ember/media/gui/cegui/widgets/ChatWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/ConsoleWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/DebugWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/EntityEditWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/GiveWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/HelpWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/IngameChatWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/InspectWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/InventoryWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/JesusEdit.widget
|
||||
share/games/ember/media/gui/cegui/widgets/JesusEditFile.widget
|
||||
share/games/ember/media/gui/cegui/widgets/JesusEditPreview.widget
|
||||
share/games/ember/media/gui/cegui/widgets/MakeEntityWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/MeshPreview.widget
|
||||
share/games/ember/media/gui/cegui/widgets/Performance.widget
|
||||
share/games/ember/media/gui/cegui/widgets/Quit.widget
|
||||
share/games/ember/media/gui/cegui/widgets/ServerBrowserWidget.xml
|
||||
share/games/ember/media/gui/cegui/widgets/ServerWidget.xml
|
||||
share/games/ember/media/modeldefinitions/buildingelements.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/characters.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/creatures.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/environment.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/items.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/acorn.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/axe.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/barrel.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/butcher.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/butchershouse.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/campfire.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/chicken.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/cleaver.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/column_3.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/column_fractured_3.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/column_segmented_3.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/crab.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/deer.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/dog.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/fencegate.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/fencepole.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/fencesection.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/fire.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/floor.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/floor_12_stone.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/floor_24_stone.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/floor_3_stone.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/floor_6_stone.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/house3.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/lumber.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/marshall.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/mercenary.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/merchant.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/mushroom_amanita.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/pig.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/roof.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/scythe.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/settler.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/slopewall.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/spade.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/spider.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/squirrel.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/sty.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/table.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/wall.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/wall_1.5.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/wall_3.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/done/wall_with_door.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/goblin.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/obsolete/field.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/obsolete/malebuilder.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/old/obsolete/settler_1.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/placeholder.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/trees/dynamic/trees.modeldef.xml
|
||||
share/games/ember/media/modeldefinitions/trees/pregenerated/trees.modeldef.xml
|
||||
share/icons/worldforge/ember.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
@unexec rmdir %D/share/applications 2>/dev/null || true
|
||||
@dirrm etc/ember
|
||||
@dirrm share/games/ember/carpenter/blockspec
|
||||
@dirrm share/games/ember/carpenter/blueprints
|
||||
@dirrm share/games/ember/carpenter/modelblockspecs
|
||||
@dirrm share/games/ember/carpenter
|
||||
@dirrm share/games/ember/jesus/modelmappings
|
||||
@dirrm share/games/ember/jesus
|
||||
@dirrm share/games/ember/media/gui/cegui/datafiles/fonts
|
||||
@dirrm share/games/ember/media/gui/cegui/datafiles/imagesets
|
||||
@dirrm share/games/ember/media/gui/cegui/datafiles/layouts
|
||||
@dirrm share/games/ember/media/gui/cegui/datafiles/schemes
|
||||
@dirrm share/games/ember/media/gui/cegui/datafiles
|
||||
@dirrm share/games/ember/media/gui/cegui/widgets
|
||||
@dirrm share/games/ember/media/gui/cegui
|
||||
@dirrm share/games/ember/media/gui
|
||||
@dirrm share/games/ember/media/modeldefinitions/old/done
|
||||
@dirrm share/games/ember/media/modeldefinitions/old/obsolete
|
||||
@dirrm share/games/ember/media/modeldefinitions/old
|
||||
@dirrm share/games/ember/media/modeldefinitions/trees/dynamic
|
||||
@dirrm share/games/ember/media/modeldefinitions/trees/pregenerated
|
||||
@dirrm share/games/ember/media/modeldefinitions/trees
|
||||
@dirrm share/games/ember/media/modeldefinitions
|
||||
@dirrm share/games/ember/media
|
||||
@dirrm share/games/ember
|
||||
@dirrm share/games
|
||||
@unexec rmdir %D/share/icons/worldforge 2>/dev/null || true
|
||||
@unexec rmdir %D/share/icons 2>/dev/null || true
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user