diff options
Diffstat (limited to 'taipan.c')
-rw-r--r-- | taipan.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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. */ |