aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-02-18 00:15:17 -0500
committerB. Watson <yalhcru@gmail.com>2016-02-18 00:15:17 -0500
commitf8bda61119fb3e3c8263c6c793e31da7c18221dd (patch)
tree5f2dc1b8b8ca5390d6f49cd44ed458bc2d863490
parent3abf7993ce2d2deb1c0596f3404b2bfa27324564 (diff)
downloadtaipan-f8bda61119fb3e3c8263c6c793e31da7c18221dd.tar.gz
McHenry now asks for e.g. 11.5 Million rather than 11500000
-rw-r--r--taipan.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/taipan.c b/taipan.c
index 042733e..1853834 100644
--- a/taipan.c
+++ b/taipan.c
@@ -1669,13 +1669,11 @@ void mchenry(void) {
repair_price = (br * damage) + 1;
clear_msg_window();
- // gotoxy(0, 18);
- // clrtobot();
cputs("Och, 'tis a pity to be ");
cprintulong(percent);
- cputs("% damaged.\r\nWe can fix yer whole ship for ");
- cprintulong(repair_price);
- cputs(",\r\nor make partial repairs if you wish.\r\n");
+ cputs("% damaged. We\r\ncan fix yer whole ship for ");
+ cprintfancy(repair_price);
+ cputs("\r\nor make partial repairs if you wish.\r\n");
how_much();
cputs("will ye spend? ");
@@ -3079,10 +3077,15 @@ hangx: goto hangx;
int main(void) {
int choice;
+ atari_text_setup();
+
#ifdef MCHENRY_TEST
{
while(1) {
clrscr();
+ cputs("year? ");
+ year = get_num();
+ crlf();
cputs("dmg? ");
damage = get_num();
// cputs("\r\n");
@@ -3094,8 +3097,6 @@ int main(void) {
}
#endif
- atari_text_setup();
- // cursor(0);
#ifdef BIGNUM_TEST
bignum_test();