aboutsummaryrefslogtreecommitdiff
path: root/taipan.c
diff options
context:
space:
mode:
Diffstat (limited to 'taipan.c')
-rw-r--r--taipan.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/taipan.c b/taipan.c
index 69a7a84..933fd2f 100644
--- a/taipan.c
+++ b/taipan.c
@@ -731,13 +731,9 @@ void at_sea(void) {
cspaces(2);
}
-/* this bit of code was duplicated a *bunch* of times,
- making it a function makes the binary 2K smaller. */
-
-void prepare_report(void) {
- gotox0y(16);
- clrtobot();
-}
+/* these were rewritten in asm to save 5 bytes, they live in console.s */
+extern void prepare_report(void);
+extern void clear_msg_window(void);
void compradores_report(void) {
prepare_report();
@@ -751,11 +747,6 @@ void captains_report(void) {
print_msg(M_captains_report);
}
-void clear_msg_window(void) {
- gotox0y(18);
- clrtobot();
-}
-
void overload(void) {
compradores_report();
// cputs("Your ship is overloaded");