Files
TeslaRel410/BORLAND/DTEXT23/USRBOOKS/BOOKS/DOSREF/STYLES/TOC.TV
T
CydandClaude Fable 5 63312e07f9 source410: literal 4.10 source reconstruction + BC++ 4.52 fleet toolchain archived
- BORLAND/: Borland C++ 4.52 (chosen over 4.5 by byte-match: CODE/RP/CW32.LIB
  is identical to 4.52's install lib). BCC32/TLINK32/TLIB/MAKE run natively on
  Win11; CODE/BT/OPT.MAK is the shipped BTL4OPT.EXE's exact flag recipe
  (extender = Borland PowerPack DPMI32, not Phar Lap TNT).
- restoration/source410/: the literal 1995-form reconstruction of the missing
  BT game source (never mixed into CODE/). Round 1-3 state:
  * 6 of 10 surviving original TUs COMPILE CLEAN under the period toolchain
    (BTMSSN, BTCNSL, BTSCNRL, BTTEAM, BTL4MODE, BTL4ARND) - first builds
    since 1996.
  * BT_L4/BTL4APP.CPP pilot reconstruction: 12/12 functions, Fail() lands on
    its binary-recorded line 400 exactly.
  * BT/BTCNSL.HPP: console wire IDs recovered from the binary's ctors
    (Killed=9, Damaged=10, ScoreUpdate=13, DeathWithoutHonor=15 [T1];
    TeamScore=12 flagged [T4]).
  * MUNGA/: 8 engine-header backfills back-dated from the BT412 WinTesla tree
    (VDATA numbering decomp-verified; AUDREND's OpenAL-era virtual removed -
    the period compiler is the drift detector).
  * Tooling: backdate.py (WinTesla->1995 header transform), compile410.sh
    (per-TU verification sweep under authentic OPT.MAK flags).
  * README: corrected roadmap - MECH.HPP is the capstone grown with the mech
    TU reconstructions; BTREG.CPP green = the header-family milestone.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 07:33:26 -05:00

483 lines
11 KiB
TradingView

<!-- Version 1.0 by Passage Systems, Inc.
toc.tv - the main TOC stylesheet
-->
<!ENTITY add.left-indent CDATA "+=10" >
<!ENTITY body.font-size CDATA "12" >
<!ENTITY body.line-space CDATA "14" >
<!ENTITY doc.title.font-size CDATA "12" >
<!ENTITY doc.title.line-space CDATA "21" >
<!ENTITY left-indent.1 CDATA "4" >
<!ENTITY title-font CDATA "Arial" >
<!ENTITY title.foreground CDATA "black" >
<!ENTITY title.space-before CDATA "4" >
<!ENTITY toc.sect.title.font-family CDATA "Arial" >
<!ENTITY toc.title.font-size CDATA "13" >
<sheet >
<?INSTED COMMENT: GROUP #ROOT>
<group name="#ROOT">
<left-indent> &left-indent.1 </>
</group>
<?INSTED COMMENT: GROUP command>
<group name="command">
<font-family> courier </>
</group>
<style name="USERTYPE" group="command">
</style>
<?INSTED COMMENT: GROUP title>
<group name="title">
<font-family> &title-font </>
<font-size> &body.font-size </>
<foreground> &title.foreground </>
<line-spacing> &body.line-space </>
<justification> Left </>
<break-before> True </>
</group>
<style name="APPENDIX,SECT1,TITLE" group="title">
<font-family> &toc.sect.title.font-family </>
<left-indent> 30 </>
<space-before> &title.space-before </>
</style>
<style name="APPENDIX,TITLE" group="title">
<font-weight> Bold </>
<font-size> &toc.title.font-size </>
<space-before> &title.space-before </>
<text-before>Appendix format(gcnum(ancestor(appendix)),LETTER) </>
</style>
<style name="CHAPTER,TITLE" group="title">
<font-weight> Bold </>
<font-size> &toc.title.font-size </>
<space-before> &title.space-before </>
<text-before>Chapter gcnum(ancestor(CHAPTER)) </>
</style>
<style name="GLOSSARY,SECT1,TITLE" group="title">
<first-indent> +=60 </>
<space-before> &title.space-before </>
<text-before>if(isempty(attr(NUMBER,ancestor(SECT1))),'',join(attr(NUMBER,ancestor(SECT1)),' '))</>
</style>
<style name="GLOSSARY,TITLE" group="title">
<font-weight> Bold </>
<font-size> &toc.title.font-size </>
<space-before> &title.space-before </>
</style>
<style name="GLOSSARYENTRY" group="title">
<left-indent> +=10 </>
<space-before> &title.space-before </>
<text-before>content(typechild(glossaryterm))</>
</style>
<style name="GLOSSTERM" group="title">
<space-before> 4 </>
<break-before> Line </>
</style>
<style name="PART,TITLE" group="title">
<font-weight> Bold </>
<font-size> &toc.title.font-size </>
<space-before> &title.space-before </>
<text-before>Part format(cnum(ancestor(PART)),ROMAN)</>
</style>
<style name="PREFACE,SECT1,TITLE" group="title">
<space-before> &title.space-before </>
</style>
<style name="PREFACE,TITLE" group="title">
<font-weight> Bold </>
<font-size> &toc.title.font-size </>
<space-before> &title.space-before </>
<text-before>Introduction</>
</style>
<style name="REFENTRY,REFNAMEDIV,REFNAME" group="title">
<space-before> &title.space-before </>
</style>
<style name="REFSECT1,TITLE" group="title">
<space-before> &title.space-before </>
</style>
<style name="REFSECT2,TITLE" group="title">
<space-before> &title.space-before </>
<text-before>if(isempty(attr(NUMBER,ancestor(SECT3))),'',join(attr(NUMBER,ancestor(SECT3)),' '))</>
</style>
<style name="SECT1,TITLE" group="title">
<font-family> &toc.sect.title.font-family </>
<left-indent> 30 </>
<space-before> &title.space-before </>
</style>
<style name="SECT2,TITLE" group="title">
<font-family> &toc.sect.title.font-family </>
<left-indent> 45 </>
<space-before> &title.space-before </>
</style>
<style name="SECT3,TITLE" group="title">
<font-size> 12 </>
<space-before> &title.space-before </>
</style>
<style name="SECT4,TITLE" group="title">
<space-before> &title.space-before </>
<text-before>if(isempty(attr(NUMBER,ancestor(SECT4))),'',join(attr(NUMBER,ancestor(SECT4)),' '))</>
</style>
<style name="SPARES,TITLE" group="title">
</style>
<style name="SSB,TITLE" group="title">
</style>
<style name="TITLEPAGE,TITLE" group="title">
<font-weight> Bold </>
<font-size> &doc.title.font-size </>
<line-spacing> &doc.title.line-space </>
<space-before> &title.space-before </>
</style>
<style name="WHITEPAPER,TITLE" group="title">
</style>
<?INSTED COMMENT: UNGROUPED STYLES FOLLOW>
<style name="#SDATA">
<font-family> attr(font) </>
<font-weight> medium </>
<font-slant> roman </>
<character-set> attr(charset) </>
<text-before>char(attr(code))</>
</style>
<style name="#TAGS">
<foreground> purple </>
</style>
<style name="#TEXT-BEFORE">
<font-size> &toc.title.font-size </>
</style>
<!-- Style"#toc-annot" is reserved, and defines the appearance of the
bookmarks, word frequencies, location markers, etc. in left margin.
-->
<style name="#TOC-ANNOT">
<font-family> annotation </>
<font-weight> Bold </>
<font-size> 10 </>
<character-set> fontspecific </>
<foreground> magenta </>
</style>
<style name="APPENDIX">
<left-indent> +=15 </>
<title-tag> TITLE </>
</style>
<style name="APPENDIX,FIGURE">
<font-family> &title-font </>
<font-size> 12 </>
<line-spacing> 12 </>
<title-tag> title </>
<script> ebt-if(contains(attr(fileref,typechild(GRAPHIC)),.cgm),vector,raster) filename="attr(fileref,typechild(GRAPHIC))" title="Figure format(cnum(ancestor(appendix)),LETTER)-gcnum() content(me())" if(contains(attr(fileref,typechild(GRAPHIC)),.cgm), scale=true hscroll=true,) </>
</style>
<style name="APPENDIX,FIGURE,TITLE">
<left-indent> 110 </>
<first-indent> -50 </>
<space-before> &title.space-before </>
<text-before>Figure format(cnum(ancestor(appendix)),LETTER)-gcnum(ancestor(figure)) </>
</style>
<style name="APPENDIX,ITEMIZEDLIST,LISTITEM,FIGURE,TITLE">
<left-indent> 110 </>
<first-indent> -50 </>
<space-before> &title.space-before </>
<text-before>Figure format(cnum(ancestor(appendix)),LETTER)-gcnum(ancestor(figure)) </>
</style>
<style name="APPENDIX,SECT1,SECT2,SECT3">
<left-indent> if(isempty(attr(NUMBER)),+=20,-=25) </>
<title-tag> TITLE </>
</style>
<style name="APPENDIX,TITLE,#TEXT-BEFORE">
<font-weight> Bold </>
<break-after> Line </>
</style>
<style name="AUTHORGROUP">
<hide> Children </>
</style>
<style name="BOOK">
<title-tag> bookinfo,bookbiblio,title </>
</style>
<style name="BOOK,BOOKINFO,BOOKBIBLIO,TITLE">
<font-family> Arial </>
<font-weight> Bold </>
<font-size> 18 </>
<left-indent> 12 </>
<line-spacing> &doc.title.line-space </>
<space-before> &title.space-before </>
<hide> Off </>
</style>
<style name="BOOK,TITLE">
<font-family> Arial </>
<font-weight> Bold </>
<font-size> &doc.title.font-size </>
<left-indent> +=20 </>
<line-spacing> &doc.title.line-space </>
<space-before> &title.space-before </>
</style>
<style name="BOOKBIBLIO,TITLE">
<font-family> Arial </>
<font-weight> Bold </>
<font-size> 18 </>
<line-spacing> &doc.title.line-space </>
<space-before> &title.space-before </>
<hide> Off </>
</style>
<style name="BOOKINFO">
<hide> Text </>
</style>
<style name="BOOKTITLE">
<font-family> Arial </>
<font-weight> Bold </>
<font-size> &doc.title.font-size </>
<left-indent> +=20 </>
<line-spacing> &doc.title.line-space </>
<space-before> &title.space-before </>
</style>
<style name="BOOKTITLE,TITLE">
<font-family> Arial </>
<font-weight> Bold </>
<font-size> &doc.title.font-size </>
<line-spacing> &doc.title.line-space </>
<space-before> &title.space-before </>
</style>
<style name="BUTTON">
<font-slant> Italics </>
</style>
<style name="CHAPTER">
<left-indent> +=15 </>
<title-tag> TITLE </>
</style>
<style name="CHAPTER,TITLE,#TEXT-BEFORE">
<font-weight> Bold </>
<break-after> Line </>
</style>
<style name="CITETITLE">
<font-slant> Italics </>
</style>
<style name="COMMAND">
<font-family> Arial </>
<font-weight> Bold </>
</style>
<style name="DATABASE">
<font-slant> Italics </>
</style>
<style name="DOCINFO">
<font-weight> Bold </>
<font-size> &doc.title.font-size </>
<line-spacing> &doc.title.line-space </>
<space-before> &title.space-before </>
</style>
<style name="EMPHASIS">
<font-weight> Bold </>
</style>
<style name="FIGURE">
<font-family> &title-font </>
<font-size> 12 </>
<line-spacing> 12 </>
<script> ebt-if(contains(attr(fileref,typechild(GRAPHIC)),.cgm),vector,raster) filename="attr(fileref,typechild(GRAPHIC))" title="Figure cnum(ancestor(chapter))-gcnum() content(me())" if(contains(attr(fileref,typechild(GRAPHIC)),.cgm), scale=true hscroll=true,) </>
</style>
<style name="FIGURE,TITLE">
<left-indent> 110 </>
<first-indent> -50 </>
<space-before> &title.space-before </>
<text-before>Figure cnum(ancestor(chapter))-gcnum(ancestor(figure)) </>
</style>
<style name="FILENAME">
<font-slant> Italics </>
</style>
<style name="FONT">
<font-weight> if(or(contains(attr(role),'bold'),contains(attr(role),'bolditalic')),bold,) </>
<font-slant> if(or(contains(attr(role),'italic'),contains(attr(role),'bolditalic')),italic,) </>
<font-video> switch(attr(role),inverse,inverse,DEFAULT,regular) </>
<foreground> if(contains(attr(role),),magenta,black) </>
<score> if(contains(attr(role),'underline'),under,) </>
</style>
<style name="HR">
<text-before> </>
</style>
<style name="INTERFACE">
<font-family> Arial </>
</style>
<style name="ITALICS">
<font-slant> Italics </>
</style>
<style name="PARAMETER">
<font-slant> Italics </>
</style>
<style name="PART">
<title-tag> TITLE </>
</style>
<style name="PART,TITLE,#TEXT-BEFORE">
<font-weight> Bold </>
<break-after> Line </>
</style>
<style name="PREFACE">
<left-indent> +=15 </>
<title-tag> TITLE </>
</style>
<style name="PREFACE,SECT1">
<left-indent> 30 </>
<title-tag> TITLE </>
</style>
<style name="PROGRAMNAME">
<font-slant> Italics </>
</style>
<style name="REFENTRY">
<left-indent> 30 </>
<title-tag> REFNAMEDIV,REFNAME </>
</style>
<style name="REFNAME">
<font-family> Arial </>
<font-slant> Italics </>
<font-size> 10 </>
<space-before> &title.space-before </>
</style>
<style name="REFPURPOSE">
<left-indent> if(isempty(attr(NUMBER)),+=10,+=20) </>
</style>
<style name="REFSECT1">
<left-indent> if(isempty(attr(NUMBER)),+=10,+=20) </>
<title-tag> TITLE </>
</style>
<style name="REFSECT2">
<left-indent> if(isempty(attr(NUMBER)),+=10,-=15) </>
<title-tag> TITLE </>
</style>
<style name="REFSYNOPSISDIV">
<left-indent> if(isempty(attr(NUMBER)),+=10,+=20) </>
</style>
<style name="SECT1">
<left-indent> +=15 </>
<title-tag> TITLE </>
</style>
<style name="SECT2">
<left-indent> if(isempty(attr(LABEL)),+=10,+=20) </>
<title-tag> TITLE </>
</style>
<style name="SECT3">
<font-family> Arial </>
<left-indent> 60 </>
<title-tag> TITLE </>
</style>
<style name="SECT4">
<left-indent> 70 </>
<title-tag> TITLE </>
</style>
<style name="SUBSCRIPT">
<font-size> 9 </>
<vertical-offset> -4 </>
</style>
<style name="SUBTITLE">
<hide> Text </>
</style>
<style name="SUPERSCRIPT">
<font-size> 9 </>
<vertical-offset> 4 </>
</style>
<style name="SUPERSCRIPT,FONT">
<font-size> 9 </>
<vertical-offset> 4 </>
</style>
<style name="SYMBOL">
<font-family> symbol </>
<character-set> symbol </>
</style>
<style name="TITLE,#TEXT-BEFORE">
<font-weight> Bold </>
</style>
<style name="TYPE">
<font-slant> Italics </>
</style>
<style name="VARIABLE">
<font-slant> Italics </>
</style>
</sheet>