Import freedroidrpg-0.10.2
FreeDroidRPG is a free isometric RPG game inspired by elements of Diablo and Fallout. Originally based on FreeDroid Classic, this project now has vastly deviated from its parent. This game tells the story of a world destroyed by a conflict between the bots and their human masters. Play as Tux in a quest to save the world from the murderous rebel bots who know no mercy... ... Or maybe just spend your time wandering around the land while the people are slaughtered. You get to choose which path you wish to follow, and freedom of choice is everywhere in the game. FreeDroidRPG comes with an innovative system of magic, with features such as forced casting and over 20 spells. You can use over 50 different kinds of items and fight countless enemies on your way to your destiny. We have an advanced dialogue system, with it's aim to be at least on par with Fallout's. Our battle engine supports both ranged and close combat in real time. Finally, if guns are too inaccurate and blades too messy, you can always take over your enemies and have them fight on your side. - joint work with FreeDroidRPG developer Arthur Huillet <ahuillet at freedroid dot org> - thanks to Joachim Schipper <j.schipper at math.uu dot nl> for all the feedbacks and testing - disable on sparc64 ("Bus Error" on startup, I'll try to work on it)
This commit is contained in:
parent
82b122f507
commit
392000b498
49
games/freedroidrpg/Makefile
Normal file
49
games/freedroidrpg/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/07/10 08:37:19 ajacoutot Exp $
|
||||
|
||||
# Bus Error on startup
|
||||
NOT_FOR_ARCHS= sparc64
|
||||
|
||||
COMMENT= isometric RPG game
|
||||
|
||||
DISTNAME= freedroidrpg-0.10.2
|
||||
CATEGORIES= games x11
|
||||
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
HOMEPAGE= http://freedroid.sourceforge.net/
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freedroid/}
|
||||
|
||||
WANTLIB= GL SDL X11 Xext Xi c glib gmodule jpeg m ogg png \
|
||||
pthread usbhid vorbis z
|
||||
|
||||
MODULES= devel/gettext
|
||||
USE_X11= Yes
|
||||
|
||||
LIB_DEPENDS= gdk.>=3,gtk.>=3::x11/gtk+ \
|
||||
SDL_image.>=2::devel/sdl-image \
|
||||
SDL_mixer.>=3::devel/sdl-mixer \
|
||||
SDL_net.>=1::devel/sdl-net
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
||||
-I${LOCALBASE}/include/libpng" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
am_cv_prog_tar_ustar=plaintar
|
||||
CONFIGURE_ARGS= --with-x \
|
||||
--enable-opengl \
|
||||
--enable-editors \
|
||||
--disable-backtrace
|
||||
|
||||
post-install:
|
||||
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/freedroidrpg
|
||||
|
||||
.include <bsd.port.mk>
|
5
games/freedroidrpg/distinfo
Normal file
5
games/freedroidrpg/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (freedroidrpg-0.10.2.tar.bz2) = VTpt/pR4lfdc30P/7RwYcg==
|
||||
RMD160 (freedroidrpg-0.10.2.tar.bz2) = Wwg7vjbFLE5p4lw6VTCOftSmgw4=
|
||||
SHA1 (freedroidrpg-0.10.2.tar.bz2) = 9+6KwDlhN0X7cB6q3PBdP57wsNo=
|
||||
SHA256 (freedroidrpg-0.10.2.tar.bz2) = uKOOgujWY708AShJTqu6zhxhHL5Djue1sTe/8HxWc/Q=
|
||||
SIZE (freedroidrpg-0.10.2.tar.bz2) = 81316912
|
12
games/freedroidrpg/patches/patch-configure
Normal file
12
games/freedroidrpg/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2007/07/10 08:37:24 ajacoutot Exp $
|
||||
--- configure.orig Tue Jul 3 18:58:10 2007
|
||||
+++ configure Tue Jul 10 09:11:41 2007
|
||||
@@ -7604,7 +7604,7 @@ fi
|
||||
|
||||
|
||||
for ac_header in fcntl.h stdlib.h string.h sys/ioctl.h sys/time.h time.h \
|
||||
- unistd.h dirent.h sys/soundcard.h execinfo.h signal.h locale.h
|
||||
+ unistd.h dirent.h sys/soundcard.h soundcard.h execinfo.h signal.h locale.h
|
||||
do
|
||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
11
games/freedroidrpg/patches/patch-src_enemy_c
Normal file
11
games/freedroidrpg/patches/patch-src_enemy_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_enemy_c,v 1.1.1.1 2007/07/10 08:37:24 ajacoutot Exp $
|
||||
--- src/enemy.c.orig Fri Jul 6 19:42:06 2007
|
||||
+++ src/enemy.c Fri Jul 6 19:43:43 2007
|
||||
@@ -3564,6 +3564,7 @@ AnimateEnemys (void)
|
||||
{
|
||||
|
||||
our_enemy = & ( AllEnemys [ i ] ) ;
|
||||
+ if ( our_enemy -> type == -1 ) return ;
|
||||
|
||||
/* ignore enemys that are dead or on other levels or dummys */
|
||||
// if (AllEnemys[i].type == DEBUG_ENEMY) continue;
|
16
games/freedroidrpg/patches/patch-src_influ_c
Normal file
16
games/freedroidrpg/patches/patch-src_influ_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src_influ_c,v 1.1.1.1 2007/07/10 08:37:24 ajacoutot Exp $
|
||||
--- src/influ.c.orig Sat Jul 7 12:16:17 2007
|
||||
+++ src/influ.c Sat Jul 7 12:16:22 2007
|
||||
@@ -2980,7 +2980,11 @@ ButtonPressWasNotMeantAsFire( int player_num )
|
||||
void
|
||||
PerformTuxAttackRaw ( int player_num , int use_mouse_cursor_for_targeting )
|
||||
{
|
||||
- int guntype = ItemMap[ Me [ player_num ] . weapon_item . type ] . item_gun_bullet_image_type ;
|
||||
+ int guntype;
|
||||
+ if (Me [ player_num ] . weapon_item . type > 0 )
|
||||
+ guntype = ItemMap[ Me [ player_num ] . weapon_item . type ] . item_gun_bullet_image_type ;
|
||||
+ else guntype = -1;
|
||||
+
|
||||
float angle;
|
||||
moderately_finepoint Weapon_Target_Vector ;
|
||||
moderately_finepoint target_location ;
|
37
games/freedroidrpg/patches/patch-src_init_c
Normal file
37
games/freedroidrpg/patches/patch-src_init_c
Normal file
@ -0,0 +1,37 @@
|
||||
$OpenBSD: patch-src_init_c,v 1.1.1.1 2007/07/10 08:37:24 ajacoutot Exp $
|
||||
--- src/init.c.orig Fri Jun 29 20:35:21 2007
|
||||
+++ src/init.c Tue Jul 10 09:07:54 2007
|
||||
@@ -36,7 +36,12 @@
|
||||
#include "global.h"
|
||||
#include "proto.h"
|
||||
#include "ship.h"
|
||||
+
|
||||
+#ifdef __OpenBSD__
|
||||
+#include "ieeefp.h"
|
||||
+#else
|
||||
#include "fenv.h"
|
||||
+#endif
|
||||
|
||||
#include "getopt.h"
|
||||
|
||||
@@ -1752,10 +1757,7 @@ PrepareStartOfNewCharacter ( void )
|
||||
Me [ 0 ] . aux2_item . currently_held_in_hand = FALSE;
|
||||
Item_Held_In_Hand = ( -1 );
|
||||
|
||||
- FillInItemProperties ( & ( Me [ 0 ] . weapon_item ) , TRUE , 0 );
|
||||
- FillInItemProperties ( & ( Me [ 0 ] . drive_item ) , TRUE , 0 );
|
||||
|
||||
-
|
||||
DebugPrintf ( 1 , "\n%s(): Shuffling droids on all %d levels!" , __FUNCTION__ , curShip.num_levels );
|
||||
for ( i = 0 ; i < curShip.num_levels ; i ++ )
|
||||
{
|
||||
@@ -2131,9 +2133,6 @@ I will not be able to load or save games or configurat
|
||||
InitPictures ( ) ;
|
||||
|
||||
ShowStartupPercentage ( 100 ) ;
|
||||
-
|
||||
- if(GameConfig . screen_width == 640)
|
||||
- GiveMouseAlertWindow ( "\nYou are playing in 640x480.\n\nWhile this resolution works correctly and will\ngive you a great gaming experience, its support is\nin the process of being dropped, therefore you will\nwant to consider using 800x600 or 1024x768.\n\nThank you.\n");
|
||||
|
||||
|
||||
}; // void InitFreedroid ( void )
|
16
games/freedroidrpg/patches/patch-src_main_c
Normal file
16
games/freedroidrpg/patches/patch-src_main_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src_main_c,v 1.1.1.1 2007/07/10 08:37:24 ajacoutot Exp $
|
||||
--- src/main.c.orig Sat Jun 9 18:22:02 2007
|
||||
+++ src/main.c Tue Jul 10 09:08:04 2007
|
||||
@@ -36,7 +36,12 @@
|
||||
#include "proto.h"
|
||||
#include "vars.h"
|
||||
#include "ship.h"
|
||||
+
|
||||
+#ifdef __OpenBSD__
|
||||
+#include "ieeefp.h"
|
||||
+#else
|
||||
#include "fenv.h"
|
||||
+#endif
|
||||
|
||||
int ThisMessageTime;
|
||||
float LastGotIntoBlastSound = 2;
|
42
games/freedroidrpg/patches/patch-src_menu_c
Normal file
42
games/freedroidrpg/patches/patch-src_menu_c
Normal file
@ -0,0 +1,42 @@
|
||||
$OpenBSD: patch-src_menu_c,v 1.1.1.1 2007/07/10 08:37:24 ajacoutot Exp $
|
||||
--- src/menu.c.orig Sun Jul 8 13:05:47 2007
|
||||
+++ src/menu.c Sun Jul 8 13:07:58 2007
|
||||
@@ -2237,31 +2237,31 @@ Droid_Talk_Options_Menu (void)
|
||||
can_continue=!can_continue;
|
||||
break;
|
||||
case INFLU_REFRESH_TEXT:
|
||||
- while (EnterPressed() || SpacePressed() );
|
||||
+ while (EnterPressed() || SpacePressed() || MouseLeftPressed() );
|
||||
GameConfig.Influencer_Refresh_Text=!GameConfig.Influencer_Refresh_Text;
|
||||
break;
|
||||
case INFLU_BLAST_TEXT:
|
||||
- while (EnterPressed() || SpacePressed() );
|
||||
+ while (EnterPressed() || SpacePressed() || MouseLeftPressed() );
|
||||
GameConfig.Influencer_Blast_Text=!GameConfig.Influencer_Blast_Text;
|
||||
break;
|
||||
case ENEMY_HIT_TEXT:
|
||||
- while (EnterPressed() || SpacePressed() );
|
||||
+ while (EnterPressed() || SpacePressed() || MouseLeftPressed() );
|
||||
GameConfig.Enemy_Hit_Text=!GameConfig.Enemy_Hit_Text;
|
||||
break;
|
||||
case ENEMY_BUMP_TEXT:
|
||||
- while (EnterPressed() || SpacePressed() );
|
||||
+ while (EnterPressed() || SpacePressed() || MouseLeftPressed() );
|
||||
GameConfig.Enemy_Bump_Text=!GameConfig.Enemy_Bump_Text;
|
||||
break;
|
||||
case ENEMY_AIM_TEXT:
|
||||
- while (EnterPressed() || SpacePressed() );
|
||||
+ while (EnterPressed() || SpacePressed() || MouseLeftPressed() );
|
||||
GameConfig.Enemy_Aim_Text=!GameConfig.Enemy_Aim_Text;
|
||||
break;
|
||||
case ALL_TEXTS:
|
||||
- while (EnterPressed() || SpacePressed() );
|
||||
+ while (EnterPressed() || SpacePressed() || MouseLeftPressed() );
|
||||
GameConfig.All_Texts_Switch=!GameConfig.All_Texts_Switch;
|
||||
break;
|
||||
case LEAVE_DROID_TALK_OPTIONS_MENU:
|
||||
- while (EnterPressed() || SpacePressed() );
|
||||
+ while (EnterPressed() || SpacePressed() || MouseLeftPressed() );
|
||||
can_continue=TRUE;
|
||||
break;
|
||||
default:
|
15
games/freedroidrpg/patches/patch-src_system_h
Normal file
15
games/freedroidrpg/patches/patch-src_system_h
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-src_system_h,v 1.1.1.1 2007/07/10 08:37:24 ajacoutot Exp $
|
||||
--- src/system.h.orig Sat Mar 3 17:34:05 2007
|
||||
+++ src/system.h Tue Jul 10 09:06:57 2007
|
||||
@@ -69,7 +69,11 @@
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef HAVE_SYS_SOUNDCARD_H
|
||||
+#ifdef __OpenBSD__
|
||||
+#include <soundcard.h>
|
||||
+#else
|
||||
#include <sys/soundcard.h>
|
||||
+#endif
|
||||
#endif
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
18
games/freedroidrpg/pkg/DESCR
Normal file
18
games/freedroidrpg/pkg/DESCR
Normal file
@ -0,0 +1,18 @@
|
||||
FreeDroidRPG is a free isometric RPG game inspired by elements of Diablo
|
||||
and Fallout. Originally based on FreeDroid Classic, this project now has
|
||||
vastly deviated from its parent.
|
||||
|
||||
This game tells the story of a world destroyed by a conflict between the
|
||||
bots and their human masters. Play as Tux in a quest to save the world
|
||||
from the murderous rebel bots who know no mercy...
|
||||
... Or maybe just spend your time wandering around the land while the
|
||||
people are slaughtered. You get to choose which path you wish to follow,
|
||||
and freedom of choice is everywhere in the game.
|
||||
|
||||
FreeDroidRPG comes with an innovative system of magic, with features
|
||||
such as forced casting and over 20 spells. You can use over 50 different
|
||||
kinds of items and fight countless enemies on your way to your destiny.
|
||||
We have an advanced dialogue system, with it's aim to be at least on par
|
||||
with Fallout's. Our battle engine supports both ranged and close combat
|
||||
in real time. Finally, if guns are too inaccurate and blades too messy,
|
||||
you can always take over your enemies and have them fight on your side.
|
4
games/freedroidrpg/pkg/MESSAGE
Normal file
4
games/freedroidrpg/pkg/MESSAGE
Normal file
@ -0,0 +1,4 @@
|
||||
Note that while freedroid RPG supports OpenGL, you're advised to use
|
||||
SDL output and start the game in windowed mode for better gaming
|
||||
experience. To do so:
|
||||
${PREFIX}/bin/freedroidRPG -wn
|
5709
games/freedroidrpg/pkg/PLIST
Normal file
5709
games/freedroidrpg/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user