diff options
| -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. */ | 
