Skip to content

Commit

Permalink
Gas leaks don't appear instantly...
Browse files Browse the repository at this point in the history
...giving you a chance to walk through them if using one joystick
(where you cannot walk while spraying).

h/t phigan & JLsoft on AtariAge forums for reporting
  • Loading branch information
billkendrick committed Aug 23, 2023
1 parent 10a5f32 commit 686adca
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Firefighting game for the Atari 8-bit
Bill Kendrick <bill@newbreedsoftware.com>
http://www.newbreedsoftware.com/firefighter/

0.1-beta-2 (2023-08-22):
* Gas leaks don't appear instantly, giving you a
chance to walk through them if using one joystick
(where you cannot walk while spraying).
(h/t phigan & JLsoft on AtariAge forums for reporting)

0.1-beta-1 (2023-08-22):
* First public beta release
+ Four levels
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## Version number:
## (Note: Any alphabetic chars should be uppercase!)
VERSION=0.1-BETA1
VERSION=0.1-BETA2

## Run "tools/release.sh" to generate a release ZIP file
## (it will be named based on VERSION above,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Firefighter

### Version: Alpha
### Version: 0.1-BETA2

A twin-stick firefighting action game for the Atari 8-bit.

Expand Down
4 changes: 2 additions & 2 deletions src/game.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,11 +667,11 @@ void cellular_automata(void) {
} else if (shape == CIVILIAN_MOVED) {
/* FIXME */
set_shape(x, y, CIVILIAN);
} else if (shape == PIPE_BROKEN_UP_DOWN) {
} else if (shape == PIPE_BROKEN_UP_DOWN && rand < 128) {
/* Draw (or erase) gas leak on left/right of a broken vertical pipe */
broken_pipe(x - 1, y, GASLEAK_LEFT);
broken_pipe(x + 1, y, GASLEAK_RIGHT);
} else if (shape == PIPE_BROKEN_LEFT_RIGHT) {
} else if (shape == PIPE_BROKEN_LEFT_RIGHT && rand < 128) {
/* Draw (or erase) gas leak above/below a broken horizontal pipe */
broken_pipe(x, y - 1, GASLEAK_UP);
broken_pipe(x, y + 1, GASLEAK_DOWN);
Expand Down

0 comments on commit 686adca

Please sign in to comment.