Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 91540 Details for
Bug 140081
Ebuild for classic game xlander
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xlander-19920729_gentoo.patch
xlander-19920729_gentoo.patch (text/plain), 2.68 KB, created by
Hypnos
on 2006-07-12 00:06:12 UTC
(
hide
)
Description:
xlander-19920729_gentoo.patch
Filename:
MIME Type:
Creator:
Hypnos
Created:
2006-07-12 00:06:12 UTC
Size:
2.68 KB
patch
obsolete
>diff -urN xlander/Makefile xlander_gentoo/Makefile >--- xlander/Makefile 1969-12-31 16:00:00.000000000 -0800 >+++ xlander_gentoo/Makefile 2006-07-11 23:19:30.000000000 -0700 >@@ -0,0 +1,28 @@ >+#CC = gcc -Wall >+CC = cc >+#CFLAGS = -O >+#INCLUDES = -I/usr/local/include >+#LDFLAGS = -s -L/usr/local/lib >+LIBS = -lm -lX11 >+TARGET = xlander >+SRCS = xlander.c globals.c initialize.c functions.c instrument.c game.c \ >+ resource.c >+OBJS = xlander.o globals.o initialize.o functions.o instrument.o game.o \ >+ resource.o >+ALL = README Imakefile Makefile.std xlander.man $(SRCS) xlander.h globals.h \ >+ patchlevel.h >+ >+all: $(TARGET) >+ >+$(TARGET): $(OBJS) >+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) >+ >+.c.o: >+ $(CC) $(CFLAGS) $(INCLUDES) -c $*.c >+ >+clean: >+ rm -f $(OBJS) $(TARGET) core >+ >+shar: $(ALL) >+ shar -o $(TARGET).shar $(ALL) >+ >diff -urN xlander/xlander.h xlander_gentoo/xlander.h >--- xlander/xlander.h 1992-07-26 03:20:44.000000000 -0700 >+++ xlander_gentoo/xlander.h 2006-07-11 23:12:34.000000000 -0700 >@@ -41,10 +41,10 @@ > #define HALF_WORLD_LENGTH (WORLD_LENGTH >> 1) > #define HALF_WORLD_WIDTH (WORLD_WIDTH >> 1) > #define PIXELS_PER_FOOT 6 /* Number of pixels per foot */ >-#define TICKS_PER_SECOND 3 /* Number of frames per second */ >+#define TICKS_PER_SECOND 30 /* Number of frames per second */ > #define ACCELERATION -5.310 /* Acceleration of gravity (ft/sec^2) */ > #define RETRO 35.0 /* Acceleration due to retroactive thruster */ >-#define LATERAL_THRUST 5.0 /* Acceleration due to lateral thruster */ >+#define LATERAL_THRUST 1.0 /* Acceleration due to lateral thruster */ > #ifndef PI > #define PI 3.1415926535897932384 > #endif >@@ -53,9 +53,9 @@ > #define TWOPI 6.2831853 > #define VERT_SPEED 30.0 /* Maximum vertical speed without crashing */ > #define LAT_SPEED 30.0 /* Maximum lateral speed without crashing */ >-#define RETRO_BURN 1.6 /* Retroactive thruster fuel consumption */ >-#define LATERAL_BURN 0.4 /* Lateral thruster fuel consumption */ >-#define FULL_TANK 320 /* Full tank of fuel */ >+#define RETRO_BURN 0.16 /* Retroactive thruster fuel consumption */ >+#define LATERAL_BURN 0.04 /* Lateral thruster fuel consumption */ >+#define FULL_TANK 320 /* Full tank of fuel */ > #define MAX_VELOC 640.0 /* Maximum velocity */ > > #define LANDER_WIDTH 600 >@@ -109,13 +109,16 @@ > > DATABASE *DBInit (), *DBInitFromData (), *LoadDataBase (); > void DBInsert (), DBFinish (), DBPlot (), SwapBuffers (), exit (); >+ >+/* > #ifndef _AIX > char *malloc (); > #endif > double atof (); >-#ifdef sun >+#ifdef sun > int printf (), fprintf (), time (); > #endif >+*/ > > /* > * Transform x,y coordinate pairs from world space to position on
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 140081
:
91539
| 91540 |
91541
|
201332