blob: 8f1187becdb5fb6b70925b83d6ccd52c38ac9479 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
diff -up src/xgalaga-2.1.1.0/defs.h.orig src/xgalaga-2.1.1.0/defs.h
--- src/xgalaga-2.1.1.0/defs.h.orig 2008-03-05 14:58:16.000000000 -0700
+++ src/xgalaga-2.1.1.0/defs.h 2014-05-17 03:42:38.000000000 -0600
@@ -3,6 +3,7 @@
/* Area for setting flags to enable changes by Bryce and Neelix */
/*#define ORIGINAL_XGALAGA */
+#define IM_A_BIG_FAT_CHEATER
/*#define IM_A_BIG_FAT_CHEATER*/
#ifndef ORIGINAL_XGALAGA
@@ -15,9 +16,15 @@
# define NO_PRIZE_WHILE_DEAD
#endif
+#ifdef ORIGINAL_XGALAGA
#define MAXTORPS 10
#define MINTORPS 3
#define TORPSPEED 12
+#else
+#define MAXTORPS 16
+#define MINTORPS 3
+#define TORPSPEED 16
+#endif
#define ETORPSPEED 8
diff -up src/xgalaga-2.1.1.0/main.c.orig src/xgalaga-2.1.1.0/main.c
--- src/xgalaga-2.1.1.0/main.c.orig 2008-03-05 14:58:16.000000000 -0700
+++ src/xgalaga-2.1.1.0/main.c 2014-05-17 03:43:25.000000000 -0600
@@ -1046,9 +1046,13 @@ int mx, my, but;
break;
case 't':
case 256+'t': //372:
- maxtorps++;
- if(maxtorps > MAXTORPS)
- maxtorps = MINTORPS;
+ if (maxtorps < MAXTORPS)
+ maxtorps++;
+ break;
+ case 'z':
+ case 256+'z':
+ if (movespeed < MAXSPEED)
+ movespeed++;
break;
#endif /* IM_A_BIG_FAT_CHEATER */
case '\r'+256:
diff -up src/xgalaga-2.1.1.0/Makefile.in.orig src/xgalaga-2.1.1.0/Makefile.in
--- src/xgalaga-2.1.1.0/Makefile.in.orig 2008-03-05 14:58:16.000000000 -0700
+++ src/xgalaga-2.1.1.0/Makefile.in 2014-05-17 03:42:38.000000000 -0600
@@ -15,8 +15,7 @@ exec_prefix = @exec_prefix@
bindir = $(exec_prefix)
libdir = $(prefix)/lib
infodir = $(prefix)/info
-#mandir = @mandir@
-mandir = /usr/share/man
+mandir = @mandir@
creditsfile = @CREDITSFILE@
distversion = 2.1.1.0
@@ -65,8 +64,9 @@ install: all
for i in levels/*.xgl; do $(INSTALL) $$i $(DESTDIR)$(prefix)/$$i ; done
for i in sounds/*.raw; do $(INSTALL) $$i $(DESTDIR)$(prefix)/$$i ; done
$(INSTALL) CREDITS $(DESTDIR)$(creditsfile)
- $(INSTALL) xgalaga.6x.gz $(mandir)/man6/xgalaga.6x.gz
- chmod 644 $(mandir)/man6/xgalaga.6x.gz
+ ./mkinstalldirs $(DESTDIR)$(mandir)/man6
+ $(INSTALL) xgalaga.6x.gz $(DESTDIR)$(mandir)/man6/xgalaga.6x.gz
+ chmod 644 $(DESTDIR)$(mandir)/man6/xgalaga.6x.gz
# touch $(prefix)/scores
# chmod 666 $(prefix)/scores
# chown ${GAMEOWN}:${GAMEGRP} $(prefix)/scores
|