From b9c1931a80c5d700ba356f9090e9a72f075377f7 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 17 Jan 2016 00:42:34 -0500 Subject: fix final_stats() negative finalcash and score --- README.txt | 48 ++++++++++++++++++------------------------------ 1 file changed, 18 insertions(+), 30 deletions(-) (limited to 'README.txt') diff --git a/README.txt b/README.txt index dd4eb32..86f0b5b 100644 --- a/README.txt +++ b/README.txt @@ -23,12 +23,9 @@ can be found here: http://www.taipangame.com/ What's missing: -- Large integer (or floating point) support. Cash, Bank, and Debt - amounts will roll over to 0 if they exceed the max value for a 32-bit - unsigned integer (around 4 billion). I'm not sure if this is a real - problem for anyone (it takes a *long* time to get over a billion - in this game). As a side effect of this, the "negative interest" - bug/feature is missing. +- Large integer (or floating point) support for Debt and Cash (the + Bank is floating point though). As a side effect of this, the "negative + interest" bug/feature is missing. Build Requirements: @@ -81,9 +78,6 @@ Atari++, or Altirra. For Atari800, you should be able to do this: atari800 -nobasic taipan.xex -Even though the title screen says to press Escape to start, you can -really press any key to start the game. - License: The legal status of this is quite murky. The original game is still @@ -94,9 +88,10 @@ This Atari port includes font and graphics data ripped straight from the original Apple game, plus more font data ripped from the Atari 800's OS ROM. -The Linux port of taipan, according to its .lsm file, is GPL. My C code is -definitely a derivative work, so it's GPL also. The assembly code and ship -graphics are my own work, and I release them under the GPL (version 2). +The Linux port of taipan, according to its .lsm file, is GPL (version +uspecified). My C code is definitely a derivative work, so it's GPL +also. The assembly code and ship graphics are my own work, and I release +them under the GPL (version 2). Notes: @@ -121,12 +116,6 @@ arcade game). Bugs! At least these: -- When Cash is e.g. 2.09 Million, the leading 0 after the decimal - point isn't printed (so you get 2.9 Million) - -- bignum bank doesn't print enough decimal places (1.1 Million - instead of 1.12 Million, etc) - - Exiting the game (Play again? N) needs to at minimum restore the original text/background colors. @@ -145,14 +134,12 @@ Bugs! At least these: I either start using big numbers (floats or 64-bit ints or whatever), or just decide to live with the limits of 32-bit ints. -- Retirement score calculations are a bit off, due to using integer math. - -- Not really a bug, but, the interest calculations for debt and the bank - are slightly different, due to using integer math. Very small bank or - debt amounts will grow much faster than they should, then stabilize - and converge towards the correct values over time. This only happens - when you have less than 10 in debt, or less than 200 in the bank, - which (at least for me) are pretty rare situations. +- Not really a bug, but, the interest calculation for debt + is slightly different, due to using integer math. Very small debt + amounts will grow much faster than they should, then stabilize and + converge towards the correct values over time. This only happens when + you have less than 10 in debt, which (at least for me) is a pretty + rare situation. - A few things in the screen layout are slightly off comapred to the Apple version. Would really like to get it exact. @@ -181,7 +168,7 @@ Bugs! At least these: Deliberate differences between the Apple II and Atari ports: -1. Atari: "Press ESC for help" rather than ESC to start. +1. "Press ESC for help" rather than ESC to start. 2. I made it possible to disable the sound, since it's kinda repetitive and annoying, plus the game "freezes" while sounds are playing (no @@ -220,13 +207,14 @@ Deliberate differences between the Apple II and Atari ports: starts the game. 10. Apple uses floating point, no practical limit on cash/bank/debt. - Atari currently uses 32-bit unsigned longs, though float support - is soon to be added (at least for the bank). + Atari currently uses 32-bit unsigned longs for cash and debt, + though the bank is now floating point. 11. On Apple, price of General Cargo isn't always an integer (e.g. 6.5). 12. On Apple, dead enemy ships sink one scanline at a time, and there are - at least 2 sinking speeds. On Atari, it's one character, 8 scanlines, at a time. + at least 2 sinking speeds. On Atari, it's one character (8 scanlines) + at a time, and the speed is always the same. Differences between the Apple II original and Linux port: -- cgit v1.2.3