From: Glenn Hutchings Date: Mon, 2 May 2016 11:54:18 +0000 (+0100) Subject: Fix up the remaining hardcoded page refs. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=b339390ab1a13e134841cb9b57c7259261c8561f;p=ibg.git Fix up the remaining hardcoded page refs. --- diff --git a/appendices/b.rst b/appendices/b.rst index 5760c1e..479ccd0 100644 --- a/appendices/b.rst +++ b/appendices/b.rst @@ -8,9 +8,9 @@ :align: left |H|\eidi in the Forest is our first -- and simplest -- game. We describe it -in three chapters: "Heidi: our first Inform game" on page 33, "Reviewing -the basics" on page 49 and "Heidi revisited" on page 59. Here is a -run-time transcript, and then the original and extended source files. +in three chapters: :doc:`/chapters/03`, :doc:`/chapters/04` and +:doc:`/chapters/05`. Here is a run-time transcript, and then the original +and extended source files. Transcript of play ================== diff --git a/appendices/c.rst b/appendices/c.rst index 4dfb8b3..947fa49 100644 --- a/appendices/c.rst +++ b/appendices/c.rst @@ -9,10 +9,9 @@ .. image:: /images/picW.png :align: left -|W|\illiam Tell, our second game, is also very straightforward. See -"William Tell: a tale is born" on page 69, "William Tell: the early years" -on page 79, "William Tell: in his prime" on page 91 and "William Tell: the -end is nigh" on page 103. +|W|\illiam Tell, our second game, is also very straightforward. See +:doc:`/chapters/06`, :doc:`/chapters/07`, :doc:`/chapters/08` and +:doc:`/chapters/09`. Transcript of play ================== diff --git a/appendices/d.rst b/appendices/d.rst index f1384a9..9447d89 100644 --- a/appendices/d.rst +++ b/appendices/d.rst @@ -8,9 +8,8 @@ :align: left |C|\aptain Fate is our third and final game; it's a little longer and more -complex than its predecessors. See "Captain Fate: take 1" on page 119, -"Captain Fate: take 2" on page 131, "Captain Fate: take 3" on page 147 and -"Captain Fate: the final cut" on page 157. +complex than its predecessors. See :doc:`/chapters/10`, +:doc:`/chapters/11`, :doc:`/chapters/12` and :doc:`/chapters/13`. Transcript of play ================== diff --git a/chapters/02.rst b/chapters/02.rst index 0c02a87..950db12 100644 --- a/chapters/02.rst +++ b/chapters/02.rst @@ -95,17 +95,17 @@ no fancy formatting features, no bold or italics or font control, no embedded graphics; it simply enables you to type lines of text, which is exactly what's needed to create an IF game. -If you look at the game source on the previous page, or in -:doc:`/appendices/c`, you'll notice ``Include "Parser";`` and ``Include -"VerbLib";`` a few lines down from the top of the file. These are -instructions to the Inform compiler to "include" -- that is, to merge in -the contents -- of files called ``Parser.h`` and ``VerbLib.h``. These are -not files which you have to create; they're standard :term:`library files`, -part of the Inform system. All that you have to do is remember to Include -them in every game that you write. Until you've a fair understanding of -how Inform works, you've no need to worry about what they contain (though -you can look if you want to: they're readable text files, just like the -ones this guide will teach you to write). +If you look at the game source above, or in :doc:`/appendices/c`, you'll +notice ``Include "Parser";`` and ``Include "VerbLib";`` a few lines down +from the top of the file. These are instructions to the Inform compiler to +"include" -- that is, to merge in the contents -- of files called +``Parser.h`` and ``VerbLib.h``. These are not files which you have to +create; they're standard :term:`library files`, part of the Inform system. +All that you have to do is remember to Include them in every game that you +write. Until you've a fair understanding of how Inform works, you've no +need to worry about what they contain (though you can look if you want to: +they're readable text files, just like the ones this guide will teach you +to write). So, we've now introduced all of the bits and pieces which you need in order to write an Inform adventure game: