HtmlHero Changes
================
George Ruban Aug 3, 1998
These are the 'improvements' I made to Doug MacDougall's HtmlHero.
Files affected are frame_commands.html, generate_char.html,
generate_name.html, index.html, workspace_intro.html.
Changes in order made:
1) Most Martial Arts section comments (,
, etc), would never be printed because of
a bug (which == ma_val repeated several times instead of proper
condition). Fixed.
2) ' ' was being printed for a blank field instead of ' '. Fixed.
3) Characteristics are entered into a 2 column table, base and derived
in separate columns, instead of one long column, for easier visibility.
4) The BIGGEST CHANGE - characteristic costs are now calculated for
you from the characteristic values, for base and figured stats. Type
in a value, click elsewhere, and costs are refigured. If you want to
retype the costs again, (in case you have a really strange cost
breakdown) you can, just type the bases and values first, then the costs.
For this, introduced the new arrays char_int, char_price, and
char_base in frame_commands.html, and some ONCHANGE callbacks in
generate_char.html. The first holds the integer values of the
char_val's (needed for cases such as STR 10/20, when the cost and such
are only calculated from the 10), the second holds the price per
point, and the third holds '10' or the formula to calculate the base
value of a figured characteristic.
5) OCV, DCV, ECV, and Phases are moved from generate_name.html to
generate_char.html, so they can also be immediately updated when the
relevant characteristic (DEX, EGO or SPD) changes. Yes, the Phase
Chart / Speed Table is wired in the code! Please, no SPDs < 1 or >
12. :-).
6) Martial Arts could have a non-0 total cost, and yet not show up on
the final sheet, leading to mysteriously missing points. Fixed.
7) Instead of OCV, etc. added a Current Totals section to the NAME
frame, which will show the character's current points broken down
among Characteristics, Powers, Martial Arts, Skills, and Unspent,
as well as Total Character Cost, Base Cost, Disadvantages, and
Experience.
8) The NOSCRIPT version of the index.html page referred to a
"title.gif" which does not exist. Redirected to logo.gif.
9) Added commentary about these changes to index.html and
workspace_intro.html.
Aug 5, 1998
===========
10) Fixed bug in frame_commands.html/setVar() where ERASING the value
in any field (entering a blank ('') value) would cause an error.
Aug 6, 1998
===========
11) Added workspace_parser.html, which lets the user paste in a
complete HTML Hero character sheet, and parses it for further editing.
The "INPUT HTML" gif is not so great, though. :-(. Looking for
contributions!
Aug 28, 1998
============
12) "Slow and dirty" fix to a problem spotted by Robert Hudson.
Microsoft Internet Explorer 3.02 and 4.0 (at least) would
happily open() a preview_window without a document. This caused
problems when we tried to write() to it. Added a while(document == null);
active wait. Causes lots of flicker, but works.
Sep 15, 1998
============
13) workspace_parser.html: Fixed (hopefully) how readLine() handles
\r\n combinations, so not to return them in the read line. Also
parse author name from the CONTENT= tag, if any, not from the
"copyright by" tag.
               (
geocities.com/george_ruban)