Skip to content

Commit

Permalink
Typos, grammar in planets
Browse files Browse the repository at this point in the history
  • Loading branch information
mwenge committed Sep 7, 2024
1 parent 4706694 commit 911b95e
Show file tree
Hide file tree
Showing 9 changed files with 252 additions and 14 deletions.
Binary file modified out/IridisAlphaTheory.pdf
Binary file not shown.
22 changes: 11 additions & 11 deletions src/planets.tex
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ \section{Step One: Creating the Sea}
\fill[\BACKGROUNDTWO] (6,0) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (7,0) rectangle ++ (1,1);
\node[matrix of math nodes,anchor=south west,inner sep=0pt,
nodes={draw,minimum size=1cm,anchor=center},
nodes={draw,minimum size=1cm,font=\Huge,anchor=center},
column sep=-\pgflinewidth,row sep=-\pgflinewidth]
{0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\
0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\
Expand Down Expand Up @@ -200,10 +200,10 @@ \section{Step One: Creating the Sea}
the value \$60\, which is an empty bitmap.]
; Clear down the planet%\index{planet}% surface%\index{surface}% data from $8000 to $8FFF.
; There are 4 layers:
; Top Layer: $8000 to $83FF - 256 bytes
; Second Layer: $8400 to $87FF - 256 bytes
; Third Layer: $8800 to $8BFF - 256 bytes
; Bottom Layer: $8C00 to $8FFF - 256 bytes
; Top Layer: $8000 to $83FF - 1024 bytes
; Second Layer: $8400 to $87FF - 1024 bytes
; Third Layer: $8800 to $8BFF - 1024 bytes
; Bottom Layer: $8C00 to $8FFF - 1024 bytes
LDY #$00
ClearPlanetHiPtrs%\index{ClearPlanetHiPtrs}%
; $60 is an empty character%\index{character}% and gets written to the entire
Expand Down Expand Up @@ -400,16 +400,16 @@ \section{Step Two: Creating the Land}
\setlength\cmidrulewidth{\heavyrulewidth} % Make cmidrule =
\begin{adjustbox}{width=15cm,center}
\begin{subfigure}{0.3\textwidth}
\input{planets/tilesheets/planet1Charset_tilesheet_\$5C}
\input{planets/tilesheets/5C_large}
\end{subfigure}
\begin{subfigure}{0.3\textwidth}
\input{planets/tilesheets/planet1Charset_tilesheet_\$5E}
\input{planets/tilesheets/5E_large}
\end{subfigure}
\begin{subfigure}{0.3\textwidth}
\input{planets/tilesheets/planet1Charset_tilesheet_\$5D}
\input{planets/tilesheets/5D_large}
\end{subfigure}
\begin{subfigure}{0.3\textwidth}
\input{planets/tilesheets/planet1Charset_tilesheet_\$5F}
\input{planets/tilesheets/5F_large}
\end{subfigure}
\end{adjustbox}
}\caption[]{Character tiles for the left shore (\$5C,\$5E) and the right shore (\$5D,\$5F).}
Expand Down Expand Up @@ -517,8 +517,8 @@ \section{Step Three: Structures Structures Structures}
.BYTE $54,$56,$FE
\end{lstlisting}

The \$FF at the end of each line serves as a sentinel\index{sentinel} for the drawing\index{drawing} routine\index{routine} to know that the subsequent bytes
are for the next layer 'up'. The \$FE is a terminator, indicating there is no more data for the structure\index{structure}.
The \icode{\$FF} at the end of each line serves as a sentinel\index{sentinel} for the drawing\index{drawing} routine\index{routine} to know that the subsequent bytes
are for the next layer 'up'. The \icode{\$FE} is a terminator, indicating there is no more data for the structure\index{structure}.

Drawing a structure\index{structure} is relatively straightforward so we'll cover that briefly first. Drawing the littlest
structure\index{structure} provides the most compact example of the technique:
Expand Down
2 changes: 1 addition & 1 deletion src/planets/planet1Charset_$40_bits.tex
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
\fill[\BACKGROUNDTWO] (6,0) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (7,0) rectangle ++ (1,1);
\node[matrix of math nodes,anchor=south west,inner sep=0pt,
nodes={draw,minimum size=1cm,anchor=center},
nodes={draw,minimum size=1cm,font=\Huge,anchor=center},
column sep=-\pgflinewidth,row sep=-\pgflinewidth,font=\huge\ttfamily]
{
0 & 0 & 0 & 0 & 0 & 0 & 0 & 0\\
Expand Down
2 changes: 1 addition & 1 deletion src/planets/planet1Charset_$41_bits.tex
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
\fill[\BACKGROUNDONE] (6,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,0) rectangle ++ (1,1);
\node[matrix of math nodes,anchor=south west,inner sep=0pt,
nodes={draw,minimum size=1cm,anchor=center},
nodes={draw,minimum size=1cm,font=\Huge,anchor=center},
column sep=-\pgflinewidth,row sep=-\pgflinewidth]
{1 & 1 & 0 & 0 & 1 & 1 & 0 & 0\\
1 & 1 & 0 & 0 & 1 & 1 & 1 & 1\\
Expand Down
2 changes: 1 addition & 1 deletion src/planets/planet1Charset_$43_bits.tex
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
\fill[\BACKGROUNDONE] (6,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,0) rectangle ++ (1,1);
\node[matrix of math nodes,anchor=south west,inner sep=0pt,
nodes={draw,minimum size=1cm,anchor=center},
nodes={draw,minimum size=1cm,font=\Huge,anchor=center},
column sep=-\pgflinewidth,row sep=-\pgflinewidth]
{1 & 1 & 0 & 0 & 0 & 0 & 1 & 1\\
1 & 1 & 1 & 1 & 0 & 0 & 1 & 1\\
Expand Down
56 changes: 56 additions & 0 deletions src/planets/tilesheets/5C_large.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@

\begin{figure}[H]
{
\setlength{\tabcolsep}{3.0pt}
\setlength\cmidrulewidth{\lightrulewidth} % Make cmidrule =
\begin{adjustbox}{width=3cm,center}
\begin{tikzpicture}

\def\BACKGROUNDONE{brown}
\def\BACKGROUNDTWO{lightblue}
\def\CHARCOLOR{lightgreen}
\draw[step=1.0,gray,thin] (0,0) grid (8,8);
\fill[\BACKGROUNDTWO] (0,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (1,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (4,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (5,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (6,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (7,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (0,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (1,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (2,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (3,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (4,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (5,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (6,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (7,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (0,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (1,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (2,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (3,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (4,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (5,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (6,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (0,1) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (1,1) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (2,1) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (3,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (4,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (5,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (6,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,1) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (0,0) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (1,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (2,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (3,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (4,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (5,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (6,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,0) rectangle ++ (1,1);

\end{tikzpicture}
\end{adjustbox}
}\caption*{\$5C}
\end{figure}

62 changes: 62 additions & 0 deletions src/planets/tilesheets/5D_large.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

\begin{figure}[H]
{
\setlength{\tabcolsep}{3.0pt}
\setlength\cmidrulewidth{\lightrulewidth} % Make cmidrule =
\begin{adjustbox}{width=3cm,center}
\begin{tikzpicture}

\def\BACKGROUNDONE{brown}
\def\BACKGROUNDTWO{lightblue}
\def\CHARCOLOR{lightgreen}
\draw[step=1.0,gray,thin] (0,0) grid (8,8);
\fill[\CHARCOLOR] (0,5) rectangle ++ (1,1);
\fill[\CHARCOLOR] (1,5) rectangle ++ (1,1);
\fill[\CHARCOLOR] (2,5) rectangle ++ (1,1);
\fill[\CHARCOLOR] (3,5) rectangle ++ (1,1);
\fill[\CHARCOLOR] (0,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (1,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (2,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (3,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (4,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (5,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (6,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (7,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (0,3) rectangle ++ (1,1);
\fill[\CHARCOLOR] (1,3) rectangle ++ (1,1);
\fill[\CHARCOLOR] (2,3) rectangle ++ (1,1);
\fill[\CHARCOLOR] (3,3) rectangle ++ (1,1);
\fill[\CHARCOLOR] (4,3) rectangle ++ (1,1);
\fill[\CHARCOLOR] (5,3) rectangle ++ (1,1);
\fill[\CHARCOLOR] (6,3) rectangle ++ (1,1);
\fill[\CHARCOLOR] (7,3) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (0,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (1,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (2,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (3,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (4,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (5,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (6,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (0,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (1,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (2,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (3,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (4,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (5,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (6,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (0,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (1,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (2,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (3,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (4,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (5,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (6,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,0) rectangle ++ (1,1);

\end{tikzpicture}
\end{adjustbox}
}\caption*{\$5D}
\end{figure}

64 changes: 64 additions & 0 deletions src/planets/tilesheets/5E_large.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

\begin{figure}[H]
{
\setlength{\tabcolsep}{3.0pt}
\setlength\cmidrulewidth{\lightrulewidth} % Make cmidrule =
\begin{adjustbox}{width=3cm,center}
\begin{tikzpicture}

\def\BACKGROUNDONE{brown}
\def\BACKGROUNDTWO{lightblue}
\def\CHARCOLOR{lightgreen}
\draw[step=1.0,gray,thin] (0,0) grid (8,8);
\fill[\CHARCOLOR] (6,6) rectangle ++ (1,1);
\fill[\CHARCOLOR] (7,6) rectangle ++ (1,1);
\fill[\CHARCOLOR] (4,5) rectangle ++ (1,1);
\fill[\CHARCOLOR] (5,5) rectangle ++ (1,1);
\fill[\CHARCOLOR] (6,5) rectangle ++ (1,1);
\fill[\CHARCOLOR] (7,5) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (0,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (1,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (2,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (3,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (4,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (5,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (6,4) rectangle ++ (1,1);
\fill[\CHARCOLOR] (7,4) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (0,3) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (1,3) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (2,3) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (3,3) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (4,3) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (5,3) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (6,3) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,3) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (0,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (1,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (2,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (3,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (4,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (5,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (6,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (0,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (1,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (2,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (3,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (4,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (5,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (6,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (0,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (1,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (2,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (3,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (4,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (5,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (6,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (7,0) rectangle ++ (1,1);

\end{tikzpicture}
\end{adjustbox}
}\caption*{\$5E}
\end{figure}

56 changes: 56 additions & 0 deletions src/planets/tilesheets/5F_large.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@

\begin{figure}[H]
{
\setlength{\tabcolsep}{3.0pt}
\setlength\cmidrulewidth{\lightrulewidth} % Make cmidrule =
\begin{adjustbox}{width=3cm,center}
\begin{tikzpicture}

\def\BACKGROUNDONE{brown}
\def\BACKGROUNDTWO{lightblue}
\def\CHARCOLOR{lightgreen}
\draw[step=1.0,gray,thin] (0,0) grid (8,8);
\fill[\BACKGROUNDTWO] (0,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (1,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (2,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (3,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (6,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (7,4) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (0,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (1,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (2,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (3,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (4,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (5,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (6,3) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (7,3) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (0,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (1,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (2,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (3,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (4,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (5,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (6,2) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (7,2) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (0,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (1,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (2,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (3,1) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (4,1) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (5,1) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (6,1) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (7,1) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (0,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (1,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (2,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (3,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (4,0) rectangle ++ (1,1);
\fill[\BACKGROUNDONE] (5,0) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (6,0) rectangle ++ (1,1);
\fill[\BACKGROUNDTWO] (7,0) rectangle ++ (1,1);

\end{tikzpicture}
\end{adjustbox}
}\caption*{\$5F}
\end{figure}

0 comments on commit 911b95e

Please sign in to comment.