Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-puzzle/biniax2/files: biniax2-1.30-build.patch biniax2-1.30-dotfiles.patch biniax2.xpm
Date: Thu, 05 Nov 2009 18:31:28
Message-Id: E1N677E-0005LA-94@stork.gentoo.org
1 nyhm 09/11/05 18:31:24
2
3 Added: biniax2-1.30-build.patch
4 biniax2-1.30-dotfiles.patch biniax2.xpm
5 Log:
6 Initial commit
7 (Portage version: 2.2_rc48/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 games-puzzle/biniax2/files/biniax2-1.30-build.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/biniax2/files/biniax2-1.30-build.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/biniax2/files/biniax2-1.30-build.patch?rev=1.1&content-type=text/plain
14
15 Index: biniax2-1.30-build.patch
16 ===================================================================
17 --- makefile
18 +++ makefile
19 @@ -4,7 +4,7 @@
20 # To execute the game you need the runtimes of SDL, SDL_mixer and SDL_image.
21
22 FLAGS=-W -WALL
23 -CC=gcc
24 +CC?=gcc
25 FILES=biniax.c hof.c desktop/cfg.c desktop/gfx.c desktop/snd.c desktop/inp.c desktop/sys.c
26 INCLUDES=-I . -I desktop
27 LINKTO=-lSDL -lSDL_mixer -lSDL_image
28 @@ -12,4 +12,4 @@
29 TARGET=biniax2
30
31 biniax:
32 - $(CC) $(AUTO) $(FILES) $(INCLUDES) -o $(TARGET) $(LINKTO)
33 \ No newline at end of file
34 + $(CC) $(CFLAGS) $(LDFLAGS) $(AUTO) $(FILES) $(INCLUDES) -o $(TARGET) $(LINKTO)
35
36
37
38 1.1 games-puzzle/biniax2/files/biniax2-1.30-dotfiles.patch
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/biniax2/files/biniax2-1.30-dotfiles.patch?rev=1.1&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/biniax2/files/biniax2-1.30-dotfiles.patch?rev=1.1&content-type=text/plain
42
43 Index: biniax2-1.30-dotfiles.patch
44 ===================================================================
45 --- biniax.c
46 +++ biniax.c
47 @@ -47,6 +47,8 @@
48 INCLUDES
49 ******************************************************************************/
50
51 +#include <unistd.h>
52 +
53 #include "game.h"
54 #include "lev.h"
55 #include "inc.h"
56 @@ -97,6 +99,8 @@
57 UNREF( argc );
58 UNREF( argv );
59
60 + chdir( getenv( "HOME" ) );
61 +
62 cfgInit();
63 hofInit();
64 if ( gfxInit() == BNX_FALSE )
65 --- desktop/cfg.c
66 +++ desktop/cfg.c
67 @@ -36,7 +36,7 @@
68 ******************************************************************************/
69
70 #define _Cfg_Buffer 255
71 -#define csConfigName "config.bnx2"
72 +#define csConfigName ".config.bnx2"
73
74 struct BNX_SETUP
75 {
76 --- game.h
77 +++ game.h
78 @@ -37,7 +37,7 @@
79 DEFINITIONS
80 ******************************************************************************/
81
82 -#define csSaveGameName "autosave.bnx2"
83 +#define csSaveGameName ".autosave.bnx2"
84
85 /******************************************************************************
86 CONSTANTS
87 --- hof.c
88 +++ hof.c
89 @@ -34,7 +34,7 @@
90 #define chCursor '_' /* Cursor ON */
91 #define chSpace ' ' /* Cursor OFF*/
92
93 -#define csHOFName "hof.bnx2" /* File name */
94 +#define csHOFName ".hof.bnx2" /* File name */
95 #define cHOFFileSize 504 /* File size */
96
97 BNX_HALL Hof;
98 @@ -292,4 +292,4 @@
99 BNX_HALL *hofGet()
100 {
101 return (BNX_HALL *) &Hof;
102 -}
103 \ No newline at end of file
104 +}
105
106
107
108 1.1 games-puzzle/biniax2/files/biniax2.xpm
109
110 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/biniax2/files/biniax2.xpm?rev=1.1&view=markup
111 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/biniax2/files/biniax2.xpm?rev=1.1&content-type=text/plain
112
113 Index: biniax2.xpm
114 ===================================================================
115 /* XPM */
116 static char * icon_xpm[] = {
117 "32 32 6 1",
118 " c None",
119 ". c #800000",
120 "+ c #FF8204",
121 "@ c #FC4E04",
122 "# c #FCA204",
123 "$ c #FEC489",
124 " ",
125 " ",
126 " ",
127 " . ",
128 " ++++++++++ .@. ",
129 " +########$ .@@@$ ",
130 " +#$$$$$$$$ $@$ ",
131 " +#$ $ ",
132 " +#$ ",
133 " +#$ ",
134 " +#$ ++++ +++ +++ ",
135 " +#$ +#### +#$ +#$ ",
136 " +#$ +####+ +#$ +#$ ",
137 " +#$ +#$#### +#$ +#$ ",
138 " +#$ +#$ $##+ +#$ +#$ ",
139 " +#$ +#$ #### +#$ +#$ ",
140 " +#$ +#$ $##+ +#$ +#$ ",
141 " +#$ +#$ #### +#$ +#$ ",
142 " +#$ +#$ $##+ +#$ +#$ ",
143 " +#$ +#$ ######$ +#$ ",
144 " +#$ +#$ $####$ +#$ ",
145 " +#$ +#$ ####$ +#$ ",
146 " $$$ $$$ $$$$ +#$ ",
147 " +#$ ",
148 " +#$ ",
149 " . +#$ ",
150 " .@. ++++++++#$ ",
151 " .@@@$ +########$ ",
152 " $@$ $$$$$$$$$$ ",
153 " $ ",
154 " ",
155 " "};