]> git.pld-linux.org Git - packages/Maelstrom.git/blob - Maelstrom-cheaters.patch
- release 7: added -sdl_rect.patch
[packages/Maelstrom.git] / Maelstrom-cheaters.patch
1 diff -urN Maelstrom-3.0.5/Maelstrom.h Maelstrom-3.0.5-cheat/Maelstrom.h
2 --- Maelstrom-3.0.5/Maelstrom.h Fri Nov 19 05:52:52 1999
3 +++ Maelstrom-3.0.5-cheat/Maelstrom.h   Sat Jun  1 13:25:09 2002
4 @@ -17,7 +17,7 @@
5  /* Time in 60'th of second between frames */
6  #define FRAME_DELAY            2
7  
8 -#define MAX_SPRITES            100
9 +#define MAX_SPRITES            200
10  #define MAX_SPRITE_FRAMES      60
11  #define        MAX_STARS               30
12  #define        SHIP_FRAMES             48
13 @@ -31,7 +31,7 @@
14  
15  #define NO_PHASE_CHANGE                -1      /* Sprite doesn't change phase */
16  
17 -#define        MAX_SHOTS               18
18 +#define        MAX_SHOTS               54
19  #define        SHOT_SIZE               4
20  #define        SHOT_SCALE_FACTOR       4
21  
22 diff -urN Maelstrom-3.0.5/netlogic/objects.h Maelstrom-3.0.5-cheat/netlogic/objects.h
23 --- Maelstrom-3.0.5/netlogic/objects.h  Sun Sep 24 19:55:39 2000
24 +++ Maelstrom-3.0.5-cheat/netlogic/objects.h    Sat Jun  1 13:30:33 2002
25 @@ -19,21 +19,41 @@
26                         case 0:
27                                 /* -- They got machine guns! */
28                                 ship->SetSpecial(MACHINE_GUNS);
29 +                               ship->SetSpecial(AIR_BRAKES);
30 +                               ship->SetSpecial(LUCKY_IRISH);
31 +                               ship->SetSpecial(TRIPLE_FIRE);
32 +                               ship->SetSpecial(LONG_RANGE);
33                                 break;
34                         case 1:
35                                 /* -- They got Air brakes */
36 +                               ship->SetSpecial(MACHINE_GUNS);
37                                 ship->SetSpecial(AIR_BRAKES);
38 +                               ship->SetSpecial(LUCKY_IRISH);
39 +                               ship->SetSpecial(TRIPLE_FIRE);
40 +                               ship->SetSpecial(LONG_RANGE);
41                                 break;
42                         case 2:
43                                 /* -- They might get Lucky */
44 +                               ship->SetSpecial(MACHINE_GUNS);
45 +                               ship->SetSpecial(AIR_BRAKES);
46                                 ship->SetSpecial(LUCKY_IRISH);
47 +                               ship->SetSpecial(TRIPLE_FIRE);
48 +                               ship->SetSpecial(LONG_RANGE);
49                                 break;
50                         case 3:
51                                 /* -- They triple fire */
52 +                               ship->SetSpecial(MACHINE_GUNS);
53 +                               ship->SetSpecial(AIR_BRAKES);
54 +                               ship->SetSpecial(LUCKY_IRISH);
55                                 ship->SetSpecial(TRIPLE_FIRE);
56 +                               ship->SetSpecial(LONG_RANGE);
57                                 break;
58                         case 4:
59                                 /* -- They got long range */
60 +                               ship->SetSpecial(MACHINE_GUNS);
61 +                               ship->SetSpecial(AIR_BRAKES);
62 +                               ship->SetSpecial(LUCKY_IRISH);
63 +                               ship->SetSpecial(TRIPLE_FIRE);
64                                 ship->SetSpecial(LONG_RANGE);
65                                 break;
66                         case 5:
67 diff -urN Maelstrom-3.0.5/netlogic/player.cpp Maelstrom-3.0.5-cheat/netlogic/player.cpp
68 --- Maelstrom-3.0.5/netlogic/player.cpp Sun Sep 24 19:55:39 2000
69 +++ Maelstrom-3.0.5-cheat/netlogic/player.cpp   Sat Jun  1 13:31:05 2002
70 @@ -350,7 +350,7 @@
71  
72         /* Decrement the Bonus and NoThrust time */
73         if ( Bonus && CutBonus-- == 0 ) {
74 -               Bonus -= 10;
75 +               Bonus += 10;
76                 CutBonus = BONUS_DELAY;
77         }
78         if ( NoThrust )
79 @@ -430,7 +430,7 @@
80                 /* Check the shields */
81                 if ( AutoShield ) {
82                         WasShielded = 1;
83 -                       --AutoShield;
84 +                       AutoShield;
85                 } else if ( ShieldOn ) {
86                         if ( ShieldLevel > 0 ) {
87                                 if ( ! WasShielded ) {
This page took 0.086142 seconds and 3 git commands to generate.