diff options
author | B. Watson <yalhcru@gmail.com> | 2021-04-16 04:09:45 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-04-16 04:09:45 -0400 |
commit | d3d67168c37bf0d95477c8eb58b6dc24f7e815ad (patch) | |
tree | 783f0cf9571ac1f2e758491555bb32c2fee4d6c8 | |
parent | ae5f5a198af08539ee24a78be2a6bcb8b5956a26 (diff) | |
download | taipan-d3d67168c37bf0d95477c8eb58b6dc24f7e815ad.tar.gz |
Fix bank3.s typo
-rw-r--r-- | bank3.s | 2 | ||||
-rw-r--r-- | taipan.c | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -145,7 +145,7 @@ code_tail: .out .sprintf("code_tail_size $%x (%d pages)", code_tail_size, (>code_tail_size)+1) .if * > cart_trailer - .fatal "bank7 code too large" + .fatal "bank 3 code too large" .else .out .sprintf("=> %d bytes free in bank 3, at %x", cart_trailer - *, *) .endif @@ -964,12 +964,11 @@ void justify_int(unsigned int num) { cprintuint(num); } -void update_guns() { +void update_guns(void) { rvs_on(); gotoxy(31, 1); justify_int(guns); rvs_off(); - // hide_cursor(); } char orders = 0; @@ -1031,14 +1030,14 @@ void plus_or_space(unsigned char b) { # pragma code-name (pop) #endif -/* sea_battle only ever returns 1 to 4. making the - return type a char saved 61 bytes! */ int ships_on_screen[10]; extern char have_ships_on_screen(void); extern void clear_ships_on_screen(void); char have_no_cargo(void); +/* sea_battle only ever returns 1 to 4. making the + return type a char saved 61 bytes! */ char sea_battle(char id, int num_ships) { /* These locals seem to eat too much stack and cause weird behaviour, so they're static now. */ |